1 EXHIBIT 23.1 CONSENT OF INDEPENDENT AUDITORS We consent to the incorporating by reference in the Registration Statements (Forms S-8) pertaining to the Administaff, Inc. 1997 Employee Stock Purchase Plan and the Administaff, Inc. 1997 Incentive Plan of our report dated February 13, 1998, with respect to the consolidated financial statements of Administaff, Inc., included in the Annual Report (Form 10-K) for the year ended December 31, 1997. ERNST & YOUNG LLP Houston, Texas March 12, 1998