<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-10-22</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001712189</issuerCik>
        <issuerName>Target Hospitality Corp.</issuerName>
        <issuerTradingSymbol>TH</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001771172</rptOwnerCik>
            <rptOwnerName>TDR Capital II Investments LP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O TDR CAPITAL LLP</rptOwnerStreet1>
            <rptOwnerStreet2>20 BENTINCK STREET</rptOwnerStreet2>
            <rptOwnerCity>LONDON</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>X0</rptOwnerCountry>
            <rptOwnerZipCode>W1U 2EU</rptOwnerZipCode>
            <rptOwnerStateDescription>UNITED KINGDOM</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001767017</rptOwnerCik>
            <rptOwnerName>Arrow Holdings S.a.r.l.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>25C BOULEVARD ROYAL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>LUXEMBOURG</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>N4</rptOwnerCountry>
            <rptOwnerZipCode>L-2449</rptOwnerZipCode>
            <rptOwnerStateDescription>LUXEMBOURG</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001766820</rptOwnerCik>
            <rptOwnerName>MFA Holding S.a.r.l.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>25C BOULEVARD ROYAL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>LUXEMBOURG</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>N4</rptOwnerCountry>
            <rptOwnerZipCode>L-2449</rptOwnerZipCode>
            <rptOwnerStateDescription>LUXEMBOURG</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001765696</rptOwnerCik>
            <rptOwnerName>MFA Limited Partnership SLP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>25C BOULEVARD ROYAL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>LUXEMBOURG</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>N4</rptOwnerCountry>
            <rptOwnerZipCode>L-2449</rptOwnerZipCode>
            <rptOwnerStateDescription>LUXEMBOURG</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001766340</rptOwnerCik>
            <rptOwnerName>MFA Global S.a.r.l.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>25C BOULEVARD ROYAL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>LUXEMBOURG</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>N4</rptOwnerCountry>
            <rptOwnerZipCode>L-2449</rptOwnerZipCode>
            <rptOwnerStateDescription>LUXEMBOURG</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001408159</rptOwnerCik>
            <rptOwnerName>TDR Capital LLP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O TDR CAPITAL LLP</rptOwnerStreet1>
            <rptOwnerStreet2>20 BENTINCK STREET</rptOwnerStreet2>
            <rptOwnerCity>LONDON</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>X0</rptOwnerCountry>
            <rptOwnerZipCode>W1U 2EU</rptOwnerZipCode>
            <rptOwnerStateDescription>UNITED KINGDOM</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001723829</rptOwnerCik>
            <rptOwnerName>Sapphire Holding S.a r.l.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>25C BOULEVARD ROYAL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>LUXEMBOURG</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>N4</rptOwnerCountry>
            <rptOwnerZipCode>L-2449</rptOwnerZipCode>
            <rptOwnerStateDescription>LUXEMBOURG</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001723793</rptOwnerCik>
            <rptOwnerName>Lindsay Gary</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O TDR CAPITAL LLP</rptOwnerStreet1>
            <rptOwnerStreet2>20 BENTINCK STREET</rptOwnerStreet2>
            <rptOwnerCity>LONDON</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>X0</rptOwnerCountry>
            <rptOwnerZipCode>W1U 2EU</rptOwnerZipCode>
            <rptOwnerStateDescription>UNITED KINGDOM</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001113203</rptOwnerCik>
            <rptOwnerName>DALE MANJIT</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O TDR CAPITAL LLP</rptOwnerStreet1>
            <rptOwnerStreet2>20 BENTINCK STREET</rptOwnerStreet2>
            <rptOwnerCity>LONDON</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>X0</rptOwnerCountry>
            <rptOwnerZipCode>W1U 2EU</rptOwnerZipCode>
            <rptOwnerStateDescription>UNITED KINGDOM</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002024710</rptOwnerCik>
            <rptOwnerName>Mitchell Thomas Andrew</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O TDR CAPITAL LLP</rptOwnerStreet1>
            <rptOwnerStreet2>20 BENTINCK STREET</rptOwnerStreet2>
            <rptOwnerCity>LONDON</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>X0</rptOwnerCountry>
            <rptOwnerZipCode>W1U 2EU</rptOwnerZipCode>
            <rptOwnerStateDescription>UNITED KINGDOM</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $0.0001 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2026-10-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1922744</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>14303619</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnotes</value>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                    <footnoteId id="F5"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">On October 22, 2026, MFA Global S.a r.l. (in liquidation) (&quot;MFA Global&quot;) and Arrow Holdings S.a r.l. (&quot;Arrow&quot;) distributed an aggregate of 1,922,744 shares of common stock of the Issuer, par value $0.0001 per share (the &quot;Common Stock&quot;) to certain limited partners of MFA Global and Arrow, respectively, for no consideration.</footnote>
        <footnote id="F2">Includes (i) 10,873,130 shares of Common Stock held by Arrow and (ii) 3,430,489 shares of Common Stock held by MFA Global.</footnote>
        <footnote id="F3">As the controlling shareholder of Arrow, TDR Capital II Investments LP may be deemed the beneficial owner of the securities of the Issuer held by Arrow. Sapphire Holding S.a r.l. is the direct shareholder of Arrow and wholly owned by TDR Capital II Investments LP.</footnote>
        <footnote id="F4">MFA Holding S.a r.l. (&quot;MFA Holding&quot;) is the controlling shareholder of MFA Limited Partnership SLP (&quot;MFA SLP&quot; and together with MFA Holdings and MFA Global, the &quot;MFA Entities&quot;), which is the controlling shareholder of MFA Global. TDR Capital II Investments LP, as the controlling shareholder of MFA Holding, may be deemed the beneficial owner of the securities of the Issuer held by MFA Global. As manager of TDR Capital II Investments LP, TDR Capital LLP may be deemed the beneficial owner of such securities of the Issuer held by Arrow and MFA Global. As a founding partner of TDR Capital LLP, Manjit Dale may be deemed the beneficial owner of such securities of the Issuer held by Arrow and MFA Holding. As managing partners of TDR Capital LLP, Gary Lindsay and Thomas Mitchell may be deemed the beneficial owners of such securities of the Issuer held by Arrow and MFA Holding.</footnote>
        <footnote id="F5">Each of TDR Capital II Investments LP, TDR Capital LLP, Manjit Dale, Gary Lindsay and Thomas Mitchell (the &quot;TDR Persons&quot;) may be deemed the beneficial owner of all or a portion of the securities reported herein. Each of the TDR Persons disclaims beneficial ownership of the securities of the Issuer, except to the extent of its or his pecuniary interest therein. The filing of this report shall not be deemed an admission that, for purposes of Section 16 of the Securities Exchange Act of 1934, as amended or otherwise, the TDR Persons are the beneficial owners of any of the securities reported herein.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>TDR Capital LLP, By: /s/ Blair Thompson, Name: Blair Thompson, Title: Partner</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Arrow Holdings S.a r.l., By: /s/ Evelina Jakstas, Name: Evelina Jakstas, Title: Class A Manager</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>MFA Holding S.a r.l., By: /s/ Evelina Jakstas, Name: Evelina Jakstas, Title: Class A Manager</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>MFA Limited Partnership SLP, By: /s/ Evelina Jakstas, Name: Evelina Jakstas, Title: Manager, MFA G.P. S.a r.l.</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>MFA Global S.a r.l. (in liquidation), By: /s/ Evelina Jakstas, Name: Evelina Jakstas, Title: Liquidator</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>TDR Capital II Investments LP, By: /s/ Blair Thompson, Name: Blair Thompson, Title: Partner, TDR Capital LLP acting in its capacity as fund manager</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Sapphire Holding S.a r.l., By: /s/ Evelina Jakstas, Name: Evelina Jakstas, Title: Class A Manager</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Gary Lindsay</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Emma Gilks, as attorney-in-fact for Manjit Dale</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Thomas Mitchell</signatureName>
        <signatureDate>2026-10-26</signatureDate>
    </ownerSignature>
</ownershipDocument>
