EXHIBIT 23

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (No. 333-120260, No. 333-43925, No. 333-48172, No. 333-94223, and No. 333-98123) of CDW Corporation of our report dated March 15, 2005 relating to the financial statements, financial statement schedules, management’s assessment of the effectiveness of internal control over financial reporting and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

     
/s/ PricewaterhouseCoopers LLP
   

   
PricewaterhouseCoopers LLP
   
Chicago, Illinois
   
March 15, 2005