<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="th-20260511.xsd" xlink:type="simple"/>
    <context id="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712189</identifier>
        </entity>
        <period>
            <startDate>2026-05-11</startDate>
            <endDate>2026-05-11</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_tywLX20pg0u8JcE92XkdeQ_2_1">0001712189</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_VDfP5AmOdEKRI-Tx6hKYtw_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_WCgQwkXwfU28w-rPxIacqg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_Uyx9rVur5E6xO-IPl4o4fg">2026-05-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_AbRAkhIfT0ah0NXWZbvllw">TARGET HOSPITALITY CORP.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_wSLYIkxycECqAflJAUIiSw_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_BT1kuVXTZkyCuUd27c2vNw_1_1">001-38343</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_VXevGVokWU6_GHwamZesVQ_1_2">98-1378631</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_8a2vlGBk-0eez3jmQsWkoQ">9320 Lakeside Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_MCQMLgOvqUGaGdJo3uUzXg">Suite 300</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_4ddCF34DhkuaNoy79OSLMg">The Woodlands</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_KIicLwRnP0iX6AW-3MSitg">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_MvHyDQMeMU24KGFFA1sgUA">77381</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_Jnby37_MNE2e9-5o-ToGLA">800</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_LClbRqtLGESQ8pMfX3R63Q">832-4242</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_chhY7BmOY0uy8lwdhJWQvg">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_dmRiBOD8_kGGCODwi5-WcA">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_zhwqRWkWlEuVmTLouP7gvA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_QPyYa6n3-km1rmGG3s2Xew">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_wCICuMPbQUm4A_n81rjToA">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_tGKu5R6HNUS_seMIZsJ_fg_2_0">Common stock, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Tc_9PRkCyNgGU69y9bOOvkxRQ_2_1">TH</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_11_2026_To_5_11_2026_4DxY2P8V7kGmEu8H2d2PFw"
      id="Narr_lBWVsRwtC02wOnxeqhFx8g">NASDAQ</dei:SecurityExchangeName>
</xbrl>
