XML 63 R53.htm IDEA: XBRL DOCUMENT
v3.24.3

Commitments and Contingencies - Summary of Reconciliation of Company's Residential Product Warranty Reserve (Detail) - Surface Flaking Warranty Reserve [Member] - USD ($) $ in Thousands | 9 Months Ended
--- | ---
Sep. 30, 2024 | Sep. 30, 2023
Product Warranty Liability [Line Items] |  |
Beginning balance | $ 22,178 | $ 25,599
Provisions and changes in estimates | 7,298 | 2,728
Settlements made during the period | (5,842) | (5,361)
Ending balance | 23,634 | 22,966
Product Warranty [Member] |  |
Product Warranty Liability [Line Items] |  |
Beginning balance | 12,066 | 9,694
Provisions and changes in estimates | 8,375 | 6,528
Settlements made during the period | (4,717) | (3,839)
Ending balance | 15,724 | 12,383
Surface Flaking [Member] |  |
Product Warranty Liability [Line Items] |  |
Beginning balance | 10,112 | 15,905
Provisions and changes in estimates | (1,077) | (3,800)
Settlements made during the period | (1,125) | (1,522)
Ending balance | $ 7,910 | $ 10,583

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_ProductWarrantyLiabilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount as of the balance sheet date of the aggregate standard product warranty liability. Does not include the balance for the 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)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-8 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c)(5) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-8 + Details
Name: | us-gaap_StandardProductWarrantyAccrual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of decrease in the standard product warranty accrual from payments made in cash or in kind to satisfy claims under the terms of the standard product warranty. Excludes extended product warranties. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-8 + Details
Name: | us-gaap_StandardProductWarrantyAccrualPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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://www.xbrl.org/2009/role/commonPracticeRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-8 + Details
Name: | us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_ContingentConsiderationByTypeAxis=trex_ProductWarrantyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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