<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Version>2.4.0.6</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>148</ContextCount>
  <ElementCount>122</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>13</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>3</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>101 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/DocumentDocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>103 - Statement - BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/StatementOfFinancialPositionClassified</Role>
      <ShortName>BALANCE SHEETS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>104 - Statement - BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical</Role>
      <ShortName>BALANCE SHEETS (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>105 - Statement - STATEMENTS OF EXPENSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/StatementOfIncomeAlternative</Role>
      <ShortName>STATEMENTS OF EXPENSES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>106 - Statement - STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncome</Role>
      <ShortName>STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>107 - Statement - STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/StatementOfCashFlowsIndirect</Role>
      <ShortName>STATEMENTS OF CASH FLOWS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>108 - Disclosure - BUSINESS OVERVIEW AND SUMMARY OF ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsBusinessDescriptionAndAccountingPoliciesTextBlock</Role>
      <ShortName>BUSINESS OVERVIEW AND SUMMARY OF ACCOUNTING POLICIES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>109 - Disclosure - CASH AND CASH EQUIVALENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsCashAndCashEquivalentsDisclosureTextBlock</Role>
      <ShortName>CASH AND CASH EQUIVALENTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>110 - Disclosure - PROPERTY AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock</Role>
      <ShortName>PROPERTY AND EQUIPMENT</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>111 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock</Role>
      <ShortName>INCOME TAXES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>112 - Disclosure - LOAN PAYABLE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock</Role>
      <ShortName>LOAN PAYABLE</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>113 - Disclosure - CONVERTIBLE PROMISSORY NOTES</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsNotesPayableDisclosureTextBlock</Role>
      <ShortName>CONVERTIBLE PROMISSORY NOTES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>114 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>115 - Disclosure - EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</Role>
      <ShortName>EQUITY</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>116 - Disclosure - OPTIONS AND WARRANTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</Role>
      <ShortName>OPTIONS AND WARRANTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>117 - Disclosure - LICENSES AND GAIN ON EXTINGUISHMENT OF DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsSignificantAgreementsDisclosureTextBlock</Role>
      <ShortName>LICENSES AND GAIN ON EXTINGUISHMENT OF DEBT</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>118 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">Warning: The equity rendering routine was not applied to 106 - Statement - STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY.
None of the elements feature the 'periodStartLabel' preferred label role.</Log>
    <Log type="Info">Process Flow-Through: 103 - Statement - BALANCE SHEETS</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2009'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2008'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2007'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2006'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2005'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2004'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2003'</Log>
    <Log type="Info">Process Flow-Through: 104 - Statement - BALANCE SHEETS (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 105 - Statement - STATEMENTS OF EXPENSES</Log>
    <Log type="Info">	Process Flow-Through: Removing column '11 Months Ended
Dec. 31, 2003'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Dec. 31, 2009'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Dec. 31, 2008'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Dec. 31, 2007'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Dec. 31, 2006'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Dec. 31, 2005'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Dec. 31, 2004'</Log>
    <Log type="Info">Process Flow-Through: 106 - Statement - STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</Log>
    <Log type="Info">Process Flow-Through: 107 - Statement - STATEMENTS OF CASH FLOWS</Log>
  </Logs>
  <InputFiles>
    <File>opxa-20111231.xml</File>
    <File>opxa-20111231.xsd</File>
    <File>opxa-20111231_cal.xml</File>
    <File>opxa-20111231_def.xml</File>
    <File>opxa-20111231_lab.xml</File>
    <File>opxa-20111231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
