Attached files

file filename
EXCEL - IDEA: XBRL DOCUMENT - COMFORT SYSTEMS USA INCFinancial_Report.xls
10-K - 10-K - COMFORT SYSTEMS USA INCa2223211z10-k.htm
EX-21.1 - EX-21.1 - COMFORT SYSTEMS USA INCa2223211zex-21_1.htm
EX-32.2 - EX-32.2 - COMFORT SYSTEMS USA INCa2223211zex-32_2.htm
EX-32.1 - EX-32.1 - COMFORT SYSTEMS USA INCa2223211zex-32_1.htm
EX-31.1 - EX-31.1 - COMFORT SYSTEMS USA INCa2223211zex-31_1.htm
EX-31.2 - EX-31.2 - COMFORT SYSTEMS USA INCa2223211zex-31_2.htm
EX-10.33 - EX-10.33 - COMFORT SYSTEMS USA INCa2223211zex-10_33.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-138377) pertaining to the 2006 Equity Incentive Plan and 2006 Stock Options/SAR Plan for Non-Employee Directors of Comfort Systems USA, Inc.

    (4)
    Registration Statement (Form S-8 No. 333-188302) pertaining to the Comfort Systems USA, Inc. 2012 Equity Incentive Plan.

of our reports dated February 26, 2015, 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, 2014.

/s/ Ernst & Young, LLP

Houston, Texas
February 26, 2015




QuickLinks

Consent of Independent Registered Public Accounting Firm