Attached files

file filename
10-K - 10-K - COMFORT SYSTEMS USA INCa2196867z10-k.htm
EX-31.1 - EX-31.1 - COMFORT SYSTEMS USA INCa2196867zex-31_1.htm
EX-32.2 - EX-32.2 - COMFORT SYSTEMS USA INCa2196867zex-32_2.htm
EX-31.2 - EX-31.2 - COMFORT SYSTEMS USA INCa2196867zex-31_2.htm
EX-21.1 - EX-21.1 - COMFORT SYSTEMS USA INCa2196867zex-21_1.htm
EX-32.1 - EX-32.1 - COMFORT SYSTEMS USA INCa2196867zex-32_1.htm

QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

        We consent to the incorporation by reference in the following Registration Statements:

    (1)
    Registration Statement (Form S-8 No. 333-38011) pertaining to the 1997 Long-Term Incentive Plan, 1997 Non-Employee Director's Stock Plan, and 1998 Employee Stock Purchase Plan of Comfort Systems USA, Inc.

    (2)
    Registration Statement (Form S-8 No. 333-44354) pertaining to the 2000 Incentive Plan of Comfort Systems USA, Inc.

    (3)
    Registration Statement (Form S-8 No. 333-44356) pertaining to the 401(k) Plan of Comfort Systems USA, Inc.

    (4)
    Registration Statement (Form S-8 No. 333-138377) pertaining to the 2006 Equity Incentive Plan and 2006 Stock Options/SAR Plan for Non-Employee Directors of Comfort Systems USA, Inc.

of our reports dated March 1, 2010, with respect to the consolidated financial statements of Comfort Systems USA, Inc. and the effectiveness of internal control over financial reporting of Comfort Systems USA, Inc., included in this Annual Report (Form 10-K) for the year ended December 31, 2009.

    /s/ Ernst & Young, LLP

Houston, Texas
March 1, 2010

 

 



QuickLinks

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM