    <SEC-DOCUMENT>0001193125-22-081259-index.html : 20220322
    <SEC-HEADER>0001193125-22-081259.hdr.sgml : 20220322
    <ACCEPTANCE-DATETIME>20220322110501
    ACCESSION NUMBER:		0001193125-22-081259
    CONFORMED SUBMISSION TYPE:	DEF 14A
    PUBLIC DOCUMENT COUNT:		14
    CONFORMED PERIOD OF REPORT:	20220505
    FILED AS OF DATE:		20220322
    DATE AS OF CHANGE:		20220322

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			TREX CO INC
    		CENTRAL INDEX KEY:			0001069878
    		STANDARD INDUSTRIAL CLASSIFICATION:	LUMBER & WOOD PRODUCTS (NO FURNITURE) [2400]
    		IRS NUMBER:				541910453
    		STATE OF INCORPORATION:			DE
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		DEF 14A
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	001-14649
    		FILM NUMBER:		22757778

    	BUSINESS ADDRESS:
    		STREET 1:		160 EXETER DRIVE
    		CITY:			WINCHESTER
    		STATE:			VA
    		ZIP:			22603-8605
    		BUSINESS PHONE:		5405426300

    	MAIL ADDRESS:
    		STREET 1:		160 EXETER DRIVE
    		CITY:			WINCHESTER
    		STATE:			VA
    		ZIP:			22603-8605
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>DEF 14A
    <SEQUENCE>1
    <FILENAME>d26661ddef14a.htm
    <DESCRIPTION>DEF 14A
    <TEXT>
    Document 1 - file: d26661ddef14a.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>2
    <FILENAME>g26661g10q69.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 2 - file: g26661g10q69.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>3
    <FILENAME>g26661g22k26.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 3 - file: g26661g22k26.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>4
    <FILENAME>g26661g26p77.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 4 - file: g26661g26p77.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>5
    <FILENAME>g26661g28k33.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 5 - file: g26661g28k33.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>6
    <FILENAME>g26661g50z78.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 6 - file: g26661g50z78.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>7
    <FILENAME>g26661g55s24.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 7 - file: g26661g55s24.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>8
    <FILENAME>g26661g75k26.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 8 - file: g26661g75k26.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>9
    <FILENAME>g26661g78k28.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 9 - file: g26661g78k28.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>10
    <FILENAME>g26661g87f02.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 10 - file: g26661g87f02.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>11
    <FILENAME>g26661g90k11.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 11 - file: g26661g90k11.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>12
    <FILENAME>g26661g94z70.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 12 - file: g26661g94z70.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>13
    <FILENAME>g26661g99v01.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 13 - file: g26661g99v01.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>14
    <FILENAME>g26661g99v02.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 14 - file: g26661g99v02.jpg

    </DOCUMENT>
    </SEC-DOCUMENT>