XML 73 R61.htm IDEA: XBRL DOCUMENT
v3.20.2

Commitments and Contingencies - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2020 | Sep. 30, 2020 | Sep. 30, 2019
Schedule Of Commitments And Contingencies [Line Items] |  |  |
Change in warranty reserve for disclosure purposes only | $ 2,200 | $ 2,200 |
Surface Flaking [Member] |  |  |
Schedule Of Commitments And Contingencies [Line Items] |  |  |
Provisions and changes in estimates for future settlement of surface flaking claims | $ 6,500 |  |
Minimum [Member] |  |  |
Schedule Of Commitments And Contingencies [Line Items] |  |  |
Warranty period |  | 10 years |
Maximum [Member] |  |  |
Schedule Of Commitments And Contingencies [Line Items] |  |  |
Warranty period |  | 25 years |
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% |
Provisions and changes in estimates for future settlement of surface flaking claims |  | $ 8,411 | $ 1,571
Surface Flaking Warranty Reserve [Member] | Surface Flaking [Member] |  |  |
Schedule Of Commitments And Contingencies [Line Items] |  |  |
Provisions and changes in estimates for future settlement of surface flaking claims |  | $ 6,479 |

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: | num: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 Amount of increase (decrease) in the standard product warranty accrual from changes in estimates attributable to preexisting product warranties. Excludes extended product warranties. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph ((c)(4)) -URI http://asc.fasb.org/extlink&oid=68068213&loc=d3e12565-110249 + Details
Name: | us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=trex_SurfaceFlakingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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