<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>315</ContextCount>
  <ElementCount>324</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>78</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Unaudited Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementUnauditedConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Unaudited Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Unaudited Consolidated Statements of Changes in Stockholder's Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementUnauditedConsolidatedStatementsOfChangesInStockholderSEquity</Role>
      <ShortName>Unaudited Consolidated Statements of Changes in Stockholder's Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - Unaudited Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementUnauditedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Unaudited Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Specialty Rental Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNet</Role>
      <ShortName>Specialty Rental Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Other Property, Plant and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNet</Role>
      <ShortName>Other Property, Plant and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Goodwill and Other Intangible Assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNet</Role>
      <ShortName>Goodwill and Other Intangible Assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Other Non-Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssets</Role>
      <ShortName>Other Non-Current Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Warrant Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureWarrantLiabilities</Role>
      <ShortName>Warrant Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRelatedParties</Role>
      <ShortName>Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Earnings (Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShare</Role>
      <ShortName>Earnings (Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Stockholders Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRetirementPlans</Role>
      <ShortName>Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Business Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegments</Role>
      <ShortName>Business Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRevenue</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Specialty Rental Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNetTables</Role>
      <ShortName>Specialty Rental Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNet</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Other Property, Plant and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Other Property, Plant and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNet</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Goodwill and Other Intangible Assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetTables</Role>
      <ShortName>Goodwill and Other Intangible Assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNet</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Other Non-Current Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsTables</Role>
      <ShortName>Other Non-Current Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssets</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilities</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureDebt</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Warrant Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureWarrantLiabilitiesTables</Role>
      <ShortName>Warrant Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureWarrantLiabilities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Earnings (Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShareTables</Role>
      <ShortName>Earnings (Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShare</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31803 - Disclosure - Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsTables</Role>
      <ShortName>Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureBusinessSegments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueDetails</Role>
      <ShortName>Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRevenueTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Revenue - Disaggregation Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueDisaggregationRevenueDetails</Role>
      <ShortName>Revenue - Disaggregation Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Revenue - Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueContractLiabilitiesDetails</Role>
      <ShortName>Revenue - Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40204 - Disclosure - Revenue - Revenue Expected to be Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueRevenueExpectedToBeRecognizedDetails</Role>
      <ShortName>Revenue - Revenue Expected to be Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Specialty Rental Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNetDetails</Role>
      <ShortName>Specialty Rental Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNetTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Other Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNetDetails</Role>
      <ShortName>Other Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNetTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Goodwill and Other Intangible Assets, net - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetGoodwillDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets, net - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Goodwill and Other Intangible Assets, net - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets, net - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40503 - Disclosure - Goodwill and Other Intangible Assets, net - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets, net - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Other Non-Current Assets (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsNarrativeDetails</Role>
      <ShortName>Other Non-Current Assets (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Other Non-Current Assets (Other non-current assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsOtherNonCurrentAssetsDetails</Role>
      <ShortName>Other Non-Current Assets (Other non-current assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilitiesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtDetails</Role>
      <ShortName>Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureDebtTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Debt - Capital Lease and Other Financing Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtCapitalLeaseAndOtherFinancingObligationsDetails</Role>
      <ShortName>Debt - Capital Lease and Other Financing Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40803 - Disclosure - Debt - ABL Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtAblFacilityDetails</Role>
      <ShortName>Debt - ABL Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40804 - Disclosure - Debt - Carrying Value of Debt Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtCarryingValueOfDebtOutstandingDetails</Role>
      <ShortName>Debt - Carrying Value of Debt Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40805 - Disclosure - Debt - Components of interest expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtComponentsOfInterestExpenseDetails</Role>
      <ShortName>Debt - Components of interest expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40806 - Disclosure - Debt - Interest Expense and Deferred Financing Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtInterestExpenseAndDeferredFinancingCostsDetails</Role>
      <ShortName>Debt - Interest Expense and Deferred Financing Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40807 - Disclosure - Debt - Future Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtFutureMaturitiesDetails</Role>
      <ShortName>Debt - Future Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Warrant Liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureWarrantLiabilitiesNarrativeDetails</Role>
      <ShortName>Warrant Liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Warrant Liabilities - Estimated fair value Private Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureWarrantLiabilitiesEstimatedFairValuePrivateWarrantsDetails</Role>
      <ShortName>Warrant Liabilities - Estimated fair value Private Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRelatedPartiesDetails</Role>
      <ShortName>Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRelatedParties</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Earnings (Loss) per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShareDetails</Role>
      <ShortName>Earnings (Loss) per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShareTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>41602 - Disclosure - Stock-Based Compensation - Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationAssumptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>41603 - Disclosure - Stock-Based Compensation - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Retirement Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRetirementPlansDetails</Role>
      <ShortName>Retirement Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRetirementPlans</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>41801 - Disclosure - Business Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsDetails</Role>
      <ShortName>Business Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>41802 - Disclosure - Business Segments - Reconciliation of total segment adjusted gross profit to total combined income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsReconciliationOfTotalSegmentAdjustedGrossProfitToTotalCombinedIncomeDetails</Role>
      <ShortName>Business Segments - Reconciliation of total segment adjusted gross profit to total combined income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>41803 - Disclosure - Business Segments - Reconciliation of total segment assets to total combined assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsReconciliationOfTotalSegmentAssetsToTotalCombinedAssetsDetails</Role>
      <ShortName>Business Segments - Reconciliation of total segment assets to total combined assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="th-20220630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>41804 - Disclosure - Business Segments - Unallocated assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsUnallocatedAssetsDetails</Role>
      <ShortName>Business Segments - Unallocated assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="th-20220630x10q.htm">th-20220630x10q.htm</File>
    <File>th-20220630.xsd</File>
    <File>th-20220630_cal.xml</File>
    <File>th-20220630_def.xml</File>
    <File>th-20220630_lab.xml</File>
    <File>th-20220630_pre.xml</File>
    <File>th-20220630xex31d1.htm</File>
    <File>th-20220630xex31d2.htm</File>
    <File>th-20220630xex32d1.htm</File>
    <File>th-20220630xex32d2.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="845">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="33">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
