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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-04-26</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001130591</issuerCik>
        <issuerName>XENOPORT INC</issuerName>
        <issuerTradingSymbol>XNPT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001296771</rptOwnerCik>
            <rptOwnerName>Freund John Gordon</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>125 UNIVERSITY AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2>C/O SKYLINE VENTURES</rptOwnerStreet2>
            <rptOwnerCity>PALO ALTO</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94301</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</value>
            </securityTitle>
            <transactionDate>
                <value>2007-04-26</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>120644</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>705169</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Through Fund</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>13200</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Beneficial Ownership</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">On April 26, 2007, Skyline Venture Partners Qualified Purchaser Fund II, LP distributed 76,612 shares of XenoPort, Inc. to their Limited Partners. Of these shares, 767 were distributed to Skyline Venture Management II, LLC. On April 26, 2007, Skyline Expansion Fund LP distributed 38,522 shares of XenoPort, Inc. to their Limited Partners. Of these shares, 4 were distributed to Skyline Venture Partners III, LP, 181 were distributed to Skyline Venture Qualified Purchaser Fund III, LP, and 46 were distributed to Skyline Venture Management III, LLC. On November 6, 2006, Skyline Venture Partners II, LP distributed 6,577 shares of XenoPort, Inc. to their Limited Partners. Of these shares, 69 were distributed to Skyline Venture Management II, LLC.</footnote>
        <footnote id="F2">These shares are held by multiple entities. 47,269 are held by Skyline Venture Partners II, LP, 550,662 are held by Skyline Venture Partners Qualified Purchaser Fund II, LP, 103,377 are held by Skyline Expansion Fund, LP, 3,100 are held by Skyline Venture Management II, LLC, 10 are held by Skyline Venture Partners III, LP, 403 are held by Skyline Ventures Qualified Purchaser Fund III, LP, 245 are held by Skyline Expansion Fund Management, LLC and 103 are held by Skyline Venture Management III, LLC. John G. Freund is connected to each of these entities as managing director or managing member either directly or through indirect ownership and in such capacity may be deemed to have voting and investment power with respect to shares held by each of these entities. John G. Freund disclaims beneficial ownership of such securities except to the extent of his proportionate partnership interest therein.</footnote>
        <footnote id="F3">Includes 2,600 shares held by John Freund as custodian for his two sons, 7,700 shares owned by a retirement account of which he is the beneficiary and 2,900 shares held by the Paul Brooke 1989 Insurance Trust of which he is a trustee.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Martyn J Webster
Attorney-in-fact</signatureName>
        <signatureDate>2007-04-30</signatureDate>
    </ownerSignature>
</ownershipDocument>
