<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="../4_X02.xsl"?><ownershipDocument>    <schemaVersion>X0202</schemaVersion>    <documentType>4</documentType>    <periodOfReport>2007-11-27</periodOfReport>    <issuer>        <issuerCik>0001382911</issuerCik>        <issuerName>Orexigen Therapeutics, Inc.</issuerName>        <issuerTradingSymbol>OREX</issuerTradingSymbol>    </issuer>    <reportingOwner>        <reportingOwnerId>            <rptOwnerCik>0001024000</rptOwnerCik>            <rptOwnerName>BLAIR JAMES C</rptOwnerName>        </reportingOwnerId>        <reportingOwnerAddress>            <rptOwnerStreet1>C/O DOMAIN ASSOCIATES, LLC</rptOwnerStreet1>            <rptOwnerStreet2>ONE PALMER SQUARE</rptOwnerStreet2>            <rptOwnerCity>PRINCETON</rptOwnerCity>            <rptOwnerState>NJ</rptOwnerState>            <rptOwnerZipCode>08542</rptOwnerZipCode>            <rptOwnerStateDescription></rptOwnerStateDescription>        </reportingOwnerAddress>        <reportingOwnerRelationship>            <isDirector>0</isDirector>            <isOfficer>0</isOfficer>            <isTenPercentOwner>1</isTenPercentOwner>            <isOther>0</isOther>        </reportingOwnerRelationship>    </reportingOwner>    <nonDerivativeTable>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2007-11-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>J</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>                <footnoteId id="F1"/>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>900000</value>                </transactionShares>                <transactionPricePerShare>                    <footnoteId id="F1"/>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>3543832</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>By Domain Partners V, L.P.</value>                    <footnoteId id="F2"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2007-11-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>J</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>                <footnoteId id="F1"/>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>1963</value>                </transactionShares>                <transactionPricePerShare>                    <footnoteId id="F1"/>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>1963</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>By Domain Associates, LLC</value>                    <footnoteId id="F2"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2007-11-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>J</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>                <footnoteId id="F1"/>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>19373</value>                </transactionShares>                <transactionPricePerShare>                    <footnoteId id="F1"/>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>19373</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value></value>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2007-11-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>21000</value>                </transactionShares>                <transactionPricePerShare>                    <value>14.27</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>83975</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>By DP V Associates, L.P.</value>                    <footnoteId id="F2"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>    </nonDerivativeTable>    <footnotes>        <footnote id="F1">Distribution of shares from Domain Partners V, L.P. to its partners, and the simultaneous distribution of the portion of such shares received by One Palmer Square Associates V, LLC, its general partner, to its members.</footnote>        <footnote id="F2">The Reporting Person is a Managing Member of Domain Associates, LLC and a Managing Member of One Palmer Square Associates V, L.P., which is the sole general partner of Domain Partners V, L.P. and DP V Associates, L.P.  Pursuant to Instruction 4(b)(iv) of Form 4, the Reporting Person has elected to report as indirectly beneficially owned the entire number of securities beneficially owned by each such entity.  The Reporting Person disclaims beneficial ownership of any securities, and any proceeds thereof, that exceed his or her pecuniary interest therein and/or that are not actually distributed to him or her.</footnote>    </footnotes>    <remarks></remarks>    <ownerSignature>        <signatureName>/s/Kathleen K. Schoemaker, Attorney-in-Fact</signatureName>        <signatureDate>2007-11-27</signatureDate>    </ownerSignature></ownershipDocument>