XML 80 R58.htm IDEA: XBRL DOCUMENT v2.4.1.9
Commitments and Contingencies - Additional Information (Detail) (USD $)
3 Months Ended 12 Months Ended
Sep. 30, 2013
Letter
Dec. 31, 2014
Dec. 31, 2013
Schedule Of Commitments And Contingencies [Line Items]      
Payments related to mold growth litigation   $ 1,800,000us-gaap_LossContingencyAccrualCarryingValuePayments  
Maximum expected total payments under the settlement   1,000,000us-gaap_LossContingencyRangeOfPossibleLossMaximum  
Average period for PE material purchases under short-term supply contracts for which pricing is negotiated as needed   2 years  
Charge recorded   1,471,000us-gaap_RestructuringCharges 1,144,000us-gaap_RestructuringCharges
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2015   6,753,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent  
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2016   5,490,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears  
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2017   5,370,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears  
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2018   5,308,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears  
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2019   4,467,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears  
Letters sent to homeowners 10,000trex_NumberOfLettersSentToHomeowner    
Increase in warranty reserve 20,000,000us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease    
Surface Flaking Warranty Reserve [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Increase in warranty reserve 20,000,000us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease
/ us-gaap_ValuationAllowancesAndReservesTypeAxis
= trex_SurfaceFlakingWarrantyReserveMember
  20,000,000us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease
/ us-gaap_ValuationAllowancesAndReservesTypeAxis
= trex_SurfaceFlakingWarrantyReserveMember
Percentage change in warranty claims used as a threshold for disclosure   10.00%trex_PercentageChangeInWarrantyClaimsUsedAsThresholdForDisclosure
/ us-gaap_ValuationAllowancesAndReservesTypeAxis
= trex_SurfaceFlakingWarrantyReserveMember
 
Change in warranty reserve for disclosure purposes only   3,100,000trex_ChangeInWarrantyReserveForDisclosurePurposesOnly
/ us-gaap_ValuationAllowancesAndReservesTypeAxis
= trex_SurfaceFlakingWarrantyReserveMember
 
Residential Use [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  
Transcend, Enhance, Select and Universal Fascia Product [Member] | Residential Use [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Warranty period   25 years  
Transcend, Enhance, Select and Universal Fascia Product [Member] | Commercial Use [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Warranty period   10 years  
TrexTrim and Trex Reveal Railing [Member] | Residential Use [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Warranty period   25 years  
TrexTrim and Trex Reveal Railing [Member] | Commercial Use [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Warranty period   25 years  
Sublease [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Lease square feet   24,732us-gaap_AreaOfRealEstateProperty
/ us-gaap_RestructuringCostAndReserveAxis
= trex_SubleaseMember
 
Contract Termination [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Lease square feet   55,047us-gaap_AreaOfRealEstateProperty
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Charge recorded   1,471,000us-gaap_RestructuringCharges
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
1,144,000us-gaap_RestructuringCharges
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2015   1,900,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2016   1,900,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2017   2,000,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2018   2,000,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum payments remaining under the Company's lease relating to its reconsidered corporate relocation for 2019   1,000,000us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum receipts remaining under the Company's existing subleases for 2015   700,000us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableCurrent
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum receipts remaining under the Company's existing subleases for 2016   600,000us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum receipts remaining under the Company's existing subleases for 2017   600,000us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum receipts remaining under the Company's existing subleases for 2018   600,000us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFourYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Minimum receipts remaining under the Company's existing subleases for 2019   400,000us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFiveYears
/ us-gaap_RestructuringCostAndReserveAxis
= us-gaap_ContractTerminationMember
 
Raw Material Supply Contracts [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Purchase commitment   23,600,000us-gaap_PurchaseObligationDueInNextTwelveMonths
/ us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
= trex_RawMaterialSupplyContractsMember
 
Purchase commitment, due in second year   13,300,000us-gaap_PurchaseObligationDueInSecondYear
/ us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
= trex_RawMaterialSupplyContractsMember
 
Purchase commitment, due in third year   5,700,000us-gaap_PurchaseObligationDueInThirdYear
/ us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
= trex_RawMaterialSupplyContractsMember
 
Purchase commitment, due in fourth year   48,000us-gaap_PurchaseObligationDueInFourthYear
/ us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
= trex_RawMaterialSupplyContractsMember
 
Third Party Manufacturing Contracts [Member]      
Schedule Of Commitments And Contingencies [Line Items]      
Purchase commitment   $ 1,900,000us-gaap_PurchaseObligationDueInNextTwelveMonths
/ us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
= trex_ThirdPartyManufacturingContractsMember