EXHIBIT 23.1: CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM We consent to the incorporation by reference in the following Registration Statements of Paychex, Inc. of our reports dated July 8, 2005 with respect to the consolidated financial statements of Paychex, Inc., Paychex, Inc.'s management's assessment of the effectiveness of internal control over financial reporting, and the effectiveness of internal control over financial reporting of Paychex, Inc., included in this Annual Report (Form 10-K) for the year ended May 31, 2005.