v3.19.3
Document and Entity Information - shares
9 Months Ended
Sep. 30, 2019
Oct. 31, 2019
Document And Entity Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Sep. 30, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q3  
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 File Number 001-38233  
Entity Tax Identification Number 04-3843478  
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 MA  
Entity Address, Postal Zip Code 02141  
City Area Code 617  
Local Phone Number 354-0068  
Entity Interactive Data Current Yes  
Document Quarterly Report true  
Document Transition Report false  
Entity Incorporation, State or Country Code DE  
Title of 12(b) Security Class A Common Stock, par value $0.001 per share  
Security Exchange Name NASDAQ  
Class A Common Stock    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   91,447,156
Class B Common Stock    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   20,502,084