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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-07-27</periodOfReport>

    <issuer>
        <issuerCik>0001674862</issuerCik>
        <issuerName>ASHLAND INC.</issuerName>
        <issuerTradingSymbol>ASH</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001236558</rptOwnerCik>
            <rptOwnerName>SPIZZO ALLEN A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>8145 BLAZER DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>WILMINGTON</rptOwnerCity>
            <rptOwnerState>DE</rptOwnerState>
            <rptOwnerZipCode>19808</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>false</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-07-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>978</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>66.38</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F2"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>978</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>978</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Each Restricted Stock Unit (RSU) represents a right to receive one (1) share of Ashland Common Stock.</footnote>
        <footnote id="F2">Grant of Restricted Stock Units granted under Ashland's Omnibus Incentive Plan. The Restricted Stock Units will vest one year after date of grant. (One (1) Restricted Stock Unit in the Deferred Compensation Plan for Non-Employee Directors is the equivalent of one (1) share of Ashland Common Stock.)</footnote>
    </footnotes>

    <remarks>This Form 4 is being filed after the required filing deadline because the reporting person's EDGAR Next enrollment had not been completed prior to the filing deadline. The reporting person's EDGAR Next enrollment has since been completed, and this filing is being made promptly thereafter.</remarks>

    <ownerSignature>
        <signatureName>/s/ Serena S. Kenost, Attorney-in-Fact for Allen A. Spizzo</signatureName>
        <signatureDate>2026-08-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
