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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-01-03</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001558300</rptOwnerCik>
            <rptOwnerName>Lane Thomas K</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>2023-01-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1602</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12644.1243</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-01-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1607.9291</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>11036.1952</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>7715</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By LLC</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>15</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse's revocable trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>15</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By revocable trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>15</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By family trust</value>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Phantom Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F5"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2023-01-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1607.9291</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F6"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F6"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1607.9291</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5734.6332</value>
                    <footnoteId id="F7"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Includes shares acquired pursuant to dividend reinvestment in transactions exempt from Section 16 pursuant to Rule 16a-11.</footnote>
        <footnote id="F2">In connection with the vesting of restricted stock granted to the reporting person on January 3, 2022, the reporting person deferred receipt of 1,607.9291 shares of common stock and instead received 1,607.9291 phantom stock units pursuant to the Directors Deferred Compensation Plan (DDCP).  As a result, the reporting person is reporting the disposition of 1,607.9291 shares of common stock in exchange for an equal number of phantom stock units.</footnote>
        <footnote id="F3">These shares are owned by Lane Ventures LLC, which is owned by the 2019 Lane GST Exempt Trust and another family trust; both trusts are for the benefit of the reporting person's immediate family members. The reporting person's spouse is a trustee of both trusts. The reporting person disclaims beneficial ownership of these securities, and the filing of this report is not an admission that the reporting person is the beneficial owner of these securities for purposes of Section 16 or for any other purpose.</footnote>
        <footnote id="F4">These shares are held by the 2019 Lane GST Exempt Trust for the benefit of the reporting person's immediate family members. The reporting person disclaims beneficial ownership of these securities, and the filing of this report is not an admission that the reporting person is the beneficial owner of these securities for purposes of Section 16 or for any other purpose.</footnote>
        <footnote id="F5">One-for-one.</footnote>
        <footnote id="F6">These phantom stock units were accrued under the DDCP and are to be settled in accordance with the terms of the plan.</footnote>
        <footnote id="F7">Includes phantom stock units accrued pursuant to a dividend reinvestment feature of the DDCP in transactions exempt from Section 16 pursuant to Rule 16a-11.</footnote>
    </footnotes>

    <remarks>Exhibit List: Exhibit 24-Power of Attorney</remarks>

    <ownerSignature>
        <signatureName>Joshua M. Erickson, as attorney in fact</signatureName>
        <signatureDate>2023-01-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_167297377993406.xml", "description": "FORM 4", "secsgml_size_bytes": 11440}]
X0306
4
2023-01-03
0
0000783325
WEC ENERGY GROUP, INC.
WEC
0001558300
Lane Thomas K
231 WEST MICHIGAN STREET
MILWAUKEE
WI
53203
1
0
0
0
Common Stock
2023-01-03
4
A
0
1602
0
A
12644.1243
D
Common Stock
2023-01-03
4
D
0
1607.9291
D
11036.1952
D
Common Stock
7715
I
By LLC
Common Stock
15
I
By spouse's revocable trust
Common Stock
15
I
By revocable trust
Common Stock
15
I
By family trust
Phantom Stock Units
2023-01-03
4
A
0
1607.9291
A
Common Stock
1607.9291
5734.6332
D
Includes shares acquired pursuant to dividend reinvestment in transactions exempt from Section 16 pursuant to Rule 16a-11.
In connection with the vesting of restricted stock granted to the reporting person on January 3, 2022, the reporting person deferred receipt of 1,607.9291 shares of common stock and instead received 1,607.9291 phantom stock units pursuant to the Directors Deferred Compensation Plan (DDCP).  As a result, the reporting person is reporting the disposition of 1,607.9291 shares of common stock in exchange for an equal number of phantom stock units.
These shares are owned by Lane Ventures LLC, which is owned by the 2019 Lane GST Exempt Trust and another family trust; both trusts are for the benefit of the reporting person's immediate family members. The reporting person's spouse is a trustee of both trusts. The reporting person disclaims beneficial ownership of these securities, and the filing of this report is not an admission that the reporting person is the beneficial owner of these securities for purposes of Section 16 or for any other purpose.
These shares are held by the 2019 Lane GST Exempt Trust for the benefit of the reporting person's immediate family members. The reporting person disclaims beneficial ownership of these securities, and the filing of this report is not an admission that the reporting person is the beneficial owner of these securities for purposes of Section 16 or for any other purpose.
One-for-one.
These phantom stock units were accrued under the DDCP and are to be settled in accordance with the terms of the plan.
Includes phantom stock units accrued pursuant to a dividend reinvestment feature of the DDCP in transactions exempt from Section 16 pursuant to Rule 16a-11.
Exhibit List: Exhibit 24-Power of Attorney
Joshua M. Erickson, as attorney in fact
2023-01-05