XML 28 R11.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Sale of Trex Commercial Products, Inc. | 12 Months Ended
--- | ---
Dec. 31, 2023
Trex Commercial Products Inc [Member] |
Subsidiary or Equity Method Investee [Line Items] |
Sale of Trex Commercial Products, Inc. |
3. | SALE OF TREX COMMERCIAL PRODUCTS, INC.
On December 30, 2022, the Company completed the sale of substantially all of the assets of its wholly-owned subsidiary and reportable segment, Trex Commercial, for net proceeds of $7.3 million. The divestiture reflected the Company’s decision to focus on driving the most profitable growth strategy for the Company and its shareholders through the execution of its outdoor living strategy. With the sale complete, the Company has dedicated its resources to accelerating conversion to composites from wood and further strengthen its leadership position in the outdoor living category. The sale resulted in a loss on sale of $15.4 million and is reported in the Consolidated Statements of Comprehensive Income. The divestiture did not represent a strategic shift with a major effect on the Company’s operations and financial results and, therefore, was not reported as a discontinued operation. As such, the results of operations of Trex Commercial are consolidated in the Company’s results of operations for the years ended December 31, 2022, and December 31, 2021. Refer to Note 17, Segment Information, for additional information on the Trex Commercial segment.

X
- Definition Schedule of divesture of interests in subsidiary. + References No definition available. + Details
Name: | trex_ScheduleOfDivestureOfInterestsInSubsidiaryTextBlock
Namespace Prefix: | trex_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_SubsidiaryOrEquityMethodInvesteeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=trex_TrexCommercialProductsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |