Attached files

file filename
EXCEL - IDEA: XBRL DOCUMENT - TREX CO INCFinancial_Report.xls
10-K - FORM 10-K - TREX CO INCd267044d10k.htm
EX-21 - EXHIBIT 21 - TREX CO INCd267044dex21.htm
EX-31.1 - EXHIBIT 31.1 - TREX CO INCd267044dex311.htm
EX-10.7 - EXHIBIT 10.7 - TREX CO INCd267044dex107.htm
EX-31.2 - EXHIBIT 31.2 - TREX CO INCd267044dex312.htm
EX-10.1 - EXHIBIT 10.1 - TREX CO INCd267044dex101.htm
EX-10.5 - EXHIBIT 10.5 - TREX CO INCd267044dex105.htm
EX-10.10 - EXHIBIT 10.10 - TREX CO INCd267044dex1010.htm
EX-32 - EXHIBIT 32 - TREX CO INCd267044dex32.htm

Exhibit 23

Consent of Ernst & Young LLP, Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the following Registration Statements of Trex Company, Inc.

 

   

Registration Statement (Form S-8, No. 333-76847),

 

   

Registration Statement (Form S-8, No. 333-83998),

 

   

Registration Statement (Form S-8, No. 333-124685),

 

   

Registration Statement (Form S-8, No. 333-150690), and

 

   

Registration Statement (Form S-3, No. 333-161732);

of our reports dated March 7, 2012, with respect to the consolidated financial statements and schedule of Trex Company, Inc. and the effectiveness of internal control over financial reporting of Trex Company, Inc. included in this Annual Report (Form 10-K) of Trex Company, Inc. for the year ended December 31, 2011.

/s/ Ernst & Young LLP

Richmond, Virginia

March 7, 2012