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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2018-02-16</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001506822</rptOwnerCik>
            <rptOwnerName>Guc William J</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>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Vice President &amp; Controller</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2018-02-16</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>76</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>61.605</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6073.6738</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5289.651</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>WEC Energy Group Retirement Savings Plan</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Includes shares acquired pursuant to dividend reinvestment feature of WEC Energy Group's Stock Plus Investment Plan in transactions exempt from Section 16 pursuant to Rule 16a-11.</footnote>
        <footnote id="F2">Includes shares acquired pursuant to a dividend reinvestment feature of the ESOP in the WEC Energy Group, Inc. Retirement Savings Plan. The number of shares in the Retirement Savings Plan 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 January 31, 2018.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Joshua M. Erickson, as attorney in fact</signatureName>
        <signatureDate>2018-02-21</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_151925102564944.xml", "description": "FORM 4", "secsgml_size_bytes": 4482}]
X0306
4
2018-02-16
0
0000783325
WEC ENERGY GROUP, INC.
WEC
0001506822
Guc William J
231 WEST MICHIGAN STREET
MILWAUKEE
WI
53203
0
1
0
0
Vice President & Controller
Common Stock
2018-02-16
4
F
0
76
61.605
D
6073.6738
D
Common Stock
5289.651
I
WEC Energy Group Retirement Savings Plan
Includes shares acquired pursuant to dividend reinvestment feature of WEC Energy Group's Stock Plus Investment Plan in transactions exempt from Section 16 pursuant to Rule 16a-11.
Includes shares acquired pursuant to a dividend reinvestment feature of the ESOP in the WEC Energy Group, Inc. Retirement Savings Plan. The number of shares in the Retirement Savings Plan 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 January 31, 2018.
Joshua M. Erickson, as attorney in fact
2018-02-21