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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2013-09-17</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001576169</issuerCik>
        <issuerName>Benefitfocus,Inc.</issuerName>
        <issuerTradingSymbol>BNFT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001586424</rptOwnerCik>
            <rptOwnerName>Zia Raheel</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O GOLDMAN, SACHS &amp; CO.</rptOwnerStreet1>
            <rptOwnerStreet2>200 WEST STREET</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10282</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Convertible Series A Preferred Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F3"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>14055851</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The Reporting Person is a managing director of Goldman, Sachs &amp; Co. (&quot;Goldman Sachs&quot;). Goldman Sachs is a wholly-owned subsidiary of The Goldman Sachs Group, Inc. (&quot;GS Group&quot;). The Reporting Person disclaims beneficial ownership of the securities reported herein except to the extent of his pecuniary interest therein, if any, and this report shall not be deemed an admission that the Reporting Person is the beneficial owner of, or has any pecuniary interest in, such securities for purposes of Section 16 of the Securities Exchange Act of 1934, as amended, or for any other purpose.</footnote>
        <footnote id="F2">Goldman Sachs and GS Group may be deemed to beneficially own indirectly, in the aggregate, 14,055,851 shares of Convertible Series A Preferred Stock (the &quot;Series A Preferred Stock&quot;) of Benefitfocus, Inc. (the &quot;Company&quot;) through certain limited partnerships (the &quot;Limited Partnerships&quot;). Affiliates of Goldman Sachs and GS Group are the general partner, managing limited partner, managing general partner, managing partner, managing member or member of each of the Limited Partnerships.</footnote>
        <footnote id="F3">The Limited Partnerships hold shares of the Series A Preferred Stock.  The Company's amended and restated certificate of incorporation provides that each share of the Series A Preferred Stock is convertible into common stock, par value $0.001 per share, of the Company (&quot;Common Stock&quot;) at the option of the holder thereof and will automatically convert into Common Stock upon the closing of the Company's initial public offering of its Common Stock.  On the closing date of the Company's initial public offering of its Common Stock, all of the shares of Series A Preferred Stock will automatically be converted on a one-for-one basis into shares of Common Stock.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Kevin P. Treanor, Attorney-in-fact</signatureName>
        <signatureDate>2013-09-17</signatureDate>
    </ownerSignature>
</ownershipDocument>
