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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2015-09-09</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001427925</issuerCik>
        <issuerName>ACELRX PHARMACEUTICALS INC</issuerName>
        <issuerTradingSymbol>ACRX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001224962</rptOwnerCik>
            <rptOwnerName>PERCEPTIVE ADVISORS LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>499 PARK AVENUE, 25TH FLOOR</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10022</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>0001164426</rptOwnerCik>
            <rptOwnerName>EDELMAN JOSEPH</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O PERCEPTIVE ADVISORS LLC</rptOwnerStreet1>
            <rptOwnerStreet2>499 PARK AVENUE, 25TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10022</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>0001249675</rptOwnerCik>
            <rptOwnerName>PERCEPTIVE LIFE SCIENCES MASTER FUND LTD</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O PERCEPTIVE ADVISORS LLC</rptOwnerStreet1>
            <rptOwnerStreet2>499 PARK AVENUE, 25TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10022</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2015-09-09</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>310000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>4.1767</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6264060</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">This Form 4 is being filed by Perceptive Life Science Master Fund Ltd. (the &quot;Master Fund&quot;), Perceptive Advisors LLC (the &quot;Advisor&quot;) and Joseph Edelman. The Advisor serves as the investment manager of Master Fund and to a managed account (the &quot;Managed Account&quot;) for Titan Perc, Ltd. Mr. Edelman is the managing member of the Advisor.</footnote>
        <footnote id="F2">This amount reflects the amount of securities held by the Master Fund and the Managed Account immediately following the transaction requiring the filing of this statement. In accordance with Instruction 5(b)(iv) of Form 4, the entire amount of the Issuer's securities held by Master Fund and the Managed Account is reported herein. Each of Mr. Edelman and the Advisor disclaims, for purposes of Section 16 of the Securities Exchange Act of 1934, beneficial ownership of such securities, except to the extent of his/its indirect pecuniary interest therein, and this report shall not be deemed an admission that either Mr. Edelman or the Advisor is the beneficial owner of such securities for purposes of Section 16 or for any other purposes.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Joseph Edelman, managing member of Perceptive Advisors LLC</signatureName>
        <signatureDate>2015-09-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
