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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2014-06-02</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001013871</issuerCik>
        <issuerName>NRG ENERGY, INC.</issuerName>
        <issuerTradingSymbol>NRG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001272898</rptOwnerCik>
            <rptOwnerName>COBEN LAWRENCE S</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>NRG ENERGY, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>211 CARNEGIE CENTER</rptOwnerStreet2>
            <rptOwnerCity>PRINCETON</rptOwnerCity>
            <rptOwnerState>NJ</rptOwnerState>
            <rptOwnerZipCode>08540</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $.01 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2014-06-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3088</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>62814</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Represents 3,088 Deferred Stock Units issued to the reporting person by NRG Energy, Inc. under NRG Energy, Inc.'s Amended and Restated Long-Term Incentive Plan.</footnote>
        <footnote id="F2">Each Deferred Stock Unit is equivalent in value to one share of NRG Energy, Inc.'s Common Stock, par value $.01 per share.  The reporting person will receive from NRG Energy, Inc. one such share of Common Stock for each Deferred Stock Unit he owns upon termination of his service on NRG Energy, Inc.'s Board of Directors.  The dividend equivalent rights accrued on the reporting person's deferred stock units which they have received.  Each dividend equivalent right is the economic equivalent of one share of NRG common stock.</footnote>
        <footnote id="F3">Includes 311 dividend equivalent rights (DERs).</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Brian Curci, under Power of Attorney</signatureName>
        <signatureDate>2014-06-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
