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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2013-04-10</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001117480</issuerCik>
        <issuerName>CHIMERIX INC</issuerName>
        <issuerTradingSymbol>CMRX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001571865</rptOwnerCik>
            <rptOwnerName>Trost Timothy W.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O CHIMERIX, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>2505 MERIDIAN PKY, SUITE 340</rptOwnerStreet2>
            <rptOwnerCity>DURHAM</rptOwnerCity>
            <rptOwnerState>NC</rptOwnerState>
            <rptOwnerZipCode>27713</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Sr. Vice President and CFO</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>2.35</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <value>2021-04-06</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>169014</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Unit</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F3"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3409</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">In accordance with its terms, the option is immediately exercisable in full; however, the shares underlying the option are subject to vesting as follows: 1/4th of the shares vest one year after July 26, 2010; the remainder of the shares vest in equal monthly installments thereafter over the next three years. Any shares issued upon exercise of unvested options are subject to a repurchase right in favor of the Issuer if Mr. Trost does not satisfy the option's vesting requirements.</footnote>
        <footnote id="F2">All of the shares subject to the Restricted Stock Unit (&quot;RSU&quot;) shall become immediately vested upon the earlier of (i) a Change in Control (as defined in the 2012 Equity Incentive Plan (the &quot;Plan&quot;)) and (ii) the effective date of a registration statement of the Issuer filed under the Securities Act (as defined in the Plan) for the sale of the Issuer's Common Stock (either event described in (i) or (ii), a &quot;Vesting Event&quot;), subject to Mr. Trost's Continuous Service (as defined in the Plan) with the Issuer as of the Vesting Event. If a Vesting Event has not occurred at the time of the Mr. Trost's termination of Continuous Service, then the RSU shall terminate in its entirety immediately as of such termination date.</footnote>
        <footnote id="F3">Not applicable.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Timothy W. Trost</signatureName>
        <signatureDate>2013-04-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
