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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2017-05-31</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001188179</rptOwnerCik>
            <rptOwnerName>PAYNE ULICE JR</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>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2017-05-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>900</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>62.686</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>29130.2392</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">This price is a weighted average price. These shares were sold in multiple transactions at prices ranging from $62.685 to $62.687, inclusive. The reporting person undertakes to provide WEC Energy Group (&quot;WEC&quot;), any security holder of WEC, or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each separate price within such range.</footnote>
        <footnote id="F2">Includes shares acquired pursuant to dividend reinvestment in transactions exempt from Section 16 pursuant to Rule 16a-11.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Joshua M. Erickson, as Attorney-in-Fact</signatureName>
        <signatureDate>2017-06-02</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_149643815631693.xml", "description": "FORM 4", "secsgml_size_bytes": 3734}]
X0306
4
2017-05-31
0
0000783325
WEC ENERGY GROUP, INC.
WEC
0001188179
PAYNE ULICE JR
231 WEST MICHIGAN STREET
MILWAUKEE,
WI
53203
1
0
0
0
Common Stock
2017-05-31
4
S
0
900
62.686
D
29130.2392
D
This price is a weighted average price. These shares were sold in multiple transactions at prices ranging from $62.685 to $62.687, inclusive. The reporting person undertakes to provide WEC Energy Group ("WEC"), any security holder of WEC, or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each separate price within such range.
Includes shares acquired pursuant to dividend reinvestment in transactions exempt from Section 16 pursuant to Rule 16a-11.
Joshua M. Erickson, as Attorney-in-Fact
2017-06-02