Attached files

file filename
EX-10.16 - EX-10.16 - TREX CO INCd304676dex1016.htm
10-K - FORM 10-K - TREX CO INCd304676d10k.htm
EX-32 - EX-32 - TREX CO INCd304676dex32.htm
EX-31.2 - EX-31.2 - TREX CO INCd304676dex312.htm
EX-31.1 - EX-31.1 - TREX CO INCd304676dex311.htm
EX-21 - EX-21 - TREX CO INCd304676dex21.htm
EX-10.29 - EX-10.29 - TREX CO INCd304676dex1029.htm
EX-10.1 - EX-10.1 - TREX CO INCd304676dex101.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:

 

    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 February 21, 2017, 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, 2016.

/s/ Ernst & Young LLP

McLean, Virginia

February 21, 2017