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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2008-09-24</periodOfReport>

    <dateOfOriginalSubmission>2008-09-26</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001301081</issuerCik>
        <issuerName>Pharmasset Inc</issuerName>
        <issuerTradingSymbol>VRUS</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001397331</rptOwnerCik>
            <rptOwnerName>Williamson Robert F III</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>303A COLLEGE ROAD EAST</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PRINCETON</rptOwnerCity>
            <rptOwnerState>NJ</rptOwnerState>
            <rptOwnerZipCode>08540</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, $.001 par value per share</value>
            </securityTitle>
            <transactionDate>
                <value>2008-09-24</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>2000</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>8666</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">This restricted stock award was granted under the Company's 2007 Equity Incentive Plan.  The shares subject to the restricted stock award will become vested on July 16, 2009 if the Grantee is and has remained in continuous service to the Company as a Director; provided, however, that if the Grantee's service to the Company as a Director ceases prior to July 16, 2009 solely because the Grantee is nominated to serve as a Director but is not re-elected to the Board, the restricted shares will become vested at the expiration of the Grantee's term as a Director.</footnote>
    </footnotes>

    <remarks>This amendment is being filed to correct the number of shares of Common Stock owned following the reported transaction and to correct the par value of the Issuer's Common Stock.</remarks>

    <ownerSignature>
        <signatureName>Bryce A. Roberts, Attorney in Fact for Robert F. Williamson</signatureName>
        <signatureDate>2008-09-30</signatureDate>
    </ownerSignature>
</ownershipDocument>
