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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-04-04</periodOfReport>

    <issuer>
        <issuerCik>0000108516</issuerCik>
        <issuerName>WORTHINGTON ENTERPRISES, INC.</issuerName>
        <issuerTradingSymbol>WOR</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001429897</rptOwnerCik>
            <rptOwnerName>HAYEK JOSEPH B</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>200 WEST OLD WILSON BRIDGE ROAD</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>COLUMBUS</rptOwnerCity>
            <rptOwnerState>OH</rptOwnerState>
            <rptOwnerZipCode>43085</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>President &amp; CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Shares</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>187507</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Shares</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By IRA (Merrill-Lynch)</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Shares</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1649</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By IRA (Vanguard)</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Phantom Stock Acquired Under the Deferred Compensation Plan</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2025-04-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5.4</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>46.46</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>5.4</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4507.98</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The amount reported includes additional common shares acquired pursuant to the dividend reinvestment feature of the IRA as reported in the plan statement dated December 31, 2024.</footnote>
        <footnote id="F2">The theoretical WOR common shares (&quot;phantom stock&quot;) credited to the reporting person's account in the Worthington Industries, Inc. Amended and Restated 2005 Deferred Compensation Plan, as amended (the &quot;Plan&quot;) track WOR common shares on a one-for-one basis.</footnote>
        <footnote id="F3">Prior to October 1, 2014, the account balances related to the phantom stock investment option could be immediately transferred to other deemed investment options under the terms of the Plan. The Plan provides that, effective October 1, 2014 and thereafter, any amount credited in a participant's account to the phantom stock fund may not be transferred to an alternative deemed investment option under the Plan until distribution from the Plan.  Distributions are made only in WOR common shares and generally commence upon leaving Worthington Enterprises, Inc. and its subsidiaries.</footnote>
        <footnote id="F4">The amount reported includes the additional unfunded theoretical common shares (i.e., phantom stock) credited pursuant to the theoretical Worthington Enterprises, Inc. common share deemed investment option pursuant to the dividend reinvestment feature of the 2005 NQ Plan on March 31, 2025.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/Patrick J. Kennedy, as attorney-in-fact for Joseph B. Hayek</signatureName>
        <signatureDate>2025-04-07</signatureDate>
    </ownerSignature>
</ownershipDocument>
