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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2016-05-12</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0000830588</rptOwnerCik>
            <rptOwnerName>SUMMIT PARTNERS L P</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET</rptOwnerStreet1>
            <rptOwnerStreet2>18TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle></officerTitle>
            <otherText>Manager of GP of 10% owner</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001665677</rptOwnerCik>
            <rptOwnerName>SUMMIT PARTNERS VC III, LP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle></officerTitle>
            <otherText>GP of 10% owner</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001665675</rptOwnerCik>
            <rptOwnerName>SUMMIT PARTNERS VC III, LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle></officerTitle>
            <otherText>Manager of GP of 10% owner</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001507545</rptOwnerCik>
            <rptOwnerName>Summit Investors Management, LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle></officerTitle>
            <otherText>Manager and GP of 10% Owner</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001627278</rptOwnerCik>
            <rptOwnerName>SUMMIT MASTER COMPANY, LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle></officerTitle>
            <otherText>Manager of Manager of 10% owne</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001514390</rptOwnerCik>
            <rptOwnerName>Summit Partners Venture Capital Fund III-A, L.P.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001514389</rptOwnerCik>
            <rptOwnerName>Summit Partners Venture Capital Fund III-B, L.P.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001435565</rptOwnerCik>
            <rptOwnerName>Summit Investors I, LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001494616</rptOwnerCik>
            <rptOwnerName>Summit Investors I (UK), L.P.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>222 BERKELEY STREET, 18TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02116</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Series D Convertible Preferred Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>2896329</value>
                    <footnoteId id="F2"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes.</value>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The Series D Convertible Preferred Stock is convertible into common stock of Acacia Communications, Inc. (the &quot;Issuer&quot;) on a one-for-one basis at any time and will automatically convert into common stock upon the closing of the Issuer's initial public offering. The Series D Convertible Preferred Stock has no expiration date.</footnote>
        <footnote id="F2">Consists of 2,198,853 shares of Series D Convertible Preferred Stock held by Summit Partners Venture Capital Fund III-A, L.P., 666,442 shares of Series D Convertible Preferred Stock held by Summit Partners Venture Capital Fund III-B, L.P., 28,648 shares of Series D Convertible Preferred Stock held by Summit Investors I, LLC and 2,386 shares of Series D Convertible Preferred Stock held by Summit Investors I (UK), 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 voting and 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 three-person investment committee responsible for voting and investment decisions with respect to the Issuer, currently comprised of Martin J. Mannion, Bruce R. Evans and Peter Y. Chung, has voting and dispositive power over the shares held by each of these entities and therefore may be deemed to beneficially own such shares. Each of the Summit entities mentioned herein and Messrs. Mannion, Evans and Chung disclaims beneficial ownership of the shares, except, in each case, to the extent of each such person's pecuniary interest therein.</footnote>
    </footnotes>

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

    <ownerSignature>
        <signatureName>Summit Partners, L.P., by Summit Master Company, LLC, its GP,  by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Partners VC III, L.P., by Summit Partners VC III, LLC, its GP, by Summit Partners, L.P., its Managing Member, by Summit Master Company, LLC, its GP, by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Partners VC III, LLC, by Summit Partners, L.P., its Managing Member, by Summit Master Company, LLC, its GP, by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Investors Management, LLC, by Summit Master Company, LLC, its Managing Member, by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Master Company, LLC, by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Partners Venture Capital Fund III-A, L.P., by Summit Partners VC III, L.P., its GP, by Summit Partners VC III, LLC, its GP, by Summit Partners, L.P., its Managing Member, by Summit Master Company, LLC, its GP, by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Partners Venture Capital Fund III-B, L.P., by Summit Partners VC III, L.P., its GP, by Summit Partners VC III, LLC, its GP, by Summit Partners, L.P., its Managing Member, by Summit Master Company, LLC, its GP, by /s/ Robin W. Devereux, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Investors I, LLC, by Summit Investors Management, LLC, its Manager, by Summit Master Company, LLC, its Managing Member, by /s/ Robin W. Devereux, POA for Martin J. Mannion, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Summit Investors I (UK), L.P., by Summit Investors Management, LLC, its General Partner, by Summit Master Company, LLC,  its Managing Member, by /s/ Robin W. Devereux, POA for Martin J. Mannion, Member</signatureName>
        <signatureDate>2016-05-12</signatureDate>
    </ownerSignature>
</ownershipDocument>
