XML 62 R52.htm IDEA: XBRL DOCUMENT
v3.24.3

Commitments and Contingencies - Additional Information (Detail) $ in Millions | 9 Months Ended |
--- | --- | ---
Sep. 30, 2024 USD ($) | Oct. 26, 2021 USD ($) a
Schedule Of Commitments And Contingencies [Line Items] |  |
Change in warranty reserve for disclosure purposes only | $ 0.7 |
Area of Land | a |  | 300
Warranty reserve increase (decrease) | 1.1 |
Land and Land Improvements |  | $ 550.0
Cost of land and land improvements incurred | $ 340.0 |
Surface Flaking Warranty Reserve [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Percentage change in warranty claims used as a threshold for disclosure | 10.00% |
Residential Use [Member] | Products Sold Prior to January One, Two Thousand and Twenty Three [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 25 years |
Commercial Use [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 10 years |
Commercial Use [Member] | Products Sold Prior to January One, Two Thousand and Twenty Three [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 10 years |
Signature Railing And Transcend Cladding [Member] | Commercial Use [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 25 years |
Transcend Decking [Member] | Residential Use [Member] | Products Sold on or After January One, Two Thousand and Twenty Three [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 50 years |
Select Decking And Universal Fascia [Member] | Residential Use [Member] | Products Sold on or After January One, Two Thousand and Twenty Three [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 35 years |
Enhance Decking And Transcend, Select, Enhance And Signature Railing [Member] | Residential Use [Member] | Products Sold on or After January One, Two Thousand and Twenty Three [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 25 years |
Signature Railing [Member] | Residential and Commercial Use [Member] | Products Sold Prior to January One, Two Thousand and Twenty Three [Member] |  |
Schedule Of Commitments And Contingencies [Line Items] |  |
Warranty period | 25 years |

X
- Definition Land And Land Improvement Costs Incurred + References No definition available. + Details
Name: | trex_LandAndLandImprovementCostsIncurred
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage change in the expected number of remaining claims to be settled with payment or the expected cost to settle claims used as a threshold for disclosure. + References No definition available. + Details
Name: | trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims
Namespace Prefix: | trex_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of commitments and contingencies. + References No definition available. + Details
Name: | trex_ScheduleOfCommitmentsAndContingenciesLineItems
Namespace Prefix: | trex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Estimated change in the warranty reserve resulting from a 10% change in the expected number of remaining claims to be settled with payment or the expected cost to settle claims for disclosure purposes only. + References No definition available. + Details
Name: | trex_SensitivityChangeInSurfaceFlakingWarrantyReserve
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of years the Company warrants that its products will be free from material defects in workmanship and materials. + References No definition available. + Details
Name: | trex_WarrantyPeriod
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Area of land held. + References No definition available. + Details
Name: | us-gaap_AreaOfLand
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount before accumulated depreciation and depletion of real estate held for productive use and additions or improvements to real estate held for productive use, examples include, but are not limited to, walkways, driveways, fences, and parking lots. Excludes land held for sale. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(13)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LandAndLandImprovements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in the standard and extended product warranty liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-8 + Details
Name: | us-gaap_ProductWarrantyAccrualPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=trex_ResidentialUseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SupplyCommitmentAxis=trex_ProductsSoldPriorToJanuaryOneTwoThousandAndTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=trex_CommercialUseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=trex_SignatureRailingAndTranscendCladdingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=trex_TranscendDeckingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SupplyCommitmentAxis=trex_ProductsSoldOnOrAfterJanuaryOneTwoThousandAndTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=trex_SelectDeckingAndUniversalFasciaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=trex_EnhanceDeckingAndTranscendSelectEnhanceAndSignatureRailingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=trex_SignatureRailingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=trex_ResidentialAndCommercialUseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |