<?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>268</ContextCount>
  <ElementCount>286</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>65</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>10010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/BalanceSheet</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>10015 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/BalanceSheetParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>10020 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/StatementOfIncome</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>10030 - Statement - Consolidated Statements of Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/StatementsOfStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>10035 - Statement - Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/StatementsOfStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10040 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/CashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>11010 - Disclosure - Nature of Operations and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureNatureOfOperationsAndBasisOfPresentation</Role>
      <ShortName>Nature of Operations and Basis of Presentation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>11020 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>11030 - Disclosure - Cash and Liquidity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCashAndLiquidity</Role>
      <ShortName>Cash and Liquidity</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>11040 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>11050 - Disclosure - Intangible Asset Acquisition and Cross License Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIntangibleAssetAcquisitionAndCrossLicenseAgreement</Role>
      <ShortName>Intangible Asset Acquisition and Cross License Agreement</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>11060 - Disclosure - Acquisition Obligation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureAcquisitionObligation</Role>
      <ShortName>Acquisition Obligation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>11070 - Disclosure - Private Placements and Public Offering</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOffering</Role>
      <ShortName>Private Placements and Public Offering</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>11080 - Disclosure - Other Equity and Common Stock Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureOtherEquityAndCommonStockTransactions</Role>
      <ShortName>Other Equity and Common Stock Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11090 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11110 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11120 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>12020 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>13020 - Disclosure - Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesTables</Role>
      <ShortName>Significant Accounting Policies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>13040 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>13050 - Disclosure - Intangible Asset Acquisition and Cross License Agreement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIntangibleAssetAcquisitionAndCrossLicenseAgreementTables</Role>
      <ShortName>Intangible Asset Acquisition and Cross License Agreement (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>13070 - Disclosure - Private Placements and Public Offering (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingTables</Role>
      <ShortName>Private Placements and Public Offering (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>13090 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>13100 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>14010 - Disclosure - Nature of Operations and Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureNatureOfOperationsandBasisOfPresentationDetails</Role>
      <ShortName>Nature of Operations and Basis of Presentation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>14020 - Disclosure - Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesDetails</Role>
      <ShortName>Significant Accounting Policies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>14021 - Disclosure - Significant Accounting Policies (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesDetails2</Role>
      <ShortName>Significant Accounting Policies (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>14030 - Disclosure - Cash and Liquidity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCashAndLiquidityDetails</Role>
      <ShortName>Cash and Liquidity (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>14040 - Disclosure - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureFairValueOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>14041 - Disclosure - Fair Value of Financial Instruments (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureFairValueOfFinancialInstrumentsDetails2</Role>
      <ShortName>Fair Value of Financial Instruments (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>14050 - Disclosure - Intangible Asset Acquisition and Cross License Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIntangibleAssetAcquisitionAndCrossLicenseAgreementDetails</Role>
      <ShortName>Intangible Asset Acquisition and Cross License Agreement (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>14060 - Disclosure - Acquisition Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureAcquisitionObligationDetails</Role>
      <ShortName>Acquisition Obligation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>14061 - Disclosure - Acquisition Obligation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureAcquisitionObligationDetails2</Role>
      <ShortName>Acquisition Obligation (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>14070 - Disclosure - Private Placements and Public Offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingDetails</Role>
      <ShortName>Private Placements and Public Offering (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>14071 - Disclosure - Private Placements and Public Offering (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingDetails2</Role>
      <ShortName>Private Placements and Public Offering (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>14080 - Disclosure - Other Equity and Common Stock Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureOtherEquityAndCommonStockTransactionsDetails</Role>
      <ShortName>Other Equity and Common Stock Transactions (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>14090 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>14091 - Disclosure - Stock-Based Compensation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationDetails2</Role>
      <ShortName>Stock-Based Compensation (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>14100 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>14101 - Disclosure - Income Taxes (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIncomeTaxesDetails2</Role>
      <ShortName>Income Taxes (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>14102 - Disclosure - Income Taxes (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIncomeTaxesDetails3</Role>
      <ShortName>Income Taxes (Details 3)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>14110 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>14120 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureRelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>20010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/BalanceSheetQuarterEnd</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>20015 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/BalanceSheetParentheticalQuarterEnd</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>20020 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/StatementOfIncomeQuarterEnd</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>20030 - Statement - Consolidated Statements of Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/StatementsOfStockholdersEquityQuarterEnd</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>20035 - Statement - Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/StatementsOfStockholdersEquityParentheticalQuarterEnd</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>20040 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/CashFlowsQuarterEnd</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>21010 - Disclosure - Nature of Operations and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureNatureOfOperationsAndBasisOfPresentationQuarterEnd</Role>
      <ShortName>Nature of Operations and Basis of Presentation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>21020 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesQuarterEnd</Role>
      <ShortName>Significant Accounting Policies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>21030 - Disclosure - Cash and Cash Equivalents and Liquidity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCashAndCashEquivalentsAndLiquidityQuarterEnd</Role>
      <ShortName>Cash and Cash Equivalents and Liquidity</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>21040 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureFairValueOfFinancialInstrumentsQuarterEnd</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>21050 - Disclosure - Intangible Asset Acquisition and Cross License Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIntangibleAssetAcquisitionAndCrossLicenseAgreementQuarterEnd</Role>
      <ShortName>Intangible Asset Acquisition and Cross License Agreement</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>21060 - Disclosure - Acquisition Obligation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureAcquisitionObligationQuarterEnd</Role>
      <ShortName>Acquisition Obligation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>21070 - Disclosure - Private Placements and Public Offerings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingsQuarterEnd</Role>
      <ShortName>Private Placements and Public Offerings</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>21080 - Disclosure - Other Equity and Common Stock Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureOtherEquityAndCommonStockTransactionsQuarterEnd</Role>
      <ShortName>Other Equity and Common Stock Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>21090 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationQuarterEnd</Role>
      <ShortName>Stock-Based Compensation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>21100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIncomeTaxesQuarterEnd</Role>
      <ShortName>Income Taxes</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>21110 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCommitmentsAndContingenciesQuarterEnd</Role>
      <ShortName>Commitments and Contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>21120 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureRelatedPartyTransactionsQuarterEnd</Role>
      <ShortName>Related Party Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>21130 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSubsequentEventQuarterEnd</Role>
      <ShortName>Subsequent Event</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>22020 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesPoliciesQuarterEnd</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>23020 - Disclosure - Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesTablesQuarterEnd</Role>
      <ShortName>Significant Accounting Policies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>23050 - Disclosure - Intangible Asset Acquisition and Cross License Agreement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIntangibleAssetAcquisitionAndCrossLicenseAgreementTablesQuarterEnd</Role>
      <ShortName>Intangible Asset Acquisition and Cross License Agreement (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>23070 - Disclosure - Private Placements and Public Offerings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingsTablesQuarterEnd</Role>
      <ShortName>Private Placements and Public Offerings (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>23090 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationTablesQuarterEnd</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>24010 - Disclosure - Nature of Operations and Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureNatureOfOperationsAndBasisOfPresentationDetailsQuarterEnd</Role>
      <ShortName>Nature of Operations and Basis of Presentation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>24020 - Disclosure - Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesDetailsQuarterEnd</Role>
      <ShortName>Significant Accounting Policies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>24021 - Disclosure - Significant Accounting Policies (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSignificantAccountingPoliciesDetails2QuarterEnd</Role>
      <ShortName>Significant Accounting Policies (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>24030 - Disclosure - Cash and Cash Equivalents and Liquidity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCashAndCashEquivalentsAndLiquidityDetailsQuarterEnd</Role>
      <ShortName>Cash and Cash Equivalents and Liquidity (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>24040 - Disclosure - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureFairValueOfFinancialInstrumentsDetailsQuarterEnd</Role>
      <ShortName>Fair Value of Financial Instruments (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>24050 - Disclosure - Intangible Asset Acquisition and Cross License Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureIntangibleAssetAcquisitionAndCrossLicenseAgreementDetailsQuarterEnd</Role>
      <ShortName>Intangible Asset Acquisition and Cross License Agreement (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>24060 - Disclosure - Acquisition Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureAcquisitionObligationDetailsQuarterEnd</Role>
      <ShortName>Acquisition Obligation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>24061 - Disclosure - Acquisition Obligation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureAcquisitionObligationDetails2QuarterEnd</Role>
      <ShortName>Acquisition Obligation (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>24070 - Disclosure - Private Placements and Public Offerings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingsDetailsQuarterEnd</Role>
      <ShortName>Private Placements and Public Offerings (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>24071 - Disclosure - Private Placements and Public Offerings (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosurePrivatePlacementsAndPublicOfferingsDetails2QuarterEnd</Role>
      <ShortName>Private Placements and Public Offerings (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>24080 - Disclosure - Other Equity and Common Stock Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureOtherEquityAndCommonStockTransactionsDetailsQuarterEnd</Role>
      <ShortName>Other Equity and Common Stock Transactions (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>24081 - Disclosure - Other Equity and Common Stock Transactions (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureOtherEquityAndCommonStockTransactionsDetails2QuarterEnd</Role>
      <ShortName>Other Equity and Common Stock Transactions (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>24090 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationDetailsQuarterEnd</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>24091 - Disclosure - Stock-Based Compensation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureStockBasedCompensationDetails2QuarterEnd</Role>
      <ShortName>Stock-Based Compensation (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>24110 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureCommitmentsAndContingenciesDetailsQuarterEnd</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>24130 - Disclosure - Subsequent Event (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oncosec.com/role/DisclosureSubsequentEventDetailsQuarterEnd</Role>
      <ShortName>Subsequent Event (Details)</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">Element oncs_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate had a mix of decimals attribute values: 2 4.</Log>
    <Log type="Info">Element oncs_StockIssuanceCostsPlacementExpenseReimbursementPercentage had a mix of decimals attribute values: 0 2.</Log>
    <Log type="Info">Element us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights had a mix of decimals attribute values: 2 4.</Log>
    <Log type="Info">Element us-gaap_FairValueAssumptionsExpectedVolatilityRate had a mix of decimals attribute values: 3 4.</Log>
    <Log type="Info">Process Flow-Through: 10010 - Statement - Consolidated Balance Sheets</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Apr. 30, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jul. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Apr. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jul. 31, 2010'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jul. 31, 2009'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jul. 31, 2008'</Log>
    <Log type="Info">Process Flow-Through: 10015 - Statement - Consolidated Balance Sheets (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 10020 - Statement - Consolidated Statements of Operations</Log>
    <Log type="Info">Process Flow-Through: 10035 - Statement - Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 10040 - Statement - Consolidated Statements of Cash Flows</Log>
    <Log type="Info">Process Flow-Through: 20010 - Statement - Consolidated Balance Sheets</Log>
    <Log type="Info">Process Flow-Through: 20015 - Statement - Consolidated Balance Sheets (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 20020 - Statement - Consolidated Statements of Operations</Log>
    <Log type="Info">	Process Flow-Through: Removing column '6 Months Ended
Jul. 31, 2008'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Jul. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Jul. 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Jul. 31, 2010'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Jul. 31, 2009'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '54 Months Ended
Jul. 31, 2012'</Log>
    <Log type="Info">Process Flow-Through: 20035 - Statement - Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 20040 - Statement - Consolidated Statements of Cash Flows</Log>
    <Log type="Info">	Process Flow-Through: Removing column '9 Months Ended
Apr. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Jul. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Jul. 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '54 Months Ended
Jul. 31, 2012'</Log>
  </Logs>
  <InputFiles>
    <File>oncs-20130619.xml</File>
    <File>oncs-20130619.xsd</File>
    <File>oncs-20130619_cal.xml</File>
    <File>oncs-20130619_def.xml</File>
    <File>oncs-20130619_lab.xml</File>
    <File>oncs-20130619_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
