EX-23.1 4 a2183597zex-23_1.htm EXHIBIT 23.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

        We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (No. 333-44117, No. 333-62936 and No. 333-126583) of Mac-Gray Corporation of our report dated March 12, 2008 relating to the financial statements, financial statement schedule and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

/s/ PricewaterhouseCoopers LLP

Boston, Massachusetts
March 12, 2008




QuickLinks