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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-11-15</periodOfReport>

    <issuer>
        <issuerCik>0001090872</issuerCik>
        <issuerName>AGILENT TECHNOLOGIES, INC.</issuerName>
        <issuerTradingSymbol>A</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002013235</rptOwnerCik>
            <rptOwnerName>RIEMANN ANGELICA</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5301 STEVENS CREEK BLVD.</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>SANTA CLARA</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>95051</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>Senior Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-11-15</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>172</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>127.07</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>15178.0995</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2406.0392</value>
                    <footnoteId id="F4"/>
                    <footnoteId id="F5"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Shares held by Albert S. Folk, III</value>
                    <footnoteId id="F6"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The reporting person surrendered 172 shares to Agilent Technologies, Inc. to satisfy the tax liability on the vesting of restricted stock units in accordance with Rule 16b-3.</footnote>
        <footnote id="F2">44.3810 shares acquired under the Agilent Technologies, Inc. dividend reinvestment plan.</footnote>
        <footnote id="F3">50.9903 shares acquired in an Employee Stock Purchase Plan under Section 423 of the Internal Revenue Code of 1986, as amended, in a transaction exempt under Rule 16b-3.</footnote>
        <footnote id="F4">4.6530 shares acquired under the Agilent Technologies, Inc. dividend reinvestment plan.</footnote>
        <footnote id="F5">88.1588 shares acquired in an Employee Stock Purchase Plan under Section 423 of the Internal Revenue Code of 1986, as amended, in a transaction exempt under Rule 16b-3.</footnote>
        <footnote id="F6">Shares held by Albert S. Folk, III.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/P. Diana Chiu, attorney-in-fact for Ms. Riemann</signatureName>
        <signatureDate>2024-11-19</signatureDate>
    </ownerSignature>
</ownershipDocument>
