<?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/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000927653</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-23">0000927653</dei:EntityCentralIndexKey>
    <ffd:FormTp contextRef="c-1" id="f-24">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-1" id="f-25">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-26">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-27">N/A</ffd:OffsetTableNa>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-2">McKESSON CORPORATION</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-3">Other</ffd:OfferingSctyTp>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-4">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Deferred Compensation Obligations (1)</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c-2" id="f-6">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="0" id="f-7" unitRef="usd">100000000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="8" id="f-8" unitRef="number">0.00008700</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="0" id="f-9" unitRef="usd">8700</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="c-3" id="f-10">Other</ffd:OfferingSctyTp>
    <ffd:PrevslyPdFlg contextRef="c-3" id="f-11">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl contextRef="c-3" id="f-12">Deferred Compensation Obligations (3)</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c-3" id="f-13">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric contextRef="c-3" decimals="0" id="f-14" unitRef="usd">50000000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-3" decimals="8" id="f-15" unitRef="number">0.00008700</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-3" decimals="0" id="f-16" unitRef="usd">4350</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="0" id="f-17" unitRef="usd">150000000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="0" id="f-18" unitRef="usd">13050</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="0" id="f-19" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="0" id="f-20" unitRef="usd">13050</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-21">&lt;div style="text-align:justify"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;(1) The Deferred Compensation Obligations are unsecured obligations of McKesson Corporation (the &#x201c;Registrant&#x201d;) to pay up to $100,000,000 of deferred compensation from time to time in the future, in accordance with the terms of the McKesson Corporation Deferred Compensation Administration Plan III, as amended and restated effective July 30, 2019 (the &#x201c;DCAP III&#x201d;).&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align:justify"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;(2) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act. The amount of deferred compensation obligations registered is based on an estimate of the amount of compensation participants may defer under the DCAP III.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-3" id="f-22">&lt;div style="text-align:justify"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;(3) The Deferred Compensation Obligations are unsecured obligations of the Registrant to pay up to $50,000,000 of deferred compensation from time to time in the future, in accordance with the terms of the McKesson Corporation Supplemental Retirement Savings Plan, as amended and restated effective July 30, 2019 (the &#x201c;SRSP&#x201d;).&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align:justify"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;(4) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act. The amount of deferred compensation obligations registered is based on an estimate of the amount of compensation participants may defer under the SRSP.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
</xbrl>
