Attached files

file filename
10-K - 10-K - TREX CO INCd93959d10k.htm
EX-32 - EX-32 - TREX CO INCd93959dex32.htm
EX-31.2 - EX-31.2 - TREX CO INCd93959dex312.htm
EX-31.1 - EX-31.1 - TREX CO INCd93959dex311.htm
EX-21 - EX-21 - TREX CO INCd93959dex21.htm
EX-10.3 - EX-10.3 - TREX CO INCd93959dex103.htm
EX-4.19 - EX-4.19 - TREX CO INCd93959dex419.htm

Exhibit 23

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the following Registration Statements:

 

   

Registration Statements (Form S-8, No. 333-76847, 333-83998, 333-124685, and 333-150690) pertaining to the amended and restated 1999 Stock Option and Incentive Plan (now 2005 Stock Incentive Plan) of Trex Company, Inc., and

 

   

Registration Statement (Form S-3, No. 333-161732) of Trex Company, Inc.;

of our reports dated February 22, 2021, 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, 2020.

/s/ Ernst & Young LLP

Richmond, Virginia

February 22, 2021