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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2017-05-18</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001651235</issuerCik>
        <issuerName>Acacia Communications, Inc.</issuerName>
        <issuerTradingSymbol>ACIA</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001239366</rptOwnerCik>
            <rptOwnerName>CHUNG PETER Y</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O SUMMIT PARTNERS</rptOwnerStreet1>
            <rptOwnerStreet2>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2017-05-18</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>4446</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1304573</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Remarks.</value>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Represents restricted stock units awarded to Mr. Chung as compensation for services rendered as a director . Each restricted stock unit represents the right to receive one share of common stock upon vesting. The restricted stock units will vest entirely on May 18, 2018. Mr. Chung holds any restricted stock units for the benefit of Summit Partners, L.P., which he has empowered to determine when the underlying shares will be sold and which is entitled to the proceeds of any such sales.</footnote>
        <footnote id="F2">Consists of 987,039 shares held by Summit Partners Venture Capital Fund III-A, L.P., 299,157 shares held by Summit Partners Venture Capital Fund III-B, L.P., 12,860 shares held by Summit Investors I, LLC; 1,071 shares held by Summit Investors I (UK), L.P.and 4,446 restricted stock units held in the name of Peter Y. Chung, which are held for the benefit of Summit Partners, L.P.</footnote>
        <footnote id="F3">Summit Partners, L.P. is the managing member of Summit Partners VC III, LLC, which is the general partner of Summit Partners VC III, L.P., which is the general partner of each of Summit Partners Venture Capital Fund III-A, L.P. and Summit Partners Venture Capital Fund III-B, L.P. Summit Master Company, LLC is the managing member of Summit Investors Management, LLC, which is the manager of Summit Investors I, LLC, and the general partner of Summit Investors I (UK), L.P. Summit Master Company, LLC, as the managing member of Summit Investors Management, LLC, has delegated investment decisions, including dispositive power, to Summit Partners, L.P. and its investment committee responsible for voting and investment decisions with respect to the Issuer.</footnote>
        <footnote id="F4">Summit Partners, L.P., through a two-person investment committee responsible for voting and investment decisions with respect to the Issuer, currently comprised of Martin J. Mannion and Peter Y. Chung, has voting and dispositive power over the shares held by each of the entities listed above and Mr. Chung and therefore, may be deemed to beneficially own such shares. Mr. Chung is a member of Summit Master Company, LLC. Each of Summit Partners, L.P., the entities listed above, Mr. Mannion and Mr. Chung expressly disclaims beneficial ownership of such shares except to the extent of their pecuniary interest therein.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Robin W. Devereux, Power of Attorney for Peter Y. Chung</signatureName>
        <signatureDate>2017-05-22</signatureDate>
    </ownerSignature>
</ownershipDocument>
