Exhibit 23.1
EXHIBIT 23 — Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the Registration Statement (Form S-8 No. 333-84055) pertaining to the Paychex, Inc. 401(k) Incentive Retirement Plan of our report dated June 24, 2010, with respect to the financial statements and schedule of Paychex, Inc. 401(k) Incentive Retirement Plan included in this Annual Report (Form 11-K) for the year ended December 31, 2009.
         
     
  /s/ Ernst & Young LLP    
     
     
 
June 24, 2010
Cleveland, Ohio

18