XML 33 R62.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Interim Financial Data (Unaudited) - Summary of Interim Financial Data (Parenthetical) (Detail) (USD $) In Thousands, unless otherwise specified | 3 Months Ended | 12 Months Ended | 3 Months Ended
--- | --- | --- | ---
Sep. 30, 2013 | Dec. 31, 2014 | Dec. 31, 2013 | Dec. 31, 2012 | Dec. 31, 2013
Interim Reporting [Line Items] |  |  |  |  |
Increase in warranty reserve | $ 20,000 us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease |  |  |  |
Provision (benefit) for income taxes |  | 25,427 us-gaap_IncomeTaxExpenseBenefit | (10,549)us-gaap_IncomeTaxExpenseBenefit | 1,009 us-gaap_IncomeTaxExpenseBenefit |
Surface Flaking Warranty Reserve [Member] |  |  |  |  |
Interim Reporting [Line Items] |  |  |  |  |
Increase in warranty reserve | 20,000 us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease / us-gaap_ValuationAllowancesAndReservesTypeAxis = trex_SurfaceFlakingWarrantyReserveMember |  | 20,000 us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease / us-gaap_ValuationAllowancesAndReservesTypeAxis = trex_SurfaceFlakingWarrantyReserveMember |  |
Exit Full Valuation Allowance [Member] |  |  |  |  |
Interim Reporting [Line Items] |  |  |  |  |
Provision (benefit) for income taxes |  |  |  |  | $ 10,900 us-gaap_IncomeTaxExpenseBenefit / us-gaap_ValuationAllowanceByDeferredTaxAssetAxis = trex_ExitFullValuationAllowanceMember

X
- Details
Name: | trex_InterimReportingLineItems
Namespace Prefix: | trex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph h -Article 4 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Income Tax Expense (or Benefit) -URI http://asc.fasb.org/extlink&oid=6515339 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32639-109319 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the aggregate Increase or Decrease in the liability during the reporting period for accruals related to preexisting standard product warranties (including adjustments related to changes in estimates). Does not include any Increase or Decrease in the liability for accruals related to extended product warranties. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph ((c)(4)) -URI http://asc.fasb.org/extlink&oid=6398077&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_ValuationAllowanceByDeferredTaxAssetAxis=trex_ExitFullValuationAllowanceMember
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: |