<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:mck="http://mckesson123.com/20221107"
  xmlns:us-gaap="http://fasb.org/us-gaap/2022"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mck-20221107.xsd" xlink:type="simple"/>
    <context id="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
        </entity>
        <period>
            <startDate>2022-11-07</startDate>
            <endDate>2022-11-07</endDate>
        </period>
    </context>
    <context id="ib4212105ce724143a3304c201cbd1a44_D20221107-20221107">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-07</startDate>
            <endDate>2022-11-07</endDate>
        </period>
    </context>
    <context id="i61ae4646efb94a4795103481cef71433_D20221107-20221107">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">mck:A1.500NotesDue2025Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-07</startDate>
            <endDate>2022-11-07</endDate>
        </period>
    </context>
    <context id="i1e74952347864d659dd512695dca5a46_D20221107-20221107">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">mck:A1.625NotesDue2026Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-07</startDate>
            <endDate>2022-11-07</endDate>
        </period>
    </context>
    <context id="i56eab14f8c694028af3b7b84fea21fb2_D20221107-20221107">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">mck:A3.125NotesDue2029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-07</startDate>
            <endDate>2022-11-07</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV80L2ZyYWc6NDA1NzRmODYzNThlNDUzZThhODE2YzJlZjlmMTVlOTcvdGFibGU6MzAwYTVmNzg0NTM5NDBiZjgyNGEyOTk4NjRmMGNhMWYvdGFibGVyYW5nZTozMDBhNWY3ODQ1Mzk0MGJmODI0YTI5OTg2NGYwY2ExZl8zLTItMS0xLTE4NzY3OA_d1ba878b-dd48-4783-a898-0ce50bcd6787">0000927653</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV80L2ZyYWc6NDA1NzRmODYzNThlNDUzZThhODE2YzJlZjlmMTVlOTcvdGFibGU6MzAwYTVmNzg0NTM5NDBiZjgyNGEyOTk4NjRmMGNhMWYvdGFibGVyYW5nZTozMDBhNWY3ODQ1Mzk0MGJmODI0YTI5OTg2NGYwY2ExZl85LTItMS0xLTE4NzY3OA_e105ec6d-aae2-4aff-9d74-bd434f11e5d7">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV80L2ZyYWc6NDA1NzRmODYzNThlNDUzZThhODE2YzJlZjlmMTVlOTcvdGFibGU6MzAwYTVmNzg0NTM5NDBiZjgyNGEyOTk4NjRmMGNhMWYvdGFibGVyYW5nZTozMDBhNWY3ODQ1Mzk0MGJmODI0YTI5OTg2NGYwY2ExZl8xMC00LTEtMS0xODc2Nzg_fe736102-673a-41b7-84aa-b7201d1c0882">2022-11-07</dei:DocumentPeriodEndDate>
    <dei:AmendmentFlag
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV80L2ZyYWc6NDA1NzRmODYzNThlNDUzZThhODE2YzJlZjlmMTVlOTcvdGFibGU6MzAwYTVmNzg0NTM5NDBiZjgyNGEyOTk4NjRmMGNhMWYvdGFibGVyYW5nZTozMDBhNWY3ODQ1Mzk0MGJmODI0YTI5OTg2NGYwY2ExZl8xMy0yLTEtMS0xODc2Nzg_77b32ac8-1400-4bd4-aaae-5e85d90d5e88">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF84NA_e105ec6d-aae2-4aff-9d74-bd434f11e5d7">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8yMjU_fe736102-673a-41b7-84aa-b7201d1c0882">2022-11-07</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzIz_19e319e8-86d4-47e4-8dbb-229f12dd6f86">McKESSON CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6OTc0ZWVkNzc3ZjU1NDJlOTg2ZDBkNmMxNGU3OGExZTkvdGFibGVyYW5nZTo5NzRlZWQ3NzdmNTU0MmU5ODZkMGQ2YzE0ZTc4YTFlOV8xLTAtMS0xLTE4NzY3OA_ffbfc9b7-a63c-43ee-90cc-d342befcf0ff">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6OTc0ZWVkNzc3ZjU1NDJlOTg2ZDBkNmMxNGU3OGExZTkvdGFibGVyYW5nZTo5NzRlZWQ3NzdmNTU0MmU5ODZkMGQ2YzE0ZTc4YTFlOV8xLTItMS0xLTE4NzY3OA_ed30edbd-c426-4bd2-8671-5b287949ac71">1-13252</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6OTc0ZWVkNzc3ZjU1NDJlOTg2ZDBkNmMxNGU3OGExZTkvdGFibGVyYW5nZTo5NzRlZWQ3NzdmNTU0MmU5ODZkMGQ2YzE0ZTc4YTFlOV8xLTQtMS0xLTE4NzY3OA_6b78685c-3210-4123-a2ef-fdff4032027d">94-3207296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzI0_258212fb-b2cb-40ac-a83c-c6e8ca91897e">6555 State Hwy 161</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzI1_c5437928-f51c-4adf-8611-358375662cc1">Irving</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzI2_bebdc32d-b896-460d-859a-f45558cf0b65">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzE5_751b5d75-e518-4308-91e5-c22a0190d6dd">75039</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzIw_1c4ab1ee-af31-4166-a6b4-0057b268292a">972</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzIx_7f5af549-ced7-45fd-870b-b85395261271">446-4800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6YjdmODUzZTRmZmRmNDY3NWE2ZGQyOWIxZTczN2M3MmQvdGFibGVyYW5nZTpiN2Y4NTNlNGZmZGY0Njc1YTZkZDI5YjFlNzM3YzcyZF8wLTAtMS0xLTE4NzY3OA_045807eb-e7a5-483e-acd3-9fd59cee5f87">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6YjdmODUzZTRmZmRmNDY3NWE2ZGQyOWIxZTczN2M3MmQvdGFibGVyYW5nZTpiN2Y4NTNlNGZmZGY0Njc1YTZkZDI5YjFlNzM3YzcyZF8xLTAtMS0xLTE4NzY3OA_82d6e5a2-4dcc-4ecd-9ac0-f316ec8c2000">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6YjdmODUzZTRmZmRmNDY3NWE2ZGQyOWIxZTczN2M3MmQvdGFibGVyYW5nZTpiN2Y4NTNlNGZmZGY0Njc1YTZkZDI5YjFlNzM3YzcyZF8yLTAtMS0xLTE4NzY3OA_51c69470-1041-4cab-a585-a6c717863fea">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6YjdmODUzZTRmZmRmNDY3NWE2ZGQyOWIxZTczN2M3MmQvdGFibGVyYW5nZTpiN2Y4NTNlNGZmZGY0Njc1YTZkZDI5YjFlNzM3YzcyZF8zLTAtMS0xLTE4NzY3OA_edad21a1-9b0c-42e5-9eb7-525f194f3827">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="ib4212105ce724143a3304c201cbd1a44_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV8xLTAtMS0xLTE4NzY3OA_106507da-d437-47db-a84c-bae13706aab0">Common stock, $0.01 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="ib4212105ce724143a3304c201cbd1a44_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV8xLTItMS0xLTE4NzY3OA_c3ffc57b-0e36-4e5c-9b74-88a4ac6193e0">MCK</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="ib4212105ce724143a3304c201cbd1a44_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV8xLTQtMS0xLTE4NzY3OA_7de4b1d6-8c1f-49ea-98c5-a57b1d20c845">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="i61ae4646efb94a4795103481cef71433_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV8zLTAtMS0xLTE4NzY3OA_6a3da137-0388-4818-99b7-aba2794fedaf">1.500% Notes due 2025</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="i61ae4646efb94a4795103481cef71433_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV8zLTItMS0xLTE4NzY3OA_9a6c1a22-a5ed-4c52-b395-47edf1f545ed">MCK25</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i61ae4646efb94a4795103481cef71433_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV8zLTQtMS0xLTE4NzY3OA_2a013b44-55e2-415e-8539-9b24b3f3f521">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="i1e74952347864d659dd512695dca5a46_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV80LTAtMS0xLTE4NzY3OA_2e6389d4-ec21-49ec-94c3-9588217098fc">1.625% Notes due 2026</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="i1e74952347864d659dd512695dca5a46_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV80LTItMS0xLTE4NzY3OA_f8b96b03-270f-4a3c-b2b2-13f44b766234">MCK26</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i1e74952347864d659dd512695dca5a46_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV80LTQtMS0xLTE4NzY3OA_dca1af0e-d4f0-4e83-bba1-c7d9f83d582d">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="i56eab14f8c694028af3b7b84fea21fb2_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV81LTAtMS0xLTE4NzY3OA_aef47868-642a-4687-8cf1-849b882b929e">3.125% Notes due 2029</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="i56eab14f8c694028af3b7b84fea21fb2_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV81LTItMS0xLTE4NzY3OA_99cf9f75-f378-46ac-be4c-09db6d46a5b8">MCK29</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i56eab14f8c694028af3b7b84fea21fb2_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGFibGU6ZGNmMGE1NTBiZGNmNDc4MjhlMDU3MjU5ZjExYTgwNDkvdGFibGVyYW5nZTpkY2YwYTU1MGJkY2Y0NzgyOGUwNTcyNTlmMTFhODA0OV81LTQtMS0xLTE4NzY3OA_9f24a892-37e7-42a4-820d-1137b5bfd198">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="if01da42fc5d94892b0112c630e2212f7_D20221107-20221107"
      id="id3VybDovL2RvY3MudjEvZG9jOmZlYThiMDdlOTI5ODQxYjZiNDE2NmMxNTY4OWQzYzQ1L3NlYzpmZWE4YjA3ZTkyOTg0MWI2YjQxNjZjMTU2ODlkM2M0NV8xL2ZyYWc6NDcxOGEwNjJkNjM0NGU1Zjk5MjQ0Nzk0NTM2ZmMxN2QvdGV4dHJlZ2lvbjo0NzE4YTA2MmQ2MzQ0ZTVmOTkyNDQ3OTQ1MzZmYzE3ZF8xMzIy_1a992c73-97dd-4a96-bc54-d3fdbf12e3de">false</dei:EntityEmergingGrowthCompany>
</xbrl>
