XML 12 R1.htm IDEA: XBRL DOCUMENT v3.24.3
Document and Entity Information - shares
9 Months Ended
Sep. 30, 2024
Oct. 18, 2024
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Sep. 30, 2024  
Document Transition Report false  
Securities Act File Number 1-13011  
Entity Registrant Name COMFORT SYSTEMS USA, INC.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 76-0526487  
Entity Address, Address Line One 675 Bering Drive  
Entity Address, Address Line Two Suite 400  
Entity Address, City or Town Houston  
Entity Address, State or Province TX  
Entity Address, Postal Zip Code 77057  
City Area Code 713  
Local Phone Number 830-9600  
Title of 12(b) Security Common Stock, $0.01 par value  
Trading Symbol FIX  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   35,592,558
Entity Central Index Key 0001035983  
Document Fiscal Year Focus 2024  
Document Fiscal Period Focus Q3  
Current Fiscal Year End Date --12-31  
Amendment Flag false