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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2017-04-05</periodOfReport>

    <issuer>
        <issuerCik>0001624794</issuerCik>
        <issuerName>CSW INDUSTRIALS, INC.</issuerName>
        <issuerTradingSymbol>CSWI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001663184</rptOwnerCik>
            <rptOwnerName>Foster Craig James</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5420 LYNDON B JOHNSON FWY</rptOwnerStreet1>
            <rptOwnerStreet2>STE. 500</rptOwnerStreet2>
            <rptOwnerCity>DALLAS</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>75240-1007</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>SVP &amp;amp; GM, Spec. Chem.</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Performance Rights</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2017-04-05</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1970</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F2"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1970</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4251</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Each performance right represents a contingent right to receive one share of the issuer's common stock at vesting. The performance rights vest at a rate between 0% and 200% during a three-year performance cycle beginning on April 1, 2017 and ending on March 31, 2020 based on the issuer's relative total shareholder return in comparison to the total shareholder return performance among the Russell 2000 Index over the performance cycle. The performance rights may be settled, at the issuer's discretion, in cash or shares of common stock.</footnote>
        <footnote id="F2">Each performance right represents a contingent right to receive one share of the issuer's common stock at vesting. The performance rights vest at a rate between 0% and 200% during a three-year performance cycle beginning on April 1, 2017 and ending on March 31, 2020 based on the issuer's relative total shareholder return in comparison to the total shareholder return performance among the Russell 2000 Index over the performance cycle. The performance rights may be settled, at the issuer's discretion, in cash or shares of common stock.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/Luke E. Alverson, Attorney in Fact</signatureName>
        <signatureDate>2017-04-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
