<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  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="xtnt-20240903.xsd" xlink:type="simple"/>
    <context id="AsOf2024-09-03">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001453593</identifier>
        </entity>
        <period>
            <startDate>2024-09-03</startDate>
            <endDate>2024-09-03</endDate>
        </period>
    </context>
    <context id="From2024-09-032024-09-03_dei_BusinessContactMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001453593</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:BusinessContactMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-03</startDate>
            <endDate>2024-09-03</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <unit id="USDPShares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:AmendmentFlag contextRef="AsOf2024-09-03" id="Fact000003">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2024-09-03" id="Fact000004">0001453593</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2024-09-03" id="xdx2ixbrl0009">POS AM</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2024-09-03" id="Fact000010">Xtant Medical holdings, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2024-09-03" id="Fact000011">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2024-09-03" id="Fact000012">20-5313323</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2024-09-03" id="Fact000013">664 Cruiser Lane</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="AsOf2024-09-03" id="Fact000014">Belgrade</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2024-09-03" id="Fact000015">MT</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2024-09-03" id="Fact000016">59714</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2024-09-03" id="Fact000017">(406)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2024-09-03" id="Fact000018">388-0480</dei:LocalPhoneNumber>
    <dei:ContactPersonnelName
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000019">Sean E. Browne</dei:ContactPersonnelName>
    <dei:EntityAddressAddressLine1
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000020">664 Cruiser Lane</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000021">Belgrade</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000022">MT</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000023">59714</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000024">(406)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="From2024-09-032024-09-03_dei_BusinessContactMember"
      id="Fact000025">388-0480</dei:LocalPhoneNumber>
    <dei:EntityFilerCategory contextRef="AsOf2024-09-03" id="Fact000026">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="AsOf2024-09-03" id="Fact000027">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2024-09-03" id="Fact000028">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="AsOf2024-09-03" id="Fact000029">Xtant Medical Holdings, Inc. (the &#x201c;Company&#x201d;)
is filing this Post-Effective Amendment No. 1 (this &#x201c;Amendment&#x201d;) to its Registration Statement on Form S-3 (File No. 333-278413)
(the &#x201c;Registration Statement&#x201d;) to update the prospectus contained therein, including incorporating by reference updated financial
statements and pro forma information of Surgalign Holdings, Inc., as required pursuant to Rule 3-05 and Article 11 of Regulation S-X,
which were included in a current report on Form 8-K filed by the Company on September 3, 2024. No additional securities are being registered
under this Amendment, and all applicable registration fees were paid at the time of the original filing of the Registration Statement.</dei:AmendmentDescription>
</xbrl>
