Exhibit 23
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the caption “Experts” and “Selected Financial Data” in the RegistrationStatement (Form S-1/A No. 333-00000) and related Prospectus of Graybar ElectricCompany, Inc., for the registration of 1,000,000 shares of its common stock and to theincorporation by reference therein of our report dated February 22, 2008, with respect tothe consolidated financial statements of Graybar Electric Company, Inc., included in itsAnnual Report on Form 10-K for the year ended December 31, 2007, and the related financial statement schedule included therein, filed wi th theSecurities and Exchange Commission.
/s/ Ernst & Young LLP
St. Louis, Missouri
September 30, 2008