XML 20 R9.htm IDEA: XBRL DOCUMENT
v3.23.1

Sale of Trex Commercial Products, Inc. | 3 Months Ended
--- | ---
Mar. 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. 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 will dedicate its resources to accelerating conversion to composites from wood and further strengthen its leadership position in the outdoor living category. The divestiture did not represent a strategic shift with a major effect on the Company’s operations. The results of operations of Trex Commercial are consolidated in the Company’s results of operations for the three months ended March 31, 2022.

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: |