<?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:xhtml="http://www.w3.org/1999/xhtml"
  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">0000354950</identifier>
        </entity>
        <period>
            <startDate>2026-09-03</startDate>
            <endDate>2026-09-03</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000354950</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-03</startDate>
            <endDate>2026-09-03</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000354950</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-03</startDate>
            <endDate>2026-09-03</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c-1" id="f-28">S-3ASR</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-29">0000354950</dei:EntityCentralIndexKey>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-30" unitRef="shares">753376</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="INF" id="f-31" unitRef="usd">317.83</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="0" id="f-32" unitRef="usd">239445495</ffd:MaxAggtOfferingPric>
    <ffd:AmtSctiesRegd contextRef="c-3" decimals="0" id="f-33" unitRef="usd">746624</ffd:AmtSctiesRegd>
    <ffd:CombinedProspectusTableNa contextRef="c-1" id="f-34">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa contextRef="c-1" id="f-35">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-1">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp contextRef="c-1" id="f-2">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">The Home Depot, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-4">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-5">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-6">Common Stock</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-7">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-8" unitRef="shares">753376</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="INF" id="f-9" unitRef="usd">317.83</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="0" id="f-10" unitRef="usd">239445495</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="7" id="f-11" unitRef="number">0.00013810</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="INF" id="f-12" unitRef="usd">33067.43</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="c-3" id="f-13">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-3" id="f-14">Common Stock</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="c-3" id="f-15">true</ffd:Rule415a6Flg>
    <ffd:AmtSctiesRegd contextRef="c-3" decimals="0" id="f-16" unitRef="usd">746624</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric contextRef="c-3" decimals="0" id="f-17" unitRef="usd">356941854</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="c-3" id="f-18">S-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="c-3" id="f-19">333-274395</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="c-3" id="f-20">2023-09-07</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee contextRef="c-3" decimals="0" id="f-21" unitRef="usd">23995</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="0" id="f-22" unitRef="usd">596387349</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="INF" id="f-23" unitRef="usd">33067.43</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c-1" decimals="INF" id="f-24" unitRef="usd">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="INF" id="f-25" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="INF" id="f-26" unitRef="usd">33067.43</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-27">Estimated solely for purposes of calculating the registration fee pursuant to Rule 457(c) under the Securities Act, based on average of high and low price per share of the common stock as reported on the New York Stock Exchange on September 3, 2026.</ffd:OfferingNote>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#f-33" xlink:label="f-33" xlink:type="locator"/>
        <link:loc xlink:href="#f-8" xlink:label="f-8" xlink:type="locator"/>
        <link:loc xlink:href="#f-16" xlink:label="f-16" xlink:type="locator"/>
        <link:loc xlink:href="#f-30" xlink:label="f-30" xlink:type="locator"/>
        <link:footnote id="fn-1" xlink:label="fn-1" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Pursuant to Rule 416 of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), the amount of common stock registered hereunder shall be deemed to include any additional shares issuable as a result of any stock split, dividend, or other change in the capitalization of the Registrant.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-33"
          xlink:to="fn-1"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-8"
          xlink:to="fn-1"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-16"
          xlink:to="fn-1"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-30"
          xlink:to="fn-1"
          xlink:type="arc"/>
        <link:loc xlink:href="#f-9" xlink:label="f-9" xlink:type="locator"/>
        <link:loc xlink:href="#f-32" xlink:label="f-32" xlink:type="locator"/>
        <link:loc xlink:href="#f-31" xlink:label="f-31" xlink:type="locator"/>
        <link:loc xlink:href="#f-10" xlink:label="f-10" xlink:type="locator"/>
        <link:footnote id="fn-2" xlink:label="fn-2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Estimated solely for purposes of calculating the registration fee pursuant to Rule 457(c) under the Securities Act, based on average of high and low price per share of the common stock as reported on the New York Stock Exchange on September 3, 2026.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-9"
          xlink:to="fn-2"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-32"
          xlink:to="fn-2"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-31"
          xlink:to="fn-2"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-10"
          xlink:to="fn-2"
          xlink:type="arc"/>
        <link:footnote id="fn-3" xlink:label="fn-3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#231f20;font-family:'Arial',sans-serif;font-size:10pt;font-weight:400;line-height:120%">The Registrant filed a Registration Statement on Form S-3ASR (File No. 333-274395) on September 7, 2023 (the &#x201c;2023 Registration Statement&#x201d;) which registered an aggregate of 1,500,000 shares of common stock. As of the date of filing this registration statement, there were 746,624 unsold securities registered under the 2023 Registration Statement pursuant to Rule 415(a)(6). A registration fee of $23,995 was previously paid in connection with these unsold shares of common stock. In accordance with Rule 415(a)(6), all 753,376 of those securities (and associated filing fees) are being carried forward and registered under this registration statement. The filing fee of $33,067.43 being paid herewith relates to the 753,376 newly registered shares of common stock. The aggregate number of shares of common stock to be sold pursuant to this Registration Statement shall not exceed 1,500,000 in the aggregate.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-33"
          xlink:to="fn-3"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f-16"
          xlink:to="fn-3"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
