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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-28</periodOfReport>

    <issuer>
        <issuerCik>0000072903</issuerCik>
        <issuerName>XCEL ENERGY INC</issuerName>
        <issuerTradingSymbol>XEL</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001482556</rptOwnerCik>
            <rptOwnerName>Burkhart Megan D</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>414 NICOLLET MALL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>MINNEAPOLIS</rptOwnerCity>
            <rptOwnerState>MN</rptOwnerState>
            <rptOwnerZipCode>55401</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-28</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>614.675</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>20854.328</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Retainer granted in the form of stock equivalent units payable in whole shares of common stock following termination of the reporting person's service as director and fractional units are payable at such time in cash.</footnote>
        <footnote id="F2">Of the 614.675 stock equivalent units, 512.229 were granted at a price of $78.09 per unit in lieu of the reporting person's quarterly cash retainer, and 102.446 were granted at no cost to the reporting person as a 20% premium on the amount of such retainer.</footnote>
        <footnote id="F3">Includes 150.836 stock equivalent units acquired pursuant to the reinvestment of dividend equivalents.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Kristin L. Westlund, Attorney in Fact for Megan D. Burkhart</signatureName>
        <signatureDate>2026-03-30</signatureDate>
    </ownerSignature>
</ownershipDocument>
