v3.19.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2019
Jul. 31, 2019
Document And Entity Information [Line Items]    
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 CARGURUS, INC.  
Trading Symbol CARG  
Entity Central Index Key 0001494259  
Current Fiscal Year End Date --12-31  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Current Reporting Status Yes  
Entity Ex Transition Period false  
Entity File Number 001-38233  
Entity Tax Identification Number 043843478  
Entity Address, Address Line One 2 Canal Park  
Entity Address, Address Line Two 4th Floor  
Entity Address, City or Town Cambridge  
Entity Address, State or Province Massachusetts  
Entity Address, Postal Zip Code 02141  
City Area Code 617  
Local Phone Number 354-0068  
Class A Common Stock    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   111,581,300
Class B Common Stock    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   20,702,084