{"transactions":[{"id":870066,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2026-03-03T23:26:38.000Z","date":"2026-03-01","kind":"tax_withholding","planned":false,"acquired":false,"shares":23127,"price":41.42,"value":957920.34,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"23,127 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":167044,"source":{"system":"sec-edgar","filing":"0001069878-26-000030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000030/form4.xml","form_type":"4"}},{"id":870065,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2026-03-03T23:26:38.000Z","date":"2026-03-01","kind":"other","planned":false,"acquired":false,"shares":5678,"price":41.42,"value":235182.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":190171,"source":{"system":"sec-edgar","filing":"0001069878-26-000030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000030/form4.xml","form_type":"4"}},{"id":870064,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2026-03-03T23:26:38.000Z","date":"2026-03-01","kind":"grant","planned":false,"acquired":true,"shares":9609,"price":41.42,"value":398004.78,"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":195849,"source":{"system":"sec-edgar","filing":"0001069878-26-000030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000030/form4.xml","form_type":"4"}},{"id":1231264,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2025-03-04T18:55:31.000Z","date":"2025-03-01","kind":"tax_withholding","planned":false,"acquired":false,"shares":18932,"price":61.69,"value":1167915.08,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"18,932 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":186240,"source":{"system":"sec-edgar","filing":"0001127602-25-007709","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225007709/form4.xml","form_type":"4"}},{"id":1231263,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2025-03-04T18:55:31.000Z","date":"2025-03-01","kind":"grant","planned":false,"acquired":true,"shares":10064,"price":61.69,"value":620848.16,"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":205172,"source":{"system":"sec-edgar","filing":"0001127602-25-007709","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225007709/form4.xml","form_type":"4"}},{"id":1231262,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2025-03-04T18:55:31.000Z","date":"2025-03-01","kind":"other","planned":false,"acquired":false,"shares":5080,"price":61.69,"value":313385.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":195108,"source":{"system":"sec-edgar","filing":"0001127602-25-007709","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225007709/form4.xml","form_type":"4"}},{"id":1264759,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Stock Appreciation Right","published_at":"2025-02-19T02:33:53.000Z","date":"2025-02-17","kind":"grant","planned":false,"acquired":true,"shares":20213,"price":67.33,"value":1360941.29,"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":82536,"derivative":{"exercise_price":67.33,"exercise_date":"2026-03-01","expiration_date":"2035-02-17","underlying":"Common Stock","underlying_shares":20213},"source":{"system":"sec-edgar","filing":"0001127602-25-005332","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225005332/form4.xml","form_type":"4"}},{"id":1264758,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2025-02-19T02:33:53.000Z","date":"2025-02-17","kind":"grant","planned":false,"acquired":true,"shares":33514,"price":67.33,"value":2256497.62,"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":200188,"source":{"system":"sec-edgar","filing":"0001127602-25-005332","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225005332/form4.xml","form_type":"4"}},{"id":1264757,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2025-02-19T02:33:53.000Z","date":"2025-02-17","kind":"grant","planned":false,"acquired":true,"shares":23460,"price":67.33,"value":1579561.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 occurring March 1, 2026, March 1, 2027 and March 1, 2028."}],"balance_after":166674,"source":{"system":"sec-edgar","filing":"0001127602-25-005332","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225005332/form4.xml","form_type":"4"}},{"id":1349912,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-11-27T18:07:27.000Z","date":"2024-11-26","kind":"gift","planned":false,"acquired":false,"shares":330,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The shares reported in this transaction represent a gift to a charitable organization."}],"balance_after":143214,"source":{"system":"sec-edgar","filing":"0001127602-24-028160","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224028160/form4.xml","form_type":"4"}},{"id":1604279,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-03-04T20:11:37.000Z","date":"2024-03-04","kind":"sale","planned":false,"acquired":false,"shares":6164,"price":95.9463,"value":591412.9932,"ownership":{"direct":true},"footnotes":[{"field":"price","element":"transactionPricePerShare","label":"F4","text":"The price reported in this box 4 is a weighted average price. These shares were sold in multiple transactions at prices ranging from $95.90 to $96.045, inclusive."}],"balance_after":143544,"source":{"system":"sec-edgar","filing":"0001127602-24-008069","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008069/form4.xml","form_type":"4"}},{"id":1604278,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-03-04T20:11:37.000Z","date":"2024-03-01","kind":"tax_withholding","planned":false,"acquired":false,"shares":13307,"price":94.61,"value":1258975.27,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"13,307 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":149708,"source":{"system":"sec-edgar","filing":"0001127602-24-008069","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008069/form4.xml","form_type":"4"}},{"id":1604277,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-03-04T20:11:37.000Z","date":"2024-03-01","kind":"grant","planned":false,"acquired":true,"shares":9610,"price":94.61,"value":909202.1,"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":163015,"source":{"system":"sec-edgar","filing":"0001127602-24-008069","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008069/form4.xml","form_type":"4"}},{"id":1604276,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-03-04T20:11:37.000Z","date":"2024-03-01","kind":"other","planned":false,"acquired":false,"shares":5081,"price":94.61,"value":480713.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":153405,"source":{"system":"sec-edgar","filing":"0001127602-24-008069","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224008069/form4.xml","form_type":"4"}},{"id":1623236,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-02-23T14:20:28.000Z","date":"2024-02-21","kind":"tax_withholding","planned":false,"acquired":false,"shares":937,"price":90.93,"value":85201.41,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"937 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":158486,"source":{"system":"sec-edgar","filing":"0001127602-24-006436","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224006436/form4.xml","form_type":"4"}},{"id":1623235,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-02-23T14:20:28.000Z","date":"2024-02-21","kind":"other","planned":false,"acquired":false,"shares":363,"price":90.93,"value":33007.59,"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":159423,"source":{"system":"sec-edgar","filing":"0001127602-24-006436","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224006436/form4.xml","form_type":"4"}},{"id":1635112,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Stock Appreciation Right","published_at":"2024-02-20T15:14:35.000Z","date":"2024-02-19","kind":"grant","planned":false,"acquired":true,"shares":12895,"price":90.86,"value":1171639.7,"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":62323,"derivative":{"exercise_price":90.86,"exercise_date":"2025-03-01","expiration_date":"2034-02-19","underlying":"Common Stock","underlying_shares":12895},"source":{"system":"sec-edgar","filing":"0001127602-24-005542","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005542/form4.xml","form_type":"4"}},{"id":1635111,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-02-20T15:14:35.000Z","date":"2024-02-19","kind":"grant","planned":false,"acquired":true,"shares":21208,"price":90.86,"value":1926958.88,"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":159786,"source":{"system":"sec-edgar","filing":"0001127602-24-005542","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005542/form4.xml","form_type":"4"}},{"id":1635110,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-02-20T15:14:35.000Z","date":"2024-02-19","kind":"grant","planned":false,"acquired":true,"shares":14846,"price":90.86,"value":1348907.56,"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":138578,"source":{"system":"sec-edgar","filing":"0001127602-24-005542","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005542/form4.xml","form_type":"4"}},{"id":1635109,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2024-02-20T15:14:35.000Z","date":"2024-02-17","kind":"tax_withholding","planned":false,"acquired":false,"shares":811,"price":90.86,"value":73687.46,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"811 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":123732,"source":{"system":"sec-edgar","filing":"0001127602-24-005542","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224005542/form4.xml","form_type":"4"}},{"id":1747840,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-11-07T17:59:12.000Z","date":"2023-11-03","kind":"gift","planned":false,"acquired":false,"shares":350,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":124543,"source":{"system":"sec-edgar","filing":"0001127602-23-026915","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223026915/form4.xml","form_type":"4"}},{"id":1975600,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-03-03T15:24:51.000Z","date":"2023-03-01","kind":"other","acquired":false,"shares":5081,"price":50.4,"value":256082.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":124893,"source":{"system":"sec-edgar","filing":"0001127602-23-008546","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223008546/form4.xml","form_type":"4"}},{"id":1975599,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-03-03T15:24:51.000Z","date":"2023-03-01","kind":"tax_withholding","acquired":false,"shares":1605,"price":50.4,"value":80892.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"1,605 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":129974,"source":{"system":"sec-edgar","filing":"0001127602-23-008546","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223008546/form4.xml","form_type":"4"}},{"id":2004551,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-02-21T15:41:45.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":131579,"source":{"system":"sec-edgar","filing":"0001127602-23-006132","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223006132/form4.xml","form_type":"4"}},{"id":2004550,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-02-21T15:41:45.000Z","date":"2023-02-17","kind":"tax_withholding","acquired":false,"shares":771,"price":53.79,"value":41472.09,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"771 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":132211,"source":{"system":"sec-edgar","filing":"0001127602-23-006132","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223006132/form4.xml","form_type":"4"}},{"id":2011902,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Stock Appreciation Right","published_at":"2023-02-16T15:40:44.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":18067,"price":56.8,"value":1026205.6,"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":18067,"derivative":{"exercise_price":56.8,"exercise_date":"2024-03-01","expiration_date":"2033-02-14","underlying":"Common Stock","underlying_shares":18067},"source":{"system":"sec-edgar","filing":"0001127602-23-005458","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005458/form4.xml","form_type":"4"}},{"id":2011901,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-02-16T15:40:44.000Z","date":"2023-02-14","kind":"tax_withholding","acquired":false,"shares":3041,"price":56.8,"value":172728.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"3,041 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":132982,"source":{"system":"sec-edgar","filing":"0001127602-23-005458","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005458/form4.xml","form_type":"4"}},{"id":2011900,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-02-16T15:40:44.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":2151,"price":56.8,"value":122176.8,"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":136023,"source":{"system":"sec-edgar","filing":"0001127602-23-005458","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005458/form4.xml","form_type":"4"}},{"id":2011899,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-02-16T15:40:44.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":28829,"price":56.8,"value":1637487.2,"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":133872,"source":{"system":"sec-edgar","filing":"0001127602-23-005458","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005458/form4.xml","form_type":"4"}},{"id":2011898,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2023-02-16T15:40:44.000Z","date":"2023-02-14","kind":"grant","acquired":true,"shares":20180,"price":56.8,"value":1146224.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":105043,"source":{"system":"sec-edgar","filing":"0001127602-23-005458","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223005458/form4.xml","form_type":"4"}},{"id":2372865,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Stock Appreciation Right","published_at":"2022-02-25T13:07:21.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":11062,"price":82.01,"value":907194.62,"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":11062,"derivative":{"exercise_price":82.01,"exercise_date":"2023-03-01","expiration_date":"2032-02-23","underlying":"Common Stock","underlying_shares":11062},"source":{"system":"sec-edgar","filing":"0001127602-22-006733","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006733/form4.xml","form_type":"4"}},{"id":2372864,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-25T13:07:21.000Z","date":"2022-02-23","kind":"tax_withholding","acquired":false,"shares":5720,"price":82.01,"value":469097.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"5,720 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":84863,"source":{"system":"sec-edgar","filing":"0001127602-22-006733","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006733/form4.xml","form_type":"4"}},{"id":2372863,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-25T13:07:21.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":5747,"price":82.01,"value":471311.47,"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":90583,"source":{"system":"sec-edgar","filing":"0001127602-22-006733","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006733/form4.xml","form_type":"4"}},{"id":2372862,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-25T13:07:21.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":15242,"price":82.01,"value":1249996.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":84836,"source":{"system":"sec-edgar","filing":"0001127602-22-006733","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006733/form4.xml","form_type":"4"}},{"id":2372861,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-25T13:07:21.000Z","date":"2022-02-23","kind":"grant","acquired":true,"shares":10669,"price":82.01,"value":874964.69,"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":69594,"source":{"system":"sec-edgar","filing":"0001127602-22-006733","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222006733/form4.xml","form_type":"4"}},{"id":2382896,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-22T14:55:55.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 stock units."}],"balance_after":58925,"source":{"system":"sec-edgar","filing":"0001127602-22-005857","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222005857/form4.xml","form_type":"4"}},{"id":2382895,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-22T14:55:55.000Z","date":"2022-02-17","kind":"tax_withholding","acquired":false,"shares":771,"price":89.17,"value":68750.07,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"771 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":59557,"source":{"system":"sec-edgar","filing":"0001127602-22-005857","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222005857/form4.xml","form_type":"4"}},{"id":2395109,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2022-02-15T15:36:14.000Z","date":"2022-02-13","kind":"tax_withholding","acquired":false,"shares":824,"price":85.29,"value":70278.96,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"824 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":60328,"source":{"system":"sec-edgar","filing":"0001127602-22-004947","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222004947/form4.xml","form_type":"4"}},{"id":2515953,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Stock Appreciation Right","published_at":"2021-11-12T14:56:50.000Z","date":"2021-11-10","kind":"exercise","acquired":false,"shares":7412,"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":7412},"source":{"system":"sec-edgar","filing":"0001127602-21-028891","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028891/form4.xml","form_type":"4"}},{"id":2515952,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-11-12T14:56:50.000Z","date":"2021-11-11","kind":"sale","acquired":false,"shares":3508,"price":127.89,"value":448638.12,"ownership":{"direct":true},"balance_after":61152,"source":{"system":"sec-edgar","filing":"0001127602-21-028891","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028891/form4.xml","form_type":"4"}},{"id":2515951,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-11-12T14:56:50.000Z","date":"2021-11-10","kind":"tax_withholding","acquired":false,"shares":2883,"price":127.26,"value":366890.58,"ownership":{"direct":true},"balance_after":64660,"source":{"system":"sec-edgar","filing":"0001127602-21-028891","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028891/form4.xml","form_type":"4"}},{"id":2515950,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-11-12T14:56:50.000Z","date":"2021-11-10","kind":"disposition_to_issuer","acquired":false,"shares":1021,"price":127.26,"value":129932.46,"ownership":{"direct":true},"balance_after":67543,"source":{"system":"sec-edgar","filing":"0001127602-21-028891","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028891/form4.xml","form_type":"4"}},{"id":2515949,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-11-12T14:56:50.000Z","date":"2021-11-10","kind":"exercise","acquired":true,"shares":7412,"price":17.52,"value":129858.24,"ownership":{"direct":true},"balance_after":68564,"source":{"system":"sec-edgar","filing":"0001127602-21-028891","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028891/form4.xml","form_type":"4"}},{"id":2527150,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-11-03T18:06:08.000Z","date":"2021-11-02","kind":"tax_withholding","acquired":false,"shares":8497,"price":110.27,"value":936964.19,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"8,497 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":61152,"source":{"system":"sec-edgar","filing":"0001127602-21-028241","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221028241/form4.xml","form_type":"4"}},{"id":2715011,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-05-13T14:21:24.000Z","date":"2021-05-12","kind":"sale","acquired":false,"shares":200,"price":103.83,"value":20766.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F6","text":"The price reported in column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $103.7400 to $103.9200, inclusive."}],"balance_after":69649,"source":{"system":"sec-edgar","filing":"0001127602-21-016464","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221016464/form4.xml","form_type":"4"}},{"id":2715010,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-05-13T14:21:24.000Z","date":"2021-05-12","kind":"sale","acquired":false,"shares":1500,"price":102.58,"value":153870.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","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 $102.3100 to $102.9900, inclusive."}],"balance_after":69849,"source":{"system":"sec-edgar","filing":"0001127602-21-016464","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221016464/form4.xml","form_type":"4"}},{"id":2715009,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-05-13T14:21:24.000Z","date":"2021-05-12","kind":"sale","acquired":false,"shares":1400,"price":101.79,"value":142506.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","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 $101.3100 to $102.2900, inclusive."}],"balance_after":71349,"source":{"system":"sec-edgar","filing":"0001127602-21-016464","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221016464/form4.xml","form_type":"4"}},{"id":2715008,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-05-13T14:21:24.000Z","date":"2021-05-12","kind":"sale","acquired":false,"shares":600,"price":100.88,"value":60528.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F3","text":"The price reported in column 4 is a weighted average price.  These shares ere sold in multiple transactions at prices ranging from $100.2300 to $101.2000, inclusive."}],"balance_after":72749,"source":{"system":"sec-edgar","filing":"0001127602-21-016464","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221016464/form4.xml","form_type":"4"}},{"id":2715007,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-05-13T14:21:24.000Z","date":"2021-05-12","kind":"sale","acquired":false,"shares":1202,"price":99.38,"value":119454.76,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F2","text":"The price reported in column 4 is a weighted average price  These shares were sold in multiple transactions at prices ranging from $99.0800 to $99.9500, inclusive."}],"balance_after":73349,"source":{"system":"sec-edgar","filing":"0001127602-21-016464","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221016464/form4.xml","form_type":"4"}},{"id":2830385,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-26T19:04:26.000Z","date":"2021-02-24","kind":"sale","acquired":false,"shares":100,"price":93.12,"value":9312.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","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 $93.12 to $94.12, inclusive."}],"balance_after":74551,"source":{"system":"sec-edgar","filing":"0001127602-21-008030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221008030/form4.xml","form_type":"4"}},{"id":2830384,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-26T19:04:26.000Z","date":"2021-02-24","kind":"sale","acquired":false,"shares":2600,"price":92.62,"value":240812.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F4","text":"The price reported in column  is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $92.09 to $93.09, inclusive."}],"balance_after":74651,"source":{"system":"sec-edgar","filing":"0001127602-21-008030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221008030/form4.xml","form_type":"4"}},{"id":2830383,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-26T19:04:26.000Z","date":"2021-02-24","kind":"sale","acquired":false,"shares":800,"price":91.4,"value":73120.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F3","text":"The price reported in column 4 is a weighted average price  These shares were sold in multiple transactions at prices ranging fro $91.02 to $92.02, inclusive."}],"balance_after":77251,"source":{"system":"sec-edgar","filing":"0001127602-21-008030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221008030/form4.xml","form_type":"4"}},{"id":2830382,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-26T19:04:26.000Z","date":"2021-02-24","kind":"sale","acquired":false,"shares":500,"price":89.66,"value":44830.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on November 4, 2020."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F2","text":"The price reported in column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $89.45 to $90.45, inclusive."}],"balance_after":78051,"source":{"system":"sec-edgar","filing":"0001127602-21-008030","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221008030/form4.xml","form_type":"4"}},{"id":2840457,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-23T18:00:41.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":78551,"source":{"system":"sec-edgar","filing":"0001127602-21-007213","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221007213/form4.xml","form_type":"4"}},{"id":2846903,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Stock Appreciation Right","published_at":"2021-02-19T19:35:40.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":4431,"price":104.56,"value":463305.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":4431,"derivative":{"exercise_price":104.56,"exercise_date":"2022-02-17","expiration_date":"2031-02-17","underlying":"Common Stock","underlying_shares":4431},"source":{"system":"sec-edgar","filing":"0001127602-21-006685","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006685/form4.xml","form_type":"4"}},{"id":2846902,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-19T19:35:40.000Z","date":"2021-02-17","kind":"tax_withholding","acquired":false,"shares":3760,"price":104.56,"value":393145.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"3,760 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":79183,"source":{"system":"sec-edgar","filing":"0001127602-21-006685","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006685/form4.xml","form_type":"4"}},{"id":2846901,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-19T19:35:40.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":1730,"price":104.76,"value":181234.8,"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":82943,"source":{"system":"sec-edgar","filing":"0001127602-21-006685","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006685/form4.xml","form_type":"4"}},{"id":2846900,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-19T19:35:40.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":7322,"price":104.56,"value":765588.32,"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":81213,"source":{"system":"sec-edgar","filing":"0001127602-21-006685","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006685/form4.xml","form_type":"4"}},{"id":2846899,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-19T19:35:40.000Z","date":"2021-02-17","kind":"grant","acquired":true,"shares":5126,"price":104.56,"value":535974.56,"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":73891,"source":{"system":"sec-edgar","filing":"0001127602-21-006685","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221006685/form4.xml","form_type":"4"}},{"id":2860084,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-16T16:24:46.000Z","date":"2021-02-14","kind":"tax_withholding","acquired":false,"shares":666,"price":106.28,"value":70782.48,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"666 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":68765,"source":{"system":"sec-edgar","filing":"0001127602-21-005662","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221005662/form4.xml","form_type":"4"}},{"id":2860083,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"President and CEO"}}],"security":"Common Stock","published_at":"2021-02-16T16:24:46.000Z","date":"2021-02-13","kind":"tax_withholding","acquired":false,"shares":821,"price":106.28,"value":87255.88,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"821 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":69431,"source":{"system":"sec-edgar","filing":"0001127602-21-005662","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221005662/form4.xml","form_type":"4"}},{"id":3244461,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-28T02:08:45.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":200,"price":104.5,"value":20900.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 2019."},{"field":"price","element":"transactionPricePerShare","label":"F6","text":"The price reported in column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $104.50 to $105.4999, inclusive."}],"balance_after":35126,"source":{"system":"sec-edgar","filing":"0001127602-20-008234","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008234/form4.xml","form_type":"4"}},{"id":3244460,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-28T02:08:45.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":700,"price":102.3329,"value":71633.03,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 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 $101.86 to $102.8599, inclusive."}],"balance_after":35326,"source":{"system":"sec-edgar","filing":"0001127602-20-008234","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008234/form4.xml","form_type":"4"}},{"id":3244459,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-28T02:08:45.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":1190,"price":100.7545,"value":119897.855,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 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 $100.30 to $101.2999, inclusive."}],"balance_after":36026,"source":{"system":"sec-edgar","filing":"0001127602-20-008234","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008234/form4.xml","form_type":"4"}},{"id":3244458,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-28T02:08:45.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":877,"price":99.7699,"value":87498.2023,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 2019."},{"field":"price","element":"transactionPricePerShare","label":"F3","text":"The price reported in column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $99.20 to $100.1999, inclusive."}],"balance_after":37216,"source":{"system":"sec-edgar","filing":"0001127602-20-008234","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008234/form4.xml","form_type":"4"}},{"id":3244457,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-28T02:08:45.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":2081,"price":98.5316,"value":205044.2596,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 2019."},{"field":"price","element":"transactionPricePerShare","label":"F2","text":"The price reported in column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $98.18 to $99.1799, inclusive."}],"balance_after":38093,"source":{"system":"sec-edgar","filing":"0001127602-20-008234","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008234/form4.xml","form_type":"4"}},{"id":3253806,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Stock Appreciation Right","published_at":"2020-02-24T14:00:07.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-007092","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007092/form4.xml","form_type":"4"}},{"id":3253805,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-24T14:00:07.000Z","date":"2020-02-20","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":40174,"source":{"system":"sec-edgar","filing":"0001127602-20-007092","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007092/form4.xml","form_type":"4"}},{"id":3253804,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-24T14:00:07.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":37172,"source":{"system":"sec-edgar","filing":"0001127602-20-007092","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007092/form4.xml","form_type":"4"}},{"id":3253803,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-24T14:00:07.000Z","date":"2020-02-19","kind":"tax_withholding","acquired":false,"shares":2450,"price":101.66,"value":249067.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"2,450 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":35071,"source":{"system":"sec-edgar","filing":"0001127602-20-007092","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007092/form4.xml","form_type":"4"}},{"id":3253802,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-24T14:00:07.000Z","date":"2020-02-19","kind":"grant","acquired":true,"shares":1495,"price":101.66,"value":151981.7,"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":37521,"source":{"system":"sec-edgar","filing":"0001127602-20-007092","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220007092/form4.xml","form_type":"4"}},{"id":3267483,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-18T20:33:59.000Z","date":"2020-02-15","kind":"tax_withholding","acquired":false,"shares":516,"price":101.88,"value":52570.08,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"516 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":36026,"source":{"system":"sec-edgar","filing":"0001127602-20-006002","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220006002/form4.xml","form_type":"4"}},{"id":3267482,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-18T20:33:59.000Z","date":"2020-02-14","kind":"tax_withholding","acquired":false,"shares":328,"price":101.88,"value":33416.64,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"328 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":36542,"source":{"system":"sec-edgar","filing":"0001127602-20-006002","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220006002/form4.xml","form_type":"4"}},{"id":3267481,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2020-02-18T20:33:59.000Z","date":"2020-02-13","kind":"tax_withholding","acquired":false,"shares":436,"price":101.39,"value":44206.04,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"436 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":36870,"source":{"system":"sec-edgar","filing":"0001127602-20-006002","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220006002/form4.xml","form_type":"4"}},{"id":3383809,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-11-01T21:38:30.000Z","date":"2019-10-30","kind":"sale","acquired":false,"shares":6210,"price":84.5305,"value":524934.405,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 2019."},{"field":"shares","element":"transactionShares","label":"F4","text":"This transaction was executed in multiple trades at prices ranging from $84.2600 to $84.8700. The price reported above reflects the weighted average sale price. The reporting person hereby undertakes to provide upon request to the SEC staff, the issuer or a security holder of the issuer full information regarding the number of shares and prices at which the transaction was effected."}],"balance_after":37306,"source":{"system":"sec-edgar","filing":"0001127602-19-031560","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031560/form4.xml","form_type":"4"}},{"id":3383808,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-11-01T21:38:30.000Z","date":"2019-10-30","kind":"sale","acquired":false,"shares":2802,"price":83.7963,"value":234797.2326,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 2019."},{"field":"shares","element":"transactionShares","label":"F3","text":"This transaction was executed in multiple trades at prices ranging from $83.2300 to $84.2100. The price reported above reflects the weighted average sale price. The reporting person hereby undertakes to provide upon request to the SEC staff, the issuer or a security holder of the issuer full information regarding the number of shares and prices at which the transaction was effected."}],"balance_after":43516,"source":{"system":"sec-edgar","filing":"0001127602-19-031560","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031560/form4.xml","form_type":"4"}},{"id":3383807,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-11-01T21:38:30.000Z","date":"2019-10-30","kind":"sale","acquired":false,"shares":2423,"price":82.4773,"value":199842.4979,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","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 14, 2019."},{"field":"shares","element":"transactionShares","label":"F2","text":"This transaction was executed in multiple trades at prices ranging from $82.1200 to $83.1100. The price reported above reflects the weighted average sale price. The reporting person hereby undertakes to provide upon request to the SEC staff, the issuer or a security holder of the issuer full information regarding the number of shares and prices at which the transaction was effected."}],"balance_after":46318,"source":{"system":"sec-edgar","filing":"0001127602-19-031560","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031560/form4.xml","form_type":"4"}},{"id":3614745,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Stock Appreciation Right","published_at":"2019-03-05T14:24:01.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-009720","document":"form4a.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009720/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614744,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-03-05T14:24:01.000Z","date":"2019-02-14","kind":"tax_withholding","acquired":false,"shares":333,"price":78.34,"value":26087.22,"ownership":{"direct":true},"balance_after":50686,"source":{"system":"sec-edgar","filing":"0001127602-19-009720","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009720/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614743,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-03-05T14:24:01.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":3740,"price":77.7,"value":290598.0,"ownership":{"direct":true},"balance_after":51019,"source":{"system":"sec-edgar","filing":"0001127602-19-009720","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009720/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614742,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-03-05T14:24:01.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2618,"price":77.7,"value":203418.6,"ownership":{"direct":true},"balance_after":47279,"source":{"system":"sec-edgar","filing":"0001127602-19-009720","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009720/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614741,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-03-05T14:24:01.000Z","date":"2019-02-13","kind":"tax_withholding","acquired":false,"shares":5078,"price":77.7,"value":394560.6,"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":44661,"source":{"system":"sec-edgar","filing":"0001127602-19-009720","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009720/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614740,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-03-05T14:24:01.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":5373,"price":77.7,"value":417482.1,"ownership":{"direct":true},"balance_after":49739,"source":{"system":"sec-edgar","filing":"0001127602-19-009720","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009720/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3650890,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-19T18:30:48.000Z","date":"2019-02-17","kind":"tax_withholding","acquired":false,"shares":1429,"price":76.76,"value":109690.04,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"1,429 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":48718,"source":{"system":"sec-edgar","filing":"0001127602-19-006652","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006652/form4.xml","form_type":"4"}},{"id":3650889,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"Executive VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-19T18:30:48.000Z","date":"2019-02-15","kind":"tax_withholding","acquired":false,"shares":516,"price":76.76,"value":39608.16,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"516 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":50147,"source":{"system":"sec-edgar","filing":"0001127602-19-006652","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006652/form4.xml","form_type":"4"}},{"id":3654305,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Stock Appreciation Right","published_at":"2019-02-15T20:45:31.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-006254","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006254/form4.xml","form_type":"4"}},{"id":3654304,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-15T20:45:31.000Z","date":"2019-02-14","kind":"tax_withholding","acquired":false,"shares":333,"price":78.34,"value":26087.22,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F6","text":"333 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":50663,"source":{"system":"sec-edgar","filing":"0001127602-19-006254","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006254/form4.xml","form_type":"4"}},{"id":3654303,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-15T20:45:31.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":50996,"source":{"system":"sec-edgar","filing":"0001127602-19-006254","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006254/form4.xml","form_type":"4"}},{"id":3654302,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-15T20:45:31.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":47256,"source":{"system":"sec-edgar","filing":"0001127602-19-006254","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006254/form4.xml","form_type":"4"}},{"id":3654301,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-15T20:45:31.000Z","date":"2019-02-13","kind":"tax_withholding","acquired":false,"shares":5101,"price":77.7,"value":396347.7,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"5,101 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":44638,"source":{"system":"sec-edgar","filing":"0001127602-19-006254","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006254/form4.xml","form_type":"4"}},{"id":3654300,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2019-02-15T20:45:31.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":5373,"price":77.7,"value":417482.1,"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":49739,"source":{"system":"sec-edgar","filing":"0001127602-19-006254","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006254/form4.xml","form_type":"4"}},{"id":3937455,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-05-11T19:09:45.000Z","date":"2018-05-09","kind":"sale","acquired":false,"shares":2472,"price":113.936,"value":281649.792,"ownership":{"direct":true},"balance_after":22183,"source":{"system":"sec-edgar","filing":"0001127602-18-017164","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218017164/form4.xml","form_type":"4"}},{"id":3942936,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-05-08T19:59:17.000Z","date":"2018-05-02","kind":"grant","acquired":true,"shares":4710,"price":105.03,"value":494691.3,"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 Bryan H. Fairbanks; as further described in the Company's Quarterly Report on Form 10-Q for the quarterly period ended on March 31, 2018."}],"balance_after":24655,"source":{"system":"sec-edgar","filing":"0001127602-18-016626","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218016626/form4.xml","form_type":"4"}},{"id":4048720,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-02-20T20:47:46.000Z","date":"2018-02-16","kind":"tax_withholding","acquired":false,"shares":775,"price":112.61,"value":87272.75,"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":19945,"source":{"system":"sec-edgar","filing":"0001127602-18-007134","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007134/form4.xml","form_type":"4"}},{"id":4048719,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-02-20T20:47:46.000Z","date":"2018-02-15","kind":"tax_withholding","acquired":false,"shares":258,"price":113.28,"value":29226.24,"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":20720,"source":{"system":"sec-edgar","filing":"0001127602-18-007134","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007134/form4.xml","form_type":"4"}},{"id":4052728,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Stock Appreciation Right","published_at":"2018-02-16T14:02:19.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1208,"price":112.42,"value":135803.36,"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":1208,"derivative":{"exercise_price":112.42,"exercise_date":"2019-02-14","expiration_date":"2028-02-14","underlying":"Common Stock","underlying_shares":1208},"source":{"system":"sec-edgar","filing":"0001127602-18-006506","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006506/form4.xml","form_type":"4"}},{"id":4052727,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-02-16T14:02:19.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1581,"price":112.42,"value":177736.02,"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":20978,"source":{"system":"sec-edgar","filing":"0001127602-18-006506","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006506/form4.xml","form_type":"4"}},{"id":4052726,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-02-16T14:02:19.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1107,"price":112.42,"value":124448.94,"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":19397,"source":{"system":"sec-edgar","filing":"0001127602-18-006506","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006506/form4.xml","form_type":"4"}},{"id":4052725,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-02-16T14:02:19.000Z","date":"2018-02-14","kind":"tax_withholding","acquired":false,"shares":2074,"price":112.42,"value":233159.08,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"2,074 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":18290,"source":{"system":"sec-edgar","filing":"0001127602-18-006506","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006506/form4.xml","form_type":"4"}},{"id":4052724,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":63555,"kind":"person","name":"FAIRBANKS BRYAN HORIX","position":1,"cik":"0001650692","reported_name":"FAIRBANKS BRYAN HORIX","relationship":{"officer":true,"officer_title":"VP and CFO"}}],"security":"Common Stock","published_at":"2018-02-16T14:02:19.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":2197,"price":112.42,"value":246986.74,"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":20364,"source":{"system":"sec-edgar","filing":"0001127602-18-006506","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006506/form4.xml","form_type":"4"}}],"next_cursor":"2018-02-16T14:02:19.000000Z,4052724"}