Annual report pursuant to Section 13 and 15(d)

Cover

v3.22.2.2
Cover – USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2022
Oct. 31, 2022
Jan. 31, 2022
Cover [Abstract]      
Document Type 10-K     
Amendment Flag false     
Document Annual Report true     
Document Transition Report false     
Document Period End Date Jul. 31, 2022     
Document Fiscal Period Focus FY     
Document Fiscal Year Focus 2022     
Current Fiscal Year End Date –07-31     
Entity File Number 000-54318     
Entity Registrant Name ONCOSEC MEDICAL INCORPORATED     
Entity Central Index Key 0001444307     
Entity Tax Identification Number 98-0573252     
Entity Incorporation, State or Country Code NV     
Entity Address, Address Line One 24 North Main Street     
Entity Address, City or Town Pennington     
Entity Address, State or Province NJ     
Entity Address, Postal Zip Code 08534     
City Area Code (855)     
Local Phone Number 662-6732     
Title of 12(b) Security Common Stock, par value $0.0001 per share     
Trading Symbol ONCS     
Security Exchange Name NASDAQ     
Entity Well-known Seasoned Issuer No     
Entity Voluntary Filers No     
Entity Current Reporting Status Yes     
Entity Interactive Data Current Yes     
Entity Filer Category Non-accelerated Filer     
Entity Small Business true     
Entity Emerging Growth Company false     
Entity Shell Company false     
Entity Public Float     $ 21 
Entity Common Stock, Shares Outstanding   39,396,309   
Documents Incorporated by Reference None     
Auditor Firm ID 199     
Auditor Name Mayer Hoffman McCann P.C     
Auditor Location San Diego, California