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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-10-29</periodOfReport>

    <issuer>
        <issuerCik>0000005768</issuerCik>
        <issuerName>AMERICAN SCIENCE &amp; ENGINEERING, INC.</issuerName>
        <issuerTradingSymbol>ASEI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001263158</rptOwnerCik>
            <rptOwnerName>FABIANO ANTHONY R</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>AMERICAN SCIENCE AND ENGINEERING, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>829 MIDDLESEX TURNPIKE</rptOwnerStreet2>
            <rptOwnerCity>BILLERICA</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>01821</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2010-10-29</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3647</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>81.2828</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>89000</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 trading plan adopted by the reporting person on September 13, 2010.</footnote>
        <footnote id="F2">The price reported is a weighted average price. These shares were sold in multiple transactions at prices ranging from a low of $80.73 to a high of $81.75 for an average of $81.2828.  The reporting person undertakes to provide to American Science and Engineering, Inc., any security holder of American Science and Engineering, Inc., or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each separate price within the ranges set forth in this footnote to this Form 4.</footnote>
        <footnote id="F3">Includes 481shares of AS&amp;E common stock acquired under the AS&amp;E 401(k) Plan as of 5/12/2010.</footnote>
    </footnotes>

    <remarks>Exhibit 24 - Power of Attorney</remarks>

    <ownerSignature>
        <signatureName>M. Colette Cooke</signatureName>
        <signatureDate>2010-11-01</signatureDate>
    </ownerSignature>
</ownershipDocument>
