v3.19.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2019
Jul. 23, 2019
Document And Entity Information [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q2  
Entity Registrant Name INFINITY PHARMACEUTICALS, INC.  
Entity Central Index Key 0001113148  
Current Fiscal Year End Date --12-31  
Entity Filer Category Accelerated Filer  
Entity Common Stock, Shares Outstanding (in shares)   57,026,782
Entity Emerging Growth Company false  
Entity Small Business true  
Entity Current Reporting Status Yes  
Entity Shell Company false