XML 12 R1.htm IDEA: XBRL DOCUMENT v3.10.0.1
Document And Entity Information - shares
9 Months Ended
Sep. 30, 2018
Oct. 30, 2018
Document Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Sep. 30, 2018  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q3  
Entity Registrant Name ANI PHARMACEUTICALS INC  
Entity Central Index Key 0001023024  
Current Fiscal Year End Date --12-31  
Entity Filer Category Accelerated Filer  
Trading Symbol ANIP  
Entity Emerging Growth Company false  
Entity Small Business false  
Common Stock [Member]    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   11,846,735
Class C Special Stock [Member]    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   10,864