XML 24 R57.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Income Taxes - Additional Information (Detail) (USD $) | 12 Months Ended | 3 Months Ended
--- | --- | ---
Dec. 31, 2014 | Dec. 31, 2013 | Dec. 31, 2012 | Dec. 31, 2013
Income Tax Examination [Line Items] |  |  |  |
Deferred tax assets previously reserved under a valuation allowance |  | $ 9,100,000 trex_DeferredTaxAssetsRealized |  | $ 9,100,000 trex_DeferredTaxAssetsRealized
Valuation allowance | 4,465,000 us-gaap_DeferredTaxAssetsValuationAllowance | 4,201,000 us-gaap_DeferredTaxAssetsValuationAllowance |  | 4,201,000 us-gaap_DeferredTaxAssetsValuationAllowance
Provision (benefit) for income taxes | 25,427,000 us-gaap_IncomeTaxExpenseBenefit | (10,549,000)us-gaap_IncomeTaxExpenseBenefit | 1,009,000 us-gaap_IncomeTaxExpenseBenefit |
Excess tax benefits from stock compensation | 12,883,000 us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet | 1,466,000 us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet |  |
Unrecognized tax benefits related to identified uncertain tax positions | 0 us-gaap_UnrecognizedTaxBenefits |  |  |
Exit Full Valuation Allowance [Member] |  |  |  |
Income Tax Examination [Line Items] |  |  |  |
Provision (benefit) for income taxes |  |  |  | $ 10,900,000 us-gaap_IncomeTaxExpenseBenefit / us-gaap_ValuationAllowanceByDeferredTaxAssetAxis = trex_ExitFullValuationAllowanceMember
Earliest Tax Year [Member] | Federal Tax Jurisdiction [Member] |  |  |  |
Income Tax Examination [Line Items] |  |  |  |
Tax years subject to examination | 2011 |  |  |
Earliest Tax Year [Member] | Michigan [Member] |  |  |  |
Income Tax Examination [Line Items] |  |  |  |
Tax years examined | 2008 |  |  |
Latest Tax Year [Member] | Federal Tax Jurisdiction [Member] |  |  |  |
Income Tax Examination [Line Items] |  |  |  |
Tax years subject to examination | 2013 |  |  |
Latest Tax Year [Member] | Michigan [Member] |  |  |  |
Income Tax Examination [Line Items] |  |  |  |
Tax years examined | 2011 |  |  |

X
- Definition The amount of deferred tax assets realized during the period that were previously reserved under a valuation allowance. + References No definition available. + Details
Name: | trex_DeferredTaxAssetsRealized
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in additional paid in capital (APIC) resulting from a tax benefit (deficiency) associated with an share-based compensation plan other than an employee stock ownership plan (ESOP). + References No definition available. + Details
Name: | us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxExaminationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax year being audited in the income tax examination, in CCYY format. + References No definition available. + Details
Name: | us-gaap_IncomeTaxExaminationYearUnderExamination
Namespace Prefix: | us-gaap_
Data Type: | xbrli:gYearItemType
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 Tax year that remains open to examination under enacted tax laws, in CCYY format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32718-109319 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits pertaining to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Unrecognized Tax Benefit -URI http://asc.fasb.org/extlink&oid=6527854 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=trex_ExitFullValuationAllowanceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |