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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-06-27</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001837726</rptOwnerCik>
            <rptOwnerName>Kennedy Patrick J.</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>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>VP-General Counsel &amp; Secy</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2024-06-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3900</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>22255</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2024-06-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1660</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>23915</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2024-06-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>830</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>24745</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Non-qualified stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>47.00</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2024-06-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3400</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2025-06-27</value>
                <footnoteId id="F4"/>
            </exerciseDate>
            <expirationDate>
                <value>2034-06-27</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3400</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3400</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeHolding>
            <securityTitle>
                <value>Employee Non-Qualified Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>38.25</value>
                <footnoteId id="F5"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2022-06-25</value>
                <footnoteId id="F6"/>
            </exerciseDate>
            <expirationDate>
                <value>2031-06-25</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1258</value>
                    <footnoteId id="F5"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1258</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee Non-Qualified Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>29.48</value>
                <footnoteId id="F5"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2023-06-24</value>
                <footnoteId id="F7"/>
            </exerciseDate>
            <expirationDate>
                <value>2032-06-24</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3776</value>
                    <footnoteId id="F5"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3776</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee Non-Qualified Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>44.15</value>
                <footnoteId id="F5"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2024-06-30</value>
                <footnoteId id="F8"/>
            </exerciseDate>
            <expirationDate>
                <value>2033-06-30</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3147</value>
                    <footnoteId id="F5"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3147</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">An award of restricted stock was granted pursuant to the Worthington Industries Inc. Amended and Restated 1997 Long-Term Incentive Plan. The restricted stock will vest on the third anniversary of the grant date (6/27/2027).</footnote>
        <footnote id="F2">An award of restricted stock was granted pursuant to the Worthington Industries Inc. Amended and Restated 1997 Long-Term Incentive Plan. The restricted stock will vest on the second anniversary of the grant date (6/27/2026).</footnote>
        <footnote id="F3">An award of restricted stock was granted pursuant to the Worthington Industries Inc. Amended and Restated 1997 Long-Term Incentive Plan. The restricted stock will vest on the first anniversary of the grant date (6/27/2025).</footnote>
        <footnote id="F4">This non-qualified stock option was granted pursuant to the Worthington Industries, Inc. 2010 Stock Option Plan.  Date listed is the first day any portion of the option will vest.  Additional portions of 33.33% of the option will vest on 6/27/2026 and 6/27/2027.</footnote>
        <footnote id="F5">Pursuant to the Employee Matters Ageement between the Issuer and Worthington Steel, Inc. dated November 30, 2023, in connection with the Spin-Off, the strike price and the number of underlying shares of each unvested and vested but unexercised stock option held by the reporting person immediately before the Spin-Off was adjusted to preserve the intrinsic value of such award following the Spin-Off. Each adjusted option otherwise has substantially the same terms and conditions.</footnote>
        <footnote id="F6">This non-qualified stock option was granted pursuant to the Worthington Industries, Inc. 2010 Stock Option Plan.  Date listed is the first day any portion of the option vested.  Additional portions of 33.33% of the option vested on 6/25/2023 and 6/25/2024.</footnote>
        <footnote id="F7">This non-qualified stock option was granted pursuant to the Worthington Industries, Inc. 2010 Stock Option Plan.  Date listed is the first day any portion of the option vested.  Additional portions of 33.33% of the option vested on 6/24/2024 and will vest on 6/24/2025.</footnote>
        <footnote id="F8">This non-qualified stock option was granted pursuant to the Worthington Industries, Inc. 2010 Stock Option Plan.  Date listed is the first day any portion of the option will vest.  Additional portions of 33.33% of the option will vest on 6/30/2025 and  6/30/2026.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/Patrick J. Kennedy</signatureName>
        <signatureDate>2024-06-28</signatureDate>
    </ownerSignature>
</ownershipDocument>
