XML 15 R1.htm IDEA: XBRL DOCUMENT v3.22.0.1
Document and Entity Information - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Feb. 18, 2022
Jun. 30, 2021
Cover [Abstract]        
Document Type 10-K      
Document Annual Report true      
Document Period End Date Dec. 31, 2021      
Document Transition Report false      
Entity 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, $.01 par value      
Trading Symbol FIX      
Security Exchange Name NYSE      
Entity Well-known Seasoned Issuer Yes      
Entity Voluntary Filers No      
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 Public Float       $ 2,790
Entity Common Stock, Shares Outstanding     35,956,839  
Entity Central Index Key 0001035983      
Document Fiscal Year Focus 2021      
Document Fiscal Period Focus FY      
Current Fiscal Year End Date --12-31      
Amendment Flag false      
ICFR Auditor Attestation Flag true      
Auditor Name Deloitte & Touche LLP Ernst & Young LLP    
Auditor Firm ID 34 42    
Auditor Location Houston, Texas Houston, Texas