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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2021-03-08</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0000912562</issuerCik>
        <issuerName>GIBRALTAR INDUSTRIES, INC.</issuerName>
        <issuerTradingSymbol>ROCK</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001850503</rptOwnerCik>
            <rptOwnerName>Jensen Elizabeth</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>3556 LAKE SHORE ROAD</rptOwnerStreet1>
            <rptOwnerStreet2>P.O. BOX 2028</rptOwnerStreet2>
            <rptOwnerCity>BUFFALO</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>14219-0228</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>Chief Human Resources Officer</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Performance Stock Unit (March 2021)</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3055</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Restricted Stock Unit (LTIP 3/8/2021)</value>
                <footnoteId id="F2"/>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1091</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents performance units which will be awarded to Reporting Person under the Company's Equity Incentive Plan upon achievement of the targeted return on invested capital for 2021.  The maximum number of Performance Units which may be earned is two hundred percent (200%) of the Performance Units awarded for target level performance and the minimum number of Performance Units which may be earned is zero (0) Performance Units.</footnote>
        <footnote id="F2">Represents restricted stock units awarded as part of the Company's Long Term Incentive Plan.  Twenty-five percent (25%) of the total units awarded vest and are payable solely in shares of common stock of the Company, on March 8th, 2022 and on each March 8th thereafter through March 8th, 2025.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Jeffrey J. Watorek, Attorney-in-Fact for Elizabeth Jensen</signatureName>
        <signatureDate>2021-03-11</signatureDate>
    </ownerSignature>
</ownershipDocument>
