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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-10-10</periodOfReport>

    <issuer>
        <issuerCik>0001022671</issuerCik>
        <issuerName>STEEL DYNAMICS INC</issuerName>
        <issuerTradingSymbol>STLD</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001195950</rptOwnerCik>
            <rptOwnerName>TEETS RICHARD P JR</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>7575 W. JEFFERSON BLVD.</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>FORT WAYNE</rptOwnerCity>
            <rptOwnerState>IN</rptOwnerState>
            <rptOwnerZipCode>46804</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-10-10</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>12</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4979635</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>93119</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>73000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By Teets Family Foundation</value>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents the number of shares of common stock underlying additional deferred stock units (DSUs) issued to the reporting person as a dividend equivalent, in connection with this person's retainer as a director under the Company's 2023 Equity Incentive Plan (the &quot;Plan&quot;). This transaction is exempt from both the reporting requirements of Section 16(a), including Rule 16a-11, and the provisions of Section 16(b), by virtue of this dividend reinvestment feature of the Plan and the Company's existing Dividend Reinvestment Plan, as well as being exempt from Section 16(b) independently by virtue of Rule 16b-3(d)(1) and (3).</footnote>
        <footnote id="F2">Reportable as directly owned shares of common stock, rather than as a derivative security in Table II, because any and all underlying DSUs are payable, at such time as they are to be settled, solely in shares of common stock. (See Lincoln National Corp. (March 20, 1992) Q.3).</footnote>
        <footnote id="F3">Includes shares resulting from reinvestment of dividends on any underlying DSUs included in this total.</footnote>
        <footnote id="F4">Represents securities held by the Teets Family Foundation, a charitable foundation of which the reporting person is a member and director. The reporting person has voting and investment power over all securities owned by the foundation.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Richard P. Teets, Jr.</signatureName>
        <signatureDate>2025-10-14</signatureDate>
    </ownerSignature>
</ownershipDocument>
