<?xml version="1.0" encoding="utf-8"?>
<xbrl
  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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001236275</identifier>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001236275</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001236275</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001236275</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-370">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-371">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-372">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-373">0001236275</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-374">QXO, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-378">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-379">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-422">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-423">QXO, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-424">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-425">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-426">Common Stock, par value $0.00001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-427">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-428"
      unitRef="Shares">19352</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-429"
      unitRef="USD">16.41</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-430"
      unitRef="USD">317566.32</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-431"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-432"
      unitRef="USD">43.86</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-433" unitRef="USD">317566.32</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-434" unitRef="USD">43.86</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-435" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-436" unitRef="USD">43.86</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-437" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-438">The number of shares of QXO common stock being registered is based on the number of shares of QXO, Inc. ("QXO") common stock that may be issued upon the vesting and settlement of restricted stock unit awards subject to service-based vesting requirements and restricted stock unit awards subject to performance-based vesting requirements granted under the TopBuild Corp. Amended and Restated 2015 Long Term Stock Incentive Plan and assumed by QXO in connection with its acquisition of TopBuild Corp. ("TopBuild") that are currently outstanding and held by former employees of TopBuild and its subsidiaries, as adjusted by multiplying the number of shares of TopBuild common stock underlying such restricted stock units by 20.200, the ratio under which shares of QXO common stock were issued in exchange for shares of TopBuild common stock to TopBuild stockholders that elected stock consideration pursuant to the terms of that certain Agreement and Plan of Merger, dated as of April 18, 2026, among QXO, Titanium MergerCo, Inc. and Titanium MergerCo 2, LLC, each a wholly owned subsidiary of QXO, and TopBuild.

Pursuant to Rule 416 under the Securities Act of 1933, to the extent additional shares of QXO common stock may be issued or issuable as a result of a stock split or other distribution declared at any time by QXO's Board of Directors while this registration statement is in effect, this registration statement is hereby deemed to cover all of such additional common stock.

Estimated solely for the purpose of determining the registration fee in accordance with Rule 457(h) under the Securities Act of 1933 on the basis of $16.41 per share, which is the average of the high and low prices of QXO common stock on the New York Stock Exchange on June 24, 2026.</ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-439">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-440">QXO, Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-441">S-4</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-442">333-295973</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-443">2026-05-18</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt contextRef="ofst_1" decimals="2" id="ixv-444" unitRef="USD">43.86</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-445">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="ofst_1" id="ixv-446">Common Stock, par value $0.00001 per share</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties
      contextRef="ofst_1"
      decimals="0"
      id="ixv-447"
      unitRef="Shares">255834068</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:OffsetPrrUnsoldOfferingAmt contextRef="ofst_1" decimals="2" id="ixv-448" unitRef="USD">5224840923.66</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-449">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-450">QXO, Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-451">S-4</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-452">333-295973</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-453">2026-05-18</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt contextRef="ofst_2" decimals="2" id="ixv-454" unitRef="USD">43.86</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-455">The Registrant previously registered $11,682,848,972.48 in aggregate offering amount of common stock pursuant to the Registration Statement on Form S-4 (File Number 333-295973) filed on May 18, 2026, as amended by Pre-Effective Amendment No. 1 filed on May 29, 2026 and Post-Effective Amendment No. 1 on Form S-8 to Registration Statement on Form S-4 filed on July 1, 2026 (the "Prior Registration Statement"). The offering of shares as merger consideration was completed on July 1, 2026; upon completion of the offering, there were unsold shares as merger consideration remaining for which a filing fee of $721,550.53 had been paid that may be used as an offset against future filings.
</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="ofst_2" id="ixv-456">The Registrant expects to offset the registration fee due hereunder by an amount of fees that was previously paid with respect to such unsold shares under the Prior Registration Statement pursuant to Rule 457(p) under the Securities Act. Pursuant to Rule 457(p) under the Securities Act, the Registrant hereby offsets the total registration fee due under this Registration Statement of $43.86 from the fees previously paid in connection with the Prior Registration Statement, with $721,506.67 remaining to be applied to future filings. Accordingly, no additional registration fee is being paid in connection with the filing of this Registration Statement.</ffd:OffsetNote>
</xbrl>
