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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2020-06-19</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001292519</issuerCik>
        <issuerName>INVIVO THERAPEUTICS HOLDINGS CORP.</issuerName>
        <issuerTradingSymbol>NVIV</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001710549</rptOwnerCik>
            <rptOwnerName>Toselli Richard M.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O INVIVO THERAPEUTICS HOLDINGS CORP.</rptOwnerStreet1>
            <rptOwnerStreet2>ONE KENDALL SQUARE, SUITE B14402</rptOwnerStreet2>
            <rptOwnerCity>CAMBRIDGE</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02139</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>See Remarks</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <transactionDate>
                <value>2020-06-19</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>15</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1.70</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6054</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares sold by the reporting person pursuant to a Rule 10b5-1 trading plan adopted by the reporting person on November 20, 2018 to satisfy tax withholding obligations applicable to the vesting of 50 stock-settled restricted stock units (&quot;RSUs&quot;). The vesting schedule for the RSUs was amended on June 11, 2019, and the remaining shares underlying the unvested RSUs vest in equal semi-annual installments on June 18 and December 18 until fully vested on December 18, 2021.</footnote>
    </footnotes>

    <remarks>President and Chief Executive Officer</remarks>

    <ownerSignature>
        <signatureName>/s/ Richard M. Toselli</signatureName>
        <signatureDate>2020-06-23</signatureDate>
    </ownerSignature>
</ownershipDocument>
