{"transactions":[{"id":870063,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2026-03-03T22:56:53.000Z","date":"2026-03-01","kind":"tax_withholding","planned":false,"acquired":false,"shares":8271,"price":41.42,"value":342584.82,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"8,271 shares are being surrendered as allowed by the Company's 2023 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":234514,"source":{"system":"sec-edgar","filing":"0001069878-26-000026","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000026/form4.xml","form_type":"4"}},{"id":870062,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2026-03-03T22:56:53.000Z","date":"2026-03-01","kind":"other","planned":false,"acquired":false,"shares":1928,"price":41.42,"value":79857.76,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"Represents the target number of performance-based restricted units which did not vest due to the performance condition not being satisfied."}],"balance_after":242785,"source":{"system":"sec-edgar","filing":"0001069878-26-000026","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000026/form4.xml","form_type":"4"}},{"id":870061,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2026-03-03T22:56:53.000Z","date":"2026-03-01","kind":"grant","planned":false,"acquired":true,"shares":3623,"price":41.42,"value":150064.66,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance of the Company."}],"balance_after":244713,"source":{"system":"sec-edgar","filing":"0001069878-26-000026","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000026/form4.xml","form_type":"4"}},{"id":882478,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2026-02-26T01:39:18.000Z","date":"2026-02-24","kind":"grant","planned":false,"acquired":true,"shares":18914,"price":41.45,"value":783985.3,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments occurring March 1, 2027, March 1, 2028 and March 1, 2029. The number of shares set forth above is the target number of shares. The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company and will range from 0% to 200% of the target number of shares."}],"balance_after":241090,"source":{"system":"sec-edgar","filing":"0001069878-26-000016","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000016/form4.xml","form_type":"4"}},{"id":882477,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2026-02-26T01:39:18.000Z","date":"2026-02-24","kind":"grant","planned":false,"acquired":true,"shares":18914,"price":41.45,"value":783985.3,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award vests over a three-year period in three equal annual installments occurring March 1, 2027, March 1, 2028 and March 1, 2029."}],"balance_after":222176,"source":{"system":"sec-edgar","filing":"0001069878-26-000016","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000016/form4.xml","form_type":"4"}},{"id":1231267,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2025-03-04T19:13:00.000Z","date":"2025-03-01","kind":"tax_withholding","planned":false,"acquired":false,"shares":6993,"price":61.69,"value":431398.17,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"6993 shares are being surrendered as allowed by the Company's 2023 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":203262,"source":{"system":"sec-edgar","filing":"0001127602-25-007716","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225007716/form4.xml","form_type":"4"}},{"id":1231266,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2025-03-04T19:13:00.000Z","date":"2025-03-01","kind":"grant","planned":false,"acquired":true,"shares":3789,"price":61.69,"value":233743.41,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance of the Company."}],"balance_after":210255,"source":{"system":"sec-edgar","filing":"0001127602-25-007716","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225007716/form4.xml","form_type":"4"}},{"id":1231265,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2025-03-04T19:13:00.000Z","date":"2025-03-01","kind":"other","planned":false,"acquired":false,"shares":1680,"price":61.69,"value":103639.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents the target number of performance-based restricted units which did not vest due to the performance condition not being satisfied."}],"balance_after":206446,"source":{"system":"sec-edgar","filing":"0001127602-25-007716","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225007716/form4.xml","form_type":"4"}},{"id":1264762,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Stock Appreciation Right","published_at":"2025-02-19T02:57:31.000Z","date":"2025-02-17","kind":"grant","planned":false,"acquired":true,"shares":6499,"price":67.33,"value":437577.67,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The stock appreciation right becomes exercisable in three equal installments occurring March 1, 2026, March 1, 2027 and March 1, 2028."}],"balance_after":41041,"derivative":{"exercise_price":67.33,"exercise_date":"2026-03-01","expiration_date":"2035-02-17","underlying":"Common Stock","underlying_shares":6499},"source":{"system":"sec-edgar","filing":"0001127602-25-005334","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225005334/form4.xml","form_type":"4"}},{"id":1264761,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2025-02-19T02:57:31.000Z","date":"2025-02-17","kind":"grant","planned":false,"acquired":true,"shares":10775,"price":67.33,"value":725480.75,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments occurring March 1, 2026, March 1, 2027 and March 1, 2028. The number of shares set forth above is the target number of shares. The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":208146,"source":{"system":"sec-edgar","filing":"0001127602-25-005334","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225005334/form4.xml","form_type":"4"}},{"id":1264760,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2025-02-19T02:57:31.000Z","date":"2025-02-17","kind":"grant","planned":false,"acquired":true,"shares":7543,"price":67.33,"value":507870.19,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award vests over a three-year period in three equal annual installments occurring March 1, 2026, March 1, 2027 and March 1, 2028."}],"balance_after":197371,"source":{"system":"sec-edgar","filing":"0001127602-25-005334","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225005334/form4.xml","form_type":"4"}},{"id":1604275,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-03-04T20:04:34.000Z","date":"2024-03-01","kind":"tax_withholding","planned":false,"acquired":false,"shares":4945,"price":94.61,"value":467846.45,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"4,945 shares are being surrendered as allowed by the Company's 2023 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":189828,"source":{"system":"sec-edgar","filing":"0001127602-24-008064","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008064/form4.xml","form_type":"4"}},{"id":1604274,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-03-04T20:04:34.000Z","date":"2024-03-01","kind":"grant","planned":false,"acquired":true,"shares":3624,"price":94.61,"value":342866.64,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance of the Company."}],"balance_after":194773,"source":{"system":"sec-edgar","filing":"0001127602-24-008064","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008064/form4.xml","form_type":"4"}},{"id":1604273,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-03-04T20:04:34.000Z","date":"2024-03-01","kind":"other","planned":false,"acquired":false,"shares":1681,"price":94.61,"value":159039.41,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents the target number of performance-based restricted units which did not vest due to the performance condition not being satisfied"}],"balance_after":191149,"source":{"system":"sec-edgar","filing":"0001127602-24-008064","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008064/form4.xml","form_type":"4"}},{"id":1623234,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-02-23T14:09:23.000Z","date":"2024-02-21","kind":"tax_withholding","planned":false,"acquired":false,"shares":425,"price":90.93,"value":38645.25,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"425 shares are being surrendered as allowed by the Company's 2023 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":192830,"source":{"system":"sec-edgar","filing":"0001127602-24-006434","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224006434/form4.xml","form_type":"4"}},{"id":1623233,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-02-23T14:09:23.000Z","date":"2024-02-21","kind":"other","planned":false,"acquired":false,"shares":156,"price":90.93,"value":14185.08,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents the target number of performance-based restricted units which did not vest due to the performance condition not being satisfied."}],"balance_after":193255,"source":{"system":"sec-edgar","filing":"0001127602-24-006434","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224006434/form4.xml","form_type":"4"}},{"id":1635122,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Stock Appreciation Right","published_at":"2024-02-20T15:34:59.000Z","date":"2024-02-19","kind":"grant","planned":false,"acquired":true,"shares":4694,"price":90.86,"value":426496.84,"ownership":{"direct":true},"footnotes":[{"field":"derivative.exercise_date","element":"exerciseDate","label":"F4","text":"The stock appreciation right becomes exercisable in three equal installments occurring March 1, 2025, March 1, 2026 and March 1, 2027."}],"balance_after":34542,"derivative":{"exercise_price":90.86,"exercise_date":"2025-03-01","expiration_date":"2034-02-19","underlying":"Common Stock","underlying_shares":4694},"source":{"system":"sec-edgar","filing":"0001127602-24-005549","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005549/form4.xml","form_type":"4"}},{"id":1635121,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-02-20T15:34:59.000Z","date":"2024-02-19","kind":"grant","planned":false,"acquired":true,"shares":7721,"price":90.86,"value":701530.06,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments occurring March 1, 2025, March 1, 2026 and March 1, 2027. The number of shares set forth above is the target number of shares. The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":193411,"source":{"system":"sec-edgar","filing":"0001127602-24-005549","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005549/form4.xml","form_type":"4"}},{"id":1635120,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-02-20T15:34:59.000Z","date":"2024-02-19","kind":"grant","planned":false,"acquired":true,"shares":5404,"price":90.86,"value":491007.44,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"This restricted stock unit vests over a three-year period in three equal annual installments occurring March 1, 2025, March 1, 2026 and March 1, 2027."}],"balance_after":185690,"source":{"system":"sec-edgar","filing":"0001127602-24-005549","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005549/form4.xml","form_type":"4"}},{"id":1635119,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"EVP, Chief Operating Officer"}}],"security":"Common Stock","published_at":"2024-02-20T15:34:59.000Z","date":"2024-02-17","kind":"tax_withholding","planned":false,"acquired":false,"shares":371,"price":90.86,"value":33709.06,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"371 shares are being surrendered as allowed by the Company's 2023 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":180286,"source":{"system":"sec-edgar","filing":"0001127602-24-005549","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005549/form4.xml","form_type":"4"}},{"id":1975604,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-03-03T15:33:17.000Z","date":"2023-03-01","kind":"other","acquired":false,"shares":1681,"price":50.4,"value":84722.4,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"Represents the target number of performance-based restricted units which did not vest due to the performance condition not being satisfied."}],"balance_after":180657,"source":{"system":"sec-edgar","filing":"0001127602-23-008555","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223008555/form4.xml","form_type":"4"}},{"id":1975603,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-03-03T15:33:17.000Z","date":"2023-03-01","kind":"tax_withholding","acquired":false,"shares":531,"price":50.4,"value":26762.4,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"531 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":182338,"source":{"system":"sec-edgar","filing":"0001127602-23-008555","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223008555/form4.xml","form_type":"4"}},{"id":2004555,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-02-21T15:45:31.000Z","date":"2023-02-19","kind":"tax_withholding","acquired":false,"shares":632,"price":53.79,"value":33995.28,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"632 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":182869,"source":{"system":"sec-edgar","filing":"0001127602-23-006139","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223006139/form4.xml","form_type":"4"}},{"id":2004554,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-02-21T15:45:31.000Z","date":"2023-02-17","kind":"tax_withholding","acquired":false,"shares":332,"price":53.79,"value":17858.28,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"332 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":183501,"source":{"system":"sec-edgar","filing":"0001127602-23-006139","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223006139/form4.xml","form_type":"4"}},{"id":2011912,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2023-02-16T15:50:26.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":6813,"price":56.8,"value":386978.4,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"The stock appreciation right becomes exercisable in three equal installments occurring March 1,2024, March 1, 2025 and March 1, 2026."}],"balance_after":6813,"derivative":{"exercise_price":56.8,"exercise_date":"2024-03-01","expiration_date":"2033-02-14","underlying":"Common Stock","underlying_shares":6813},"source":{"system":"sec-edgar","filing":"0001127602-23-005466","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005466/form4.xml","form_type":"4"}},{"id":2011911,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-02-16T15:50:26.000Z","date":"2023-02-14","kind":"tax_withholding","acquired":false,"shares":2327,"price":56.8,"value":132173.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"2,327 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":183833,"source":{"system":"sec-edgar","filing":"0001127602-23-005466","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005466/form4.xml","form_type":"4"}},{"id":2011910,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-02-16T15:50:26.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":1895,"price":56.8,"value":107636.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":186160,"source":{"system":"sec-edgar","filing":"0001127602-23-005466","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005466/form4.xml","form_type":"4"}},{"id":2011909,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-02-16T15:50:26.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":10871,"price":56.8,"value":617472.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments occurring March 1,2024, March 1, 2025 and March 1, 2026. The number of shares set forth above is the target number of shares. The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":184265,"source":{"system":"sec-edgar","filing":"0001127602-23-005466","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005466/form4.xml","form_type":"4"}},{"id":2011908,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2023-02-16T15:50:26.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":7610,"price":56.8,"value":432248.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit vests over a three-year period in three equal annual installments occurring March 1,2024, March 1, 2025 and March 1, 2026"}],"balance_after":173394,"source":{"system":"sec-edgar","filing":"0001127602-23-005466","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005466/form4.xml","form_type":"4"}},{"id":2124694,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-11-04T17:30:30.000Z","date":"2022-11-02","kind":"disposition_to_issuer","acquired":false,"shares":7503,"price":40.39,"value":303046.17,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"7,503 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":165784,"source":{"system":"sec-edgar","filing":"0001127602-22-024950","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222024950/form4.xml","form_type":"4"}},{"id":2372860,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2022-02-25T13:01:50.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":3659,"price":82.01,"value":300074.59,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The stock appreciation right becomes exercisable in three equal installments occurring March 1,2023, March 1, 2024 and March 1, 2025."}],"balance_after":3659,"derivative":{"exercise_price":82.01,"exercise_date":"2023-03-01","expiration_date":"2032-02-23","underlying":"Common Stock","underlying_shares":3659},"source":{"system":"sec-edgar","filing":"0001127602-22-006729","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006729/form4.xml","form_type":"4"}},{"id":2372859,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-25T13:01:50.000Z","date":"2022-02-23","kind":"disposition_to_issuer","acquired":false,"shares":4466,"price":82.01,"value":366256.66,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"4,466 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":173287,"source":{"system":"sec-edgar","filing":"0001127602-22-006729","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006729/form4.xml","form_type":"4"}},{"id":2372858,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-25T13:01:50.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":4356,"price":82.01,"value":357235.56,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":177753,"source":{"system":"sec-edgar","filing":"0001127602-22-006729","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006729/form4.xml","form_type":"4"}},{"id":2372857,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-25T13:01:50.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":5042,"price":82.01,"value":413494.42,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments occurring March 1,2023, March 1, 2024 and March 1, 2025. The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":173397,"source":{"system":"sec-edgar","filing":"0001127602-22-006729","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006729/form4.xml","form_type":"4"}},{"id":2372856,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-25T13:01:50.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":3529,"price":82.01,"value":289413.29,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit vests over a three-year period in three equal annual installments occurring March 1,2023, March 1, 2024 and March 1, 2025."}],"balance_after":168355,"source":{"system":"sec-edgar","filing":"0001127602-22-006729","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006729/form4.xml","form_type":"4"}},{"id":2382900,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-22T15:02:09.000Z","date":"2022-02-19","kind":"tax_withholding","acquired":false,"shares":632,"price":85.42,"value":53985.44,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"632 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":164826,"source":{"system":"sec-edgar","filing":"0001127602-22-005874","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222005874/form4.xml","form_type":"4"}},{"id":2382899,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-22T15:02:09.000Z","date":"2022-02-17","kind":"tax_withholding","acquired":false,"shares":332,"price":89.17,"value":29604.44,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"332 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":165458,"source":{"system":"sec-edgar","filing":"0001127602-22-005874","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222005874/form4.xml","form_type":"4"}},{"id":2395105,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2022-02-15T15:10:34.000Z","date":"2022-02-13","kind":"tax_withholding","acquired":false,"shares":841,"price":85.29,"value":71728.89,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"841 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":165790,"source":{"system":"sec-edgar","filing":"0001127602-22-004943","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222004943/form4.xml","form_type":"4"}},{"id":2515948,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2021-11-12T14:52:25.000Z","date":"2021-11-10","kind":"exercise","acquired":false,"shares":4342,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":0,"derivative":{"exercise_price":17.52,"exercise_date":"2018-02-15","expiration_date":"2027-02-15","underlying":"Common Stock","underlying_shares":4342},"source":{"system":"sec-edgar","filing":"0001127602-21-028890","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028890/form4.xml","form_type":"4"}},{"id":2515947,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-11-12T14:52:25.000Z","date":"2021-11-11","kind":"sale","acquired":false,"shares":2055,"price":127.89,"value":262813.95,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1  sales plan adopted by the reporting person on May 17, 2021."}],"balance_after":166631,"source":{"system":"sec-edgar","filing":"0001127602-21-028890","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028890/form4.xml","form_type":"4"}},{"id":2515946,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-11-12T14:52:25.000Z","date":"2021-11-10","kind":"tax_withholding","acquired":false,"shares":1689,"price":127.26,"value":214942.14,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"1,689 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan  to cover the payment of taxes currently due on previously granted restricted shares."}],"balance_after":168686,"source":{"system":"sec-edgar","filing":"0001127602-21-028890","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028890/form4.xml","form_type":"4"}},{"id":2515945,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-11-12T14:52:25.000Z","date":"2021-11-10","kind":"disposition_to_issuer","acquired":false,"shares":598,"price":127.26,"value":76101.48,"ownership":{"direct":true},"balance_after":170375,"source":{"system":"sec-edgar","filing":"0001127602-21-028890","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028890/form4.xml","form_type":"4"}},{"id":2515944,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-11-12T14:52:25.000Z","date":"2021-11-10","kind":"exercise","acquired":true,"shares":4342,"price":17.52,"value":76071.84,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 trading plan adopted by the reporting person on May 17, 2021."}],"balance_after":170973,"source":{"system":"sec-edgar","filing":"0001127602-21-028890","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028890/form4.xml","form_type":"4"}},{"id":2611997,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2021-08-06T18:54:37.000Z","date":"2021-08-05","kind":"exercise","acquired":false,"shares":13920,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":0,"derivative":{"exercise_price":5.48,"exercise_date":"2016-02-12","expiration_date":"2023-02-12","underlying":"Common Stock","underlying_shares":13920},"source":{"system":"sec-edgar","filing":"0001127602-21-023230","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221023230/form4.xml","form_type":"4"}},{"id":2611996,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-08-06T18:54:37.000Z","date":"2021-08-06","kind":"sale","acquired":false,"shares":7239,"price":104.77,"value":758430.03,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1  sales plan adopted by the reporting person on May 17, 2021."}],"balance_after":166631,"source":{"system":"sec-edgar","filing":"0001127602-21-023230","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221023230/form4.xml","form_type":"4"}},{"id":2611995,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-08-06T18:54:37.000Z","date":"2021-08-05","kind":"tax_withholding","acquired":false,"shares":5949,"price":104.24,"value":620123.76,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"5,949 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan  to cover the payment of taxes currently due on previously granted restricted shares."}],"balance_after":173870,"source":{"system":"sec-edgar","filing":"0001127602-21-023230","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221023230/form4.xml","form_type":"4"}},{"id":2611994,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-08-06T18:54:37.000Z","date":"2021-08-05","kind":"disposition_to_issuer","acquired":false,"shares":732,"price":104.24,"value":76303.68,"ownership":{"direct":true},"balance_after":179819,"source":{"system":"sec-edgar","filing":"0001127602-21-023230","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221023230/form4.xml","form_type":"4"}},{"id":2611993,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-08-06T18:54:37.000Z","date":"2021-08-05","kind":"exercise","acquired":true,"shares":13920,"price":5.48,"value":76281.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 trading plan adopted by the reporting person on May 17, 2021."}],"balance_after":180551,"source":{"system":"sec-edgar","filing":"0001127602-21-023230","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221023230/form4.xml","form_type":"4"}},{"id":2840458,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-23T18:03:37.000Z","date":"2021-02-19","kind":"tax_withholding","acquired":false,"shares":632,"price":102.61,"value":64849.52,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"632 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":166631,"source":{"system":"sec-edgar","filing":"0001127602-21-007215","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221007215/form4.xml","form_type":"4"}},{"id":2846920,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2021-02-19T19:38:48.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":1906,"price":104.56,"value":199291.36,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The stock appreciation right becomes exercisable in three equal installments beginning on the first anniversary of the grant date."}],"balance_after":1906,"derivative":{"exercise_price":104.56,"exercise_date":"2022-02-17","expiration_date":"2031-02-17","underlying":"Common Stock","underlying_shares":1906},"source":{"system":"sec-edgar","filing":"0001127602-21-006690","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006690/form4.xml","form_type":"4"}},{"id":2846919,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-19T19:38:48.000Z","date":"2021-02-17","kind":"tax_withholding","acquired":false,"shares":3585,"price":104.56,"value":374847.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"3,585 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":167263,"source":{"system":"sec-edgar","filing":"0001127602-21-006690","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006690/form4.xml","form_type":"4"}},{"id":2846918,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-19T19:38:48.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":1591,"price":104.56,"value":166354.96,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":170848,"source":{"system":"sec-edgar","filing":"0001127602-21-006690","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006690/form4.xml","form_type":"4"}},{"id":2846917,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-19T19:38:48.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":3150,"price":104.56,"value":329364.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":169257,"source":{"system":"sec-edgar","filing":"0001127602-21-006690","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006690/form4.xml","form_type":"4"}},{"id":2846916,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-19T19:38:48.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":2205,"price":104.56,"value":230554.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":166107,"source":{"system":"sec-edgar","filing":"0001127602-21-006690","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006690/form4.xml","form_type":"4"}},{"id":2860086,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-16T16:38:46.000Z","date":"2021-02-14","kind":"tax_withholding","acquired":false,"shares":587,"price":106.28,"value":62386.36,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"587 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":163902,"source":{"system":"sec-edgar","filing":"0001127602-21-005671","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221005671/form4.xml","form_type":"4"}},{"id":2860085,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2021-02-16T16:38:46.000Z","date":"2021-02-13","kind":"tax_withholding","acquired":false,"shares":831,"price":106.28,"value":88318.68,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"831 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F3","text":"On September 14, 2020, the Company effectuated a two-for-one stock split to common shareholders of record on August 19, 2020. The amounts set forth in this Form 4 and all subsequent reports filed report the amounts adjusted to reflect the stock split."}],"balance_after":164489,"source":{"system":"sec-edgar","filing":"0001127602-21-005671","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221005671/form4.xml","form_type":"4"}},{"id":3244446,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2020-02-27T22:02:50.000Z","date":"2020-02-26","kind":"exercise","acquired":false,"shares":6960,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":6960,"derivative":{"exercise_price":10.97,"exercise_date":"2014-02-12","expiration_date":"2023-02-12","underlying":"Common Stock","underlying_shares":6960},"source":{"system":"sec-edgar","filing":"0001127602-20-008167","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008167/form4.xml","form_type":"4"}},{"id":3244445,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-27T22:02:50.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":500,"price":97.049,"value":48524.5,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on August 11, 2019."},{"field":"price","element":"transactionPricePerShare","label":"F5","text":"The price reported in Column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $96.86 to $97.32, inclusive."}],"balance_after":82660,"source":{"system":"sec-edgar","filing":"0001127602-20-008167","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008167/form4.xml","form_type":"4"}},{"id":3244444,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-27T22:02:50.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":2895,"price":96.3139,"value":278828.7405,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on August 11, 2019."},{"field":"price","element":"transactionPricePerShare","label":"F4","text":"The price reported in Column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $95.84 to $96.69, inclusive."}],"balance_after":83160,"source":{"system":"sec-edgar","filing":"0001127602-20-008167","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008167/form4.xml","form_type":"4"}},{"id":3244443,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-27T22:02:50.000Z","date":"2020-02-26","kind":"tax_withholding","acquired":false,"shares":2790,"price":98.47,"value":274731.3,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted SARs."}],"balance_after":86055,"source":{"system":"sec-edgar","filing":"0001127602-20-008167","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008167/form4.xml","form_type":"4"}},{"id":3244442,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-27T22:02:50.000Z","date":"2020-02-26","kind":"disposition_to_issuer","acquired":false,"shares":775,"price":98.47,"value":76314.25,"ownership":{"direct":true},"balance_after":88845,"source":{"system":"sec-edgar","filing":"0001127602-20-008167","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008167/form4.xml","form_type":"4"}},{"id":3244441,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-27T22:02:50.000Z","date":"2020-02-26","kind":"exercise","acquired":true,"shares":6960,"price":10.97,"value":76351.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights are being exercised pursuant to a 10b5-1 sales plan adopted by the reporting person on August 11, 2019."}],"balance_after":89620,"source":{"system":"sec-edgar","filing":"0001127602-20-008167","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008167/form4.xml","form_type":"4"}},{"id":3253791,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2020-02-24T13:55:45.000Z","date":"2020-02-19","kind":"grant","acquired":true,"shares":2568,"price":101.66,"value":261062.88,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"This stock appreciation right becomes exercisable in three equal installments beginning on the first anniversary of the grant date."}],"balance_after":2568,"derivative":{"exercise_price":101.66,"exercise_date":"2020-02-19","expiration_date":"2030-02-19","underlying":"Common Stock","underlying_shares":2568},"source":{"system":"sec-edgar","filing":"0001127602-20-007084","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007084/form4.xml","form_type":"4"}},{"id":3253790,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-24T13:55:45.000Z","date":"2020-02-19","kind":"grant","acquired":true,"shares":3002,"price":101.66,"value":305183.32,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit award is performance-based and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":82660,"source":{"system":"sec-edgar","filing":"0001127602-20-007084","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007084/form4.xml","form_type":"4"}},{"id":3253789,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-24T13:55:45.000Z","date":"2020-02-19","kind":"grant","acquired":true,"shares":2101,"price":101.66,"value":213587.66,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":79658,"source":{"system":"sec-edgar","filing":"0001127602-20-007084","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007084/form4.xml","form_type":"4"}},{"id":3253788,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-24T13:55:45.000Z","date":"2020-02-19","kind":"tax_withholding","acquired":false,"shares":2204,"price":101.66,"value":224058.64,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"2,204 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":77557,"source":{"system":"sec-edgar","filing":"0001127602-20-007084","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007084/form4.xml","form_type":"4"}},{"id":3253787,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-24T13:55:45.000Z","date":"2020-02-19","kind":"grant","acquired":true,"shares":1274,"price":101.66,"value":129514.84,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":79761,"source":{"system":"sec-edgar","filing":"0001127602-20-007084","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007084/form4.xml","form_type":"4"}},{"id":3267480,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-18T20:32:38.000Z","date":"2020-02-15","kind":"tax_withholding","acquired":false,"shares":453,"price":101.88,"value":46151.64,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"453 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":78487,"source":{"system":"sec-edgar","filing":"0001127602-20-005999","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220005999/form4.xml","form_type":"4"}},{"id":3267479,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-18T20:32:38.000Z","date":"2020-02-14","kind":"tax_withholding","acquired":false,"shares":290,"price":101.88,"value":29545.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"290 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":78940,"source":{"system":"sec-edgar","filing":"0001127602-20-005999","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220005999/form4.xml","form_type":"4"}},{"id":3267478,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2020-02-18T20:32:38.000Z","date":"2020-02-13","kind":"tax_withholding","acquired":false,"shares":435,"price":101.39,"value":44104.65,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"435 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":79230,"source":{"system":"sec-edgar","filing":"0001127602-20-005999","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220005999/form4.xml","form_type":"4"}},{"id":3383943,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2019-11-01T21:40:19.000Z","date":"2019-10-30","kind":"exercise","acquired":false,"shares":8564,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":0,"derivative":{"exercise_price":6.39,"exercise_date":"2013-02-15","expiration_date":"2022-02-15","underlying":"Common Stock","underlying_shares":8564},"source":{"system":"sec-edgar","filing":"0001127602-19-031561","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031561/form4.xml","form_type":"4"}},{"id":3383942,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-11-01T21:40:19.000Z","date":"2019-10-31","kind":"sale","acquired":false,"shares":4344,"price":84.2,"value":365764.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Plan adopted by the reporting person on August 11, 2019."}],"balance_after":79665,"source":{"system":"sec-edgar","filing":"0001127602-19-031561","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031561/form4.xml","form_type":"4"}},{"id":3383941,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-11-01T21:40:19.000Z","date":"2019-10-30","kind":"tax_withholding","acquired":false,"shares":3570,"price":84.2,"value":300594.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted SARs."}],"balance_after":84009,"source":{"system":"sec-edgar","filing":"0001127602-19-031561","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031561/form4.xml","form_type":"4"}},{"id":3383940,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-11-01T21:40:19.000Z","date":"2019-10-30","kind":"disposition_to_issuer","acquired":false,"shares":650,"price":84.2,"value":54730.0,"ownership":{"direct":true},"balance_after":87579,"source":{"system":"sec-edgar","filing":"0001127602-19-031561","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031561/form4.xml","form_type":"4"}},{"id":3383939,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-11-01T21:40:19.000Z","date":"2019-10-30","kind":"exercise","acquired":true,"shares":8564,"price":6.39,"value":54723.96,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights are being exercised pursuant to a Rule 10b5-1 Plan adopted by the reporting person on August 11, 2019."}],"balance_after":88229,"source":{"system":"sec-edgar","filing":"0001127602-19-031561","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031561/form4.xml","form_type":"4"}},{"id":3614763,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Stock Appreciation Right","published_at":"2019-03-05T14:34:26.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2950,"price":77.7,"value":229215.0,"ownership":{"direct":true},"balance_after":2950,"derivative":{"exercise_price":77.7,"exercise_date":"2019-02-13","expiration_date":"2029-02-13","underlying":"Common Stock","underlying_shares":2950},"source":{"system":"sec-edgar","filing":"0001127602-19-009728","document":"form4a.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009728/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614762,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-03-05T14:34:26.000Z","date":"2019-02-14","kind":"tax_withholding","acquired":false,"shares":295,"price":78.34,"value":23110.3,"ownership":{"direct":true},"balance_after":81350,"source":{"system":"sec-edgar","filing":"0001127602-19-009728","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009728/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614761,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-03-05T14:34:26.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":3740,"price":77.7,"value":290598.0,"ownership":{"direct":true},"balance_after":81645,"source":{"system":"sec-edgar","filing":"0001127602-19-009728","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009728/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614760,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-03-05T14:34:26.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2618,"price":77.7,"value":203418.6,"ownership":{"direct":true},"balance_after":77905,"source":{"system":"sec-edgar","filing":"0001127602-19-009728","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009728/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614759,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-03-05T14:34:26.000Z","date":"2019-02-13","kind":"tax_withholding","acquired":false,"shares":4419,"price":77.7,"value":343356.3,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The number of shares withheld for taxes was incorrectly reported on the previous Form 4."}],"balance_after":75287,"source":{"system":"sec-edgar","filing":"0001127602-19-009728","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009728/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614758,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-03-05T14:34:26.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":4670,"price":77.7,"value":362859.0,"ownership":{"direct":true},"balance_after":79706,"source":{"system":"sec-edgar","filing":"0001127602-19-009728","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009728/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3650801,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-02-19T18:24:01.000Z","date":"2019-02-17","kind":"tax_withholding","acquired":false,"shares":1232,"price":76.76,"value":94568.32,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"1,232 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan  to cover the payment of taxes currently due on the exercise of SARs."}],"balance_after":79642,"source":{"system":"sec-edgar","filing":"0001127602-19-006644","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006644/form4.xml","form_type":"4"}},{"id":3650800,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"President, Trex Residential Pr"}}],"security":"Common Stock","published_at":"2019-02-19T18:24:01.000Z","date":"2019-02-15","kind":"tax_withholding","acquired":false,"shares":453,"price":76.76,"value":34772.28,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"453 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":80874,"source":{"system":"sec-edgar","filing":"0001127602-19-006644","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006644/form4.xml","form_type":"4"}},{"id":3654323,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Stock Appreciation Right","published_at":"2019-02-15T20:55:24.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2950,"price":77.7,"value":229215.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F7","text":"This stock appreciation right becomes exercisable in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":2950,"derivative":{"exercise_price":77.7,"exercise_date":"2019-02-13","expiration_date":"2029-02-13","underlying":"Common Stock","underlying_shares":2950},"source":{"system":"sec-edgar","filing":"0001127602-19-006269","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006269/form4.xml","form_type":"4"}},{"id":3654322,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2019-02-15T20:55:24.000Z","date":"2019-02-14","kind":"tax_withholding","acquired":false,"shares":295,"price":78.34,"value":23110.3,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F6","text":"295 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":81327,"source":{"system":"sec-edgar","filing":"0001127602-19-006269","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006269/form4.xml","form_type":"4"}},{"id":3654321,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2019-02-15T20:55:24.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":3740,"price":77.7,"value":290598.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":81622,"source":{"system":"sec-edgar","filing":"0001127602-19-006269","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006269/form4.xml","form_type":"4"}},{"id":3654320,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2019-02-15T20:55:24.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2618,"price":77.7,"value":203418.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":77882,"source":{"system":"sec-edgar","filing":"0001127602-19-006269","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006269/form4.xml","form_type":"4"}},{"id":3654319,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2019-02-15T20:55:24.000Z","date":"2019-02-13","kind":"tax_withholding","acquired":false,"shares":4442,"price":77.7,"value":345143.4,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"4,442 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan  to cover the payment of taxes currently due on the exercise of SARs."}],"balance_after":75264,"source":{"system":"sec-edgar","filing":"0001127602-19-006269","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006269/form4.xml","form_type":"4"}},{"id":3654318,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2019-02-15T20:55:24.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":4670,"price":77.7,"value":362859.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F2","text":"On June 18, 2018, the Company effectuated a two-for-one stock split to common shareholders of record on May 23,2018.  The amounts set forth in this Form 4 and all subsequent reports filed report the amounts adjusted to reflect the stock split."}],"balance_after":79706,"source":{"system":"sec-edgar","filing":"0001127602-19-006269","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006269/form4.xml","form_type":"4"}},{"id":3942938,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-05-08T20:03:50.000Z","date":"2018-05-02","kind":"grant","acquired":true,"shares":4159,"price":105.03,"value":436819.77,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest in accordance with the terms of a Retention Agreement dated May 2, 2018, between Trex Company, Inc. and Adam D. Zambanini; as further described in the Company's Quarterly Report on Form 10-Q for the quarterly period ended on March 31, 2018."}],"balance_after":37518,"source":{"system":"sec-edgar","filing":"0001127602-18-016633","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218016633/form4.xml","form_type":"4"}},{"id":4048722,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-02-20T21:08:20.000Z","date":"2018-02-16","kind":"tax_withholding","acquired":false,"shares":1068,"price":112.61,"value":120267.48,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares and restricted stock units."}],"balance_after":33359,"source":{"system":"sec-edgar","filing":"0001127602-18-007168","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007168/form4.xml","form_type":"4"}},{"id":4048721,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-02-20T21:08:20.000Z","date":"2018-02-15","kind":"tax_withholding","acquired":false,"shares":227,"price":113.28,"value":25714.56,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares and restricted stock units."}],"balance_after":34427,"source":{"system":"sec-edgar","filing":"0001127602-18-007168","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007168/form4.xml","form_type":"4"}},{"id":4052733,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Stock Appreciation Right","published_at":"2018-02-16T14:22:45.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1066,"price":112.42,"value":119839.72,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"This stock appreciation right becomes exercisable in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":1066,"derivative":{"exercise_price":112.42,"exercise_date":"2019-02-14","expiration_date":"2028-02-14","underlying":"Common Stock","underlying_shares":1066},"source":{"system":"sec-edgar","filing":"0001127602-18-006511","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006511/form4.xml","form_type":"4"}},{"id":4052732,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-02-16T14:22:45.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1396,"price":112.42,"value":156938.32,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":34654,"source":{"system":"sec-edgar","filing":"0001127602-18-006511","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006511/form4.xml","form_type":"4"}},{"id":4052731,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-02-16T14:22:45.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":977,"price":112.42,"value":109834.34,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":33258,"source":{"system":"sec-edgar","filing":"0001127602-18-006511","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006511/form4.xml","form_type":"4"}},{"id":4052730,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-02-16T14:22:45.000Z","date":"2018-02-14","kind":"tax_withholding","acquired":false,"shares":2703,"price":112.42,"value":303871.26,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"2,703 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":32281,"source":{"system":"sec-edgar","filing":"0001127602-18-006511","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006511/form4.xml","form_type":"4"}},{"id":4052729,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2018-02-16T14:22:45.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":2906,"price":112.42,"value":326692.52,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":34984,"source":{"system":"sec-edgar","filing":"0001127602-18-006511","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006511/form4.xml","form_type":"4"}},{"id":4432696,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2017-02-22T19:58:44.000Z","date":"2017-02-17","kind":"tax_withholding","acquired":false,"shares":1733,"price":69.81,"value":120980.73,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"1,733 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":32078,"source":{"system":"sec-edgar","filing":"0001127602-17-007625","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217007625/form4.xml","form_type":"4"}},{"id":4440379,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Stock Appreciation Right","published_at":"2017-02-17T21:01:26.000Z","date":"2017-02-15","kind":"grant","acquired":true,"shares":1628,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"This stock appreciation right becomes exercisable in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":1628,"derivative":{"exercise_price":70.09,"exercise_date":"2018-02-15","expiration_date":"2027-02-15","underlying":"Common Stock","underlying_shares":1628},"source":{"system":"sec-edgar","filing":"0001127602-17-006888","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006888/form4.xml","form_type":"4"}},{"id":4440378,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63554,"kind":"person","name":"Zambanini Adam Dante","position":1,"cik":"0001512909","reported_name":"Zambanini Adam Dante","relationship":{"officer":true,"officer_title":"Vice President, Marketing"}}],"security":"Common Stock","published_at":"2017-02-17T21:01:26.000Z","date":"2017-02-15","kind":"grant","acquired":true,"shares":2153,"price":70.09,"value":150903.77,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":33811,"source":{"system":"sec-edgar","filing":"0001127602-17-006888","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006888/form4.xml","form_type":"4"}}],"next_cursor":"2017-02-17T21:01:26.000000Z,4440378"}