<?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>8</ContextCount>
  <ElementCount>89</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>0</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>3</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>11 - 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>13 - 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>14 - 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>15 - 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>16 - 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>R6.htm</HtmlFileName>
      <LongName>17 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</Role>
      <ShortName>Basis of Presentation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>18 - 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>R8.htm</HtmlFileName>
      <LongName>19 - Disclosure - Other Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsOtherAssetsDisclosureTextBlock</Role>
      <ShortName>Other Current Assets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>20 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.opexatherapeutics.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</Role>
      <ShortName>Stock-Based Compensation</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="Info">Process Flow-Through: 13 - Statement - BALANCE SHEETS</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Mar. 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2010'</Log>
    <Log type="Info">Process Flow-Through: 14 - Statement - BALANCE SHEETS (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 15 - Statement - STATEMENTS OF EXPENSES</Log>
    <Log type="Info">Process Flow-Through: 16 - Statement - STATEMENTS OF CASH FLOWS</Log>
  </Logs>
  <InputFiles>
    <File>opxa-20120331.xml</File>
    <File>opxa-20120331.xsd</File>
    <File>opxa-20120331_cal.xml</File>
    <File>opxa-20120331_def.xml</File>
    <File>opxa-20120331_lab.xml</File>
    <File>opxa-20120331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
