2.4.0.8135 - Disclosure - Business Overview and Summary of Accounting Policies - Additional Information (Detail)truefalsefalse1falsefalsefalseeol_PE10315---13S-1-0008_STD_36_20121214_0http://www.sec.gov/CIK0001069308duration2012-11-09T00:00:002012-12-14T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0sharesStandardhttp://www.xbrl.org/2003/instanceshares02falsefalsefalseeol_PE10315---13S-1-0008_STD_30_20060630_0http://www.sec.gov/CIK0001069308duration2006-06-01T00:00:002006-06-30T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure03falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$4falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_91_20120331_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$5falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20121231_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$6falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20111231_0http://www.sec.gov/CIK0001069308duration2011-01-01T00:00:002011-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$7falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_3631_20121231_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002012-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$8falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_3721_20130331_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002013-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$9falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_0_20101231_0http://www.sec.gov/CIK0001069308instant2010-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$10falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_705999x832712http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseOpexa Hong Kongdei_LegalEntityAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_SubsidiariesOneMemberdei_LegalEntityAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$11falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_31_20090831_0_708873x826920http://www.sec.gov/CIK0001069308duration2009-08-01T00:00:002009-08-31T00:00:00falsefalseTechnology License Agreementus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_TechnologyLicenseAgreementMemberus-gaap_StatementScenarioAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3opxa_DescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4opxa_ProceedsFromUpFrontCashPaymentopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11truefalsefalse30000003000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryProceeds From Up Front Cash PaymentNo definition available.false23false4us-gaap_ProceedsFromLicenseFeesReceivedus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11truefalsefalse500000500000falsefalsefalsexbrli:monetaryItemTypemonetaryCash received from licensees for license fees during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
false24false4us-gaap_StockholdersEquityNoteStockSplitConversionRatio1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse0.250.25falsefalsefalse2truefalsefalse0.100.10falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:pureItemTypepureRatio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Stock Split
-URI http://asc.fasb.org/extlink&oid=6525746
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 4
-Subparagraph (SAB TOPIC 4.C)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187143-122770
false05false4opxa_ShareOutstandingBeforeReverseSplitopxa_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2360000023600000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesShare Outstanding Before Reverse SplitNo definition available.false16false4us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse59000005900000falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse79915597991559falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse62493696249369falsefalsefalse6truefalsefalse57620285762028falsefalsefalse7truefalsefalse62493696249369falsefalsefalse8truefalsefalse79915597991559falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false17false4us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse78343367834336falsefalsefalse4truefalsefalse46779564677956falsefalsefalse5truefalsefalse592004592004falsefalsefalse6truefalsefalse71092157109215falsefalsefalse7truefalsefalse592004592004falsefalsefalse8truefalsefalse78343367834336falsefalsefalse9truefalsefalse38125353812535falsefalsefalse10truefalsefalse39023902falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.1)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false28false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse003 yearsfalsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false09false4us-gaap_ResearchAndDevelopmentExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse16213661621366USD$falsetruefalse4truefalsefalse14900971490097USD$falsetruefalse5truefalsefalse63184766318476USD$falsetruefalse6truefalsefalse33400383340038USD$falsetruefalse7truefalsefalse7649735176497351USD$falsetruefalse8truefalsefalse7811871778118717USD$falsetruefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 985
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 730
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373
false2falseBusiness Overview and Summary of Accounting Policies - Additional Information (Detail) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureBusinessOverviewAndSummaryOfAccountingPoliciesAdditionalInformation119