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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-12-13</periodOfReport>

    <issuer>
        <issuerCik>0001018399</issuerCik>
        <issuerName>ENTERPRISE BANCORP INC /MA/</issuerName>
        <issuerTradingSymbol>EBTC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001790673</rptOwnerCik>
            <rptOwnerName>Lussier Joseph R</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O ENTERPRISE BANCORP, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>222 MERRIMACK STREET</rptOwnerStreet2>
            <rptOwnerCity>LOWELL</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>01852</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>EVP &amp; CFO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-12-13</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>58</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>42.75</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>14177.1015</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares awarded for 25th work anniversary.</footnote>
        <footnote id="F2">Includes 127.8666 shares acquired through dividend reinvestment on 06/2/24.</footnote>
        <footnote id="F3">Includes 104.3575 shares acquired through dividend reinvestment on 09/3/24.</footnote>
        <footnote id="F4">Includes 63.5218 shares acquired through dividend reinvestment on 12/2/24.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Joseph R. Lussier</signatureName>
        <signatureDate>2024-12-16</signatureDate>
    </ownerSignature>
</ownershipDocument>
