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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-17</periodOfReport>

    <issuer>
        <issuerCik>0001839341</issuerCik>
        <issuerName>Core Scientific, Inc./tx</issuerName>
        <issuerTradingSymbol>CORZ</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001842273</rptOwnerCik>
            <rptOwnerName>Nygaard James P Jr</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O CORE SCIENTIFIC, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>838 WALKER ROAD, SUITE 21-2105</rptOwnerStreet2>
            <rptOwnerCity>DOVER</rptOwnerCity>
            <rptOwnerState>DE</rptOwnerState>
            <rptOwnerZipCode>19904</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>EVP, Chief Financial Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-17</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>92725</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>16.42</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>928928</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares withheld to satisfy withholding tax obligations upon the vesting of restricted stock units.</footnote>
        <footnote id="F2">Reported amount reflects the acquisition of 3,555 shares of Common Stock and the acquisition of 336 shares of Common Stock that the Reporting Person received on July 17, 2025 and December 24, 2025, respectively, for no consideration in connection with in-kind distributions by XMS XPDI Sponsor Holdings LLC, which were exempt from Section 16 of the Securities Exchange Act of 1934, as amended (the &quot;Exchange Act&quot;), pursuant to Rule 16a-9 under the Exchange Act.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Todd DuChene, as Attorney-in-Fact</signatureName>
        <signatureDate>2026-03-19</signatureDate>
    </ownerSignature>
</ownershipDocument>
