XML 74 R62.htm IDEA: XBRL DOCUMENT
v3.20.2

Commitments and Contingencies - Summary of Reconciliation of Company's Residential Product Warranty Reserve (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2020 | Sep. 30, 2020 | Sep. 30, 2019
Surface Flaking Warranty Reserve [Member] |  |  |
Product Warranty Liability [Line Items] |  |  |
Beginning balance |  | $ 25,494 | $ 30,754
Provisions and changes in estimates |  | 8,411 | 1,571
Settlements made during the period |  | (4,256) | (5,031)
Ending balance | $ 29,649 | 29,649 | 27,294
Surface Flaking [Member] |  |  |
Product Warranty Liability [Line Items] |  |  |
Provisions and changes in estimates | 6,500 |  |
Surface Flaking [Member] | Surface Flaking Warranty Reserve [Member] |  |  |
Product Warranty Liability [Line Items] |  |  |
Beginning balance |  | 19,024 | 23,951
Provisions and changes in estimates |  | 6,479 |
Settlements made during the period |  | (3,078) | (4,027)
Ending balance | 22,425 | 22,425 | 19,924
Other Residential [Member] | Surface Flaking Warranty Reserve [Member] |  |  |
Product Warranty Liability [Line Items] |  |  |
Beginning balance |  | 6,470 | 6,803
Provisions and changes in estimates |  | 1,932 | 1,571
Settlements made during the period |  | (1,178) | (1,004)
Ending balance | $ 7,224 | $ 7,224 | $ 7,370

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (c)(1),(c)(5) -URI http://asc.fasb.org/extlink&oid=68068213&loc=d3e12565-110249 + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph ((c)(2)) -URI http://asc.fasb.org/extlink&oid=68068213&loc=d3e12565-110249 + 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://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_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember
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: |

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