Quarterly report pursuant to Section 13 or 15(d)

Cover

v3.22.2.2
Cover - shares
3 Months Ended
Oct. 31, 2022
Dec. 15, 2022
Cover [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Oct. 31, 2022  
Document Fiscal Period Focus Q1  
Document Fiscal Year Focus 2023  
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 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 Common Stock, Shares Outstanding   2,970,515