EXHIBIT 23

Consent of Independent Registered Public Accounting Firm

The Board of Directors
Benchmark Electronics, Inc.:
 
We consent to the incorporation by reference in the registration statements (No. 33-61660, No. 333-26805, No. 333-28997, No. 333-54186, No. 333-66889, No. 333-103183, No. 333-101744, No. 333-136798, and No. 333-156202) on Form S-8 of Benchmark Electronics, Inc. of our reports dated February 27, 2009, with respect to the consolidated balance sheets of Benchmark Electronics, Inc. as of December 31, 2008 and 2007, and the related consolidated statements of income (loss), comprehensive income (loss), shareholders’ equity, and cash flows for each of the years in the three-year period ended December 31, 2008, and the related financial statement schedule, and the effectiveness of internal control over financial reporting as of December 31, 2008, which reports appear in the December 31, 2008 annual report on Form 10-K of Benchmark Electronics, Inc. Our report refers to a change in the method of accounting for uncertain tax positions in 2007.
 
KPMG LLP
 
Houston, Texas
February 27, 2009