XML 12 R1.htm IDEA: XBRL DOCUMENT v3.3.1.900
Document And Entity Information - shares
6 Months Ended
Jan. 31, 2016
Mar. 11, 2016
Document Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jan. 31, 2016  
Document Fiscal Year Focus 2016  
Document Fiscal Period Focus Q2  
Entity Registrant Name OPIANT PHARMACEUTICALS, INC.  
Entity Central Index Key 0001385508  
Current Fiscal Year End Date --07-31  
Entity Filer Category Smaller Reporting Company  
Trading Symbol OPNT  
Entity Common Stock, Shares Outstanding   1,912,946