v3.19.2
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2019
Aug. 02, 2019
Document and Entity Information [Abstract]    
Entity Registrant Name Amphastar Pharmaceuticals, Inc.  
Document Type 10-Q  
Current Fiscal Year End Date --12-31  
Amendment Flag false  
Entity Central Index Key 0001297184  
Entity Current Reporting Status Yes  
Entity Filer Category Accelerated Filer  
Document Period End Date Jun. 30, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q2  
Entity Common Stock, Shares Outstanding   47,226,496
Entity Small Business false  
Entity Emerging Growth Company true  
Entity Ex Transition Period true  
Entity Shell Company false