<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021q4"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:th="http://targethospitality.com./20220708"
  xmlns:us-gaap="http://fasb.org/us-gaap/2021-01-31"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="th-20220708.xsd" xlink:type="simple"/>
    <context id="c20220708to20220708">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712189</identifier>
        </entity>
        <period>
            <startDate>2022-07-08</startDate>
            <endDate>2022-07-08</endDate>
        </period>
    </context>
    <context id="c20220708to20220708_StatementClassOfStockAxis_WarrantsToPurchaseCommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712189</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">th:WarrantsToPurchaseCommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-07-08</startDate>
            <endDate>2022-07-08</endDate>
        </period>
    </context>
    <context id="c20220708to20220708_StatementClassOfStockAxis_CommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712189</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-07-08</startDate>
            <endDate>2022-07-08</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20220708to20220708"
      id="Fact_4054faaa0d144c53832faec09eb704ba">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20220708to20220708"
      id="Fact_ac249083b2d64682a6b562caac5d670a">0001712189</dei:EntityCentralIndexKey>
    <dei:SecurityExchangeName
      contextRef="c20220708to20220708_StatementClassOfStockAxis_CommonStockMember"
      id="Fact_b081dd3f0ef94e04a9c5834624d6753c">NASDAQ</dei:SecurityExchangeName>
    <dei:SecurityExchangeName
      contextRef="c20220708to20220708_StatementClassOfStockAxis_WarrantsToPurchaseCommonStockMember"
      id="Fact_40ca7765cee940d29c030ba3254093ab">NASDAQ</dei:SecurityExchangeName>
    <dei:DocumentType
      contextRef="c20220708to20220708"
      id="Fact_eee22781d8e74327abd3b3fb631885d3">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20220708to20220708"
      id="Fact_3ee7ee4fe8b14176b4dc69904525f5b8">2022-07-08</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20220708to20220708"
      id="Fact_c1c8b5daa2c7484dbb1c3b4083cf1da1">TARGET HOSPITALITY CORP.</dei:EntityRegistrantName>
    <dei:EntityFileNumber
      contextRef="c20220708to20220708"
      id="Fact_53bd804db5d24addaf6b25d0f49b89e3">001-38343</dei:EntityFileNumber>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20220708to20220708"
      id="Fact_820e3fd89e93422da15af83934616fa1">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20220708to20220708"
      id="Fact_db363469c4c04a26a7d7e0f486a59f71">98-1378631</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20220708to20220708"
      id="Fact_8a7e71593485403ea26ed6dbda7337c2">9320 Lakeside Blvd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="c20220708to20220708"
      id="Fact_816e6423a90f4136bab4ed191ea0d51b">Suite 300</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="c20220708to20220708"
      id="Fact_adf0d4c72c0441aa9cd89b997044a773">The Woodlands</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20220708to20220708"
      id="Fact_32a8d313e74e43b6b6346cab28e9eeee">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20220708to20220708"
      id="Fact_700800b5db54445db2620c89851573b6">77381</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20220708to20220708"
      id="Fact_1c45269101cb408da73cdb444247aac5">800</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20220708to20220708"
      id="Fact_a2e100d86d6441a6a1c751b14c07a6a6">832-4242</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20220708to20220708"
      id="Fact_783e5833388e41a6aec8087bdb13b385">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20220708to20220708"
      id="Fact_697777d043674448b749146d6c6afb90">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20220708to20220708"
      id="Fact_77cabe1c7a19496c95109edcd8356e8c">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20220708to20220708"
      id="Fact_707d6921ca864c52b5e2b303ec1efaeb">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20220708to20220708_StatementClassOfStockAxis_CommonStockMember"
      id="Fact_212786ffbb8d4177b339aae7a7353abb">Common stock, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20220708to20220708_StatementClassOfStockAxis_CommonStockMember"
      id="Fact_796eca42b3fc4df59218a59c70d14d13">TH</dei:TradingSymbol>
    <dei:Security12bTitle
      contextRef="c20220708to20220708_StatementClassOfStockAxis_WarrantsToPurchaseCommonStockMember"
      id="Fact_1b3522cd05e94f81b2cc449726248714">Warrants to purchase common stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20220708to20220708_StatementClassOfStockAxis_WarrantsToPurchaseCommonStockMember"
      id="Fact_018fa6b2bcca406d85a37cdc6b8bd52a">THWWW</dei:TradingSymbol>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20220708to20220708"
      id="Fact_dc2aa5b5983847da939ae2e2a68edd93">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod
      contextRef="c20220708to20220708"
      id="Fact_b2f77b63d96e4bcf8ca0b1c4bdf28995">false</dei:EntityExTransitionPeriod>
</xbrl>
