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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-10-31</periodOfReport>

    <notSubjectToSection16>false</notSubjectToSection16>

    <issuer>
        <issuerCik>0000949870</issuerCik>
        <issuerName>BOSTON BEER CO INC</issuerName>
        <issuerTradingSymbol>SAM</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001971267</rptOwnerCik>
            <rptOwnerName>Reynoso Diego</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O THE BOSTON BEER COMPANY, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>ONE DESIGN CENTER PLACE, SUITE 850</rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02210</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>CFO and Treasurer</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common</value>
            </securityTitle>
            <transactionDate>
                <value>2023-10-31</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>4498.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4498.00</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>October 31, 2023 Stock Option</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>333.50</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2023-10-31</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>9717.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2024-03-01</value>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <value>2033-10-30</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Class A Common</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>0.00</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>9717.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">On October 31, 2023, the Issuer granted 4,498 RSUs to the Reporting Person under the Issuer's Employee Equity Incentive Plan (&quot;EEIP&quot;). The shares will vest in four equal installments over a four-year period, with the first vesting commencing on March 1, 2024, provided that the Reporting Person remains employed by the Issuer on the applicable vesting dates, and subject to accelerated vesting in certain situations.</footnote>
        <footnote id="F2">The shares reported include 4,498 shares of restricted stock subject to vesting conditions.</footnote>
        <footnote id="F3">The Time-Based Stock Options were granted pursuant to the Issuer's EEIP on October 31, 2023. The shares will vest in four equal installments over a four-year period, with the first vesting commencing on March 1, 2024, provided that the Reporting Person remains employed by the Issuer on the applicable vesting dates, and subject to accelerated vesting in certain situations.</footnote>
    </footnotes>

    <remarks>This Form 4 is being filed late due to inadvertent administrative error.</remarks>

    <ownerSignature>
        <signatureName>Michael G. Andrews under POA for the benefit of Diego Reynoso</signatureName>
        <signatureDate>2023-11-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
