XML 54 R44.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Summary of Significant Accounting Policies - Additional Information (Detail) |  | 12 Months Ended
--- | --- | ---
Jan. 01, 2023 | Dec. 31, 2024 USD ($) Institution Customer Supplier | Dec. 31, 2023 USD ($) Customer | Dec. 31, 2022 USD ($) Customer
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Maximum term of original maturities to classify as cash equivalent |  | 3 months |  |
Number of financial institutions where deposits are maintained | Institution |  | 1 |  |
Valuation allowance |  | $ 0 | $ 0 |
Number of customers that accounted for 10% or more of net sales | Customer |  | 3 | 3 | 3
Number of customer accounted for 10% or more account receivable | Customer |  | 2 | 3 |
Number of largest raw material suppliers | Supplier |  | 4 |  |
Excess of the replacement cost of inventory over the LIFO value of inventory |  | $ (49,669,000) | $ (33,439,000) |
Valuation allowance |  | 2,638,000 | 3,307,000 |
Research and Development costs |  | 3,500,000 | 3,300,000 | $ 500,000
Branding Expenses |  | $ 53,500,000 | $ 48,800,000 | $ 43,300,000
Operating leases with an initial term |  | 12 months or less |  |
Leasehold Improvements [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Property, plant, and equipment estimated useful life |  | 15 years |  |
Signature Railing And Transcend Cladding [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 25 years |  |  |
Maximum [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Operating Lease terms |  | 11 years |  |
Commercial Use [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 10 years | 10 years |  |
Commercial Use [Member] | Signature Railing And Transcend Cladding [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period |  | 25 years |  |
Residential Use [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 25 years |  |  |
Residential Use [Member] | Signature Railing [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 25 years |  |  |
Residential Use [Member] | Transcend Decking [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 50 years |  |  |
Residential Use [Member] | Select Decking And Universal Fascia [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 35 years |  |  |
Residential Use [Member] | Enhance Decking And Transcend, Select, Enhance And Signature Railing [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Warranty period | 25 years |  |  |
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | Minimum [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Concentration risk as percentage of total |  | 10.00% | 10.00% | 10.00%
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | Customer One [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Concentration risk as percentage of total |  | 81.00% | 72.00% | 64.00%
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer One [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Concentration risk as percentage of total |  | 33.00% | 27.00% |
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer Two [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Concentration risk as percentage of total |  | 32.00% | 23.00% |
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer Three [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Concentration risk as percentage of total |  |  | 20.00% |
Raw Materials [Member] | Supplier Concentration Risk [Member] | Four Largest Suppliers [Member] |  |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |  |
Concentration risk as percentage of total |  | 21.40% | 26.70% | 17.50%

X
- Definition Description of operating leases with initial term. + References No definition available. + Details
Name: | trex_DescriptionOfOperatingLeasesWithInitialTerm
Namespace Prefix: | trex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum term of original maturities to classify as cash equivalent. + References No definition available. + Details
Name: | trex_MaturityPeriodOfCashEquivalent
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of customer accounted for ten percent or more account receivable. + References No definition available. + Details
Name: | trex_NumberOfCustomerAccountedForTenPercentOrMoreAccountReceivable
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of customer accounted for ten percent or more sales of net sales. + References No definition available. + Details
Name: | trex_NumberOfCustomerAccountedForTenPercentOrMoreSalesOfNetSales
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financial institutions where Company deposits are maintained. + References No definition available. + Details
Name: | trex_NumberOfFinancialInstitutionWithDeposit
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of largest raw material suppliers. + References No definition available. + Details
Name: | trex_NumberOfLargestRawMaterialSuppliers
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of significant accounting policies. + References No definition available. + Details
Name: | trex_ScheduleOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | trex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Valuation allowance for credit losses and disputed amounts. + References No definition available. + Details
Name: | trex_ValuationAllowanceForCreditLossesAndDisputedAmounts
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 720 -SubTopic 35 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483385/720-35-55-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 720 -SubTopic 35 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483406/720-35-50-1 + Details
Name: | us-gaap_AdvertisingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-42 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-21 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-20 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-18 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-20 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-2 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount by which inventory stated at last-in first-out (LIFO) is less than (in excess of) inventory stated at other inventory cost methods. + 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(6)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InventoryLIFOReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Term of lessor's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479773/842-30-50-3 + Details
Name: | us-gaap_LessorOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense for research and development. Includes, but is not limited to, cost for computer software product to be sold, leased, or otherwise marketed and writeoff of research and development assets acquired in transaction other than business combination or joint venture formation or both. Excludes write-down of intangible asset acquired in business combination or from joint venture formation or both, used in research and development activity. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 48 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-48 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 730 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482916/730-10-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 912 -SubTopic 730 -Name Accounting Standards Codification -Section 25 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479532/912-730-25-1 + Details
Name: | us-gaap_ResearchAndDevelopmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
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_RangeAxis=srt_MaximumMember
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: | us-gaap_GuaranteeObligationsByNatureAxis=trex_ResidentialUseMember
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: | srt_ProductOrServiceAxis=trex_TranscendDeckingMember
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: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
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_MajorCustomersAxis=trex_CustomerOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_AccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=trex_CustomerTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=trex_CustomerThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_PublicUtilitiesInventoryRawMaterialsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_SupplierConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis=trex_FourLargestSuppliersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |