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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2017-05-02</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000783325</issuerCik>
        <issuerName>WEC ENERGY GROUP, INC.</issuerName>
        <issuerTradingSymbol>WEC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001250991</rptOwnerCik>
            <rptOwnerName>LEVERETT ALLEN L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>231 WEST MICHIGAN STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>MILWAUKEE</rptOwnerCity>
            <rptOwnerState>WI</rptOwnerState>
            <rptOwnerZipCode>53203</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>President and CEO</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2017-05-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>527</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>60.78</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>47392</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>30616</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>by Trusts</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3004.206</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>ERSP</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Upon the vesting of restricted stock granted to the reporting person on May 2, 2016, the net shares received after taxes (535 shares) were transferred to the reporting person's trust account.</footnote>
        <footnote id="F2">Includes shares acquired under WEC Energy Group, Inc.'s Employee Retirement Savings Plan (ERSP) in transactions exempt from Section 16(b) pursuant to Rule 16b-3(c) and exempt from reporting pursuant to Rule 16a-3(f)(1)(i)(B).  The number of shares in the ERSP attributable to any one participant varies with the price of the Common Stock.  The information in this report is based on a plan statement dated as of April 30, 2017.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Joshua M. Erickson, as Attorney-inFact</signatureName>
        <signatureDate>2017-05-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_149393008524234.xml", "description": "FORM 4", "secsgml_size_bytes": 5240}]
X0306
4
2017-05-02
0
0000783325
WEC ENERGY GROUP, INC.
WEC
0001250991
LEVERETT ALLEN L
231 WEST MICHIGAN STREET
MILWAUKEE
WI
53203
1
1
0
0
President and CEO
Common Stock
2017-05-02
4
F
0
527
60.78
D
47392
D
Common Stock
30616
I
by Trusts
Common Stock
3004.206
I
ERSP
Upon the vesting of restricted stock granted to the reporting person on May 2, 2016, the net shares received after taxes (535 shares) were transferred to the reporting person's trust account.
Includes shares acquired under WEC Energy Group, Inc.'s Employee Retirement Savings Plan (ERSP) in transactions exempt from Section 16(b) pursuant to Rule 16b-3(c) and exempt from reporting pursuant to Rule 16a-3(f)(1)(i)(B).  The number of shares in the ERSP attributable to any one participant varies with the price of the Common Stock.  The information in this report is based on a plan statement dated as of April 30, 2017.
Joshua M. Erickson, as Attorney-inFact
2017-05-04