XML 80 R65.htm IDEA: XBRL DOCUMENT
v3.3.1.900

Income Taxes - Additional Information (Detail) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2013 USD ($) | Dec. 31, 2015 USD ($) Tax_Positions | Dec. 31, 2014 USD ($) | Dec. 31, 2013 USD ($)
Income Tax Contingency [Line Items] |  |  |  |
Deferred tax assets previously reserved under a valuation allowance | $ 9,100,000 |  |  | $ 9,100,000
Valuation allowance |  | $ 4,582,000 | $ 4,465,000 |
Provision (benefit) for income taxes |  | 28,689,000 | 25,427,000 | (10,549,000)
Excess tax benefits from stock compensation |  | 3,117,000 | $ 12,883,000 | $ 1,466,000
Unrecognized tax benefits related to identified uncertain tax positions |  | $ 100,000 |  |
Unrecognized tax benefits number of tax matters | Tax_Positions |  | 1 |  |
Total liabilities associated with tax benefit upon recognized |  | $ 100,000 |  |
Accrued Interest [Member] |  |  |  |
Income Tax Contingency [Line Items] |  |  |  |
Liabilities for uncertain tax portions |  | 4,000 |  |
Accrued Penalties [Member] |  |  |  |
Income Tax Contingency [Line Items] |  |  |  |
Liabilities for uncertain tax portions |  | $ 14,000 |  |
Exit Full Valuation Allowance [Member] |  |  |  |
Income Tax Contingency [Line Items] |  |  |  |
Provision (benefit) for income taxes | $ 10,900,000 |  |  |
Earliest Tax Year [Member] | Federal Tax Jurisdiction [Member] |  |  |  |
Income Tax Contingency [Line Items] |  |  |  |
Tax years subject to examination |  | 2012 |  |
Earliest Tax Year [Member] | Michigan [Member] |  |  |  |
Income Tax Contingency [Line Items] |  |  |  |
Tax years examined |  |  | 2008 |
Latest Tax Year [Member] | Federal Tax Jurisdiction [Member] |  |  |  |
Income Tax Contingency [Line Items] |  |  |  |
Tax years subject to examination |  | 2015 |  |
Latest Tax Year [Member] | Michigan [Member] |  |  |  |
Income Tax Contingency [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 Unrecognized tax benefits number of tax matters identified + References No definition available. + Details
Name: | trex_UnrecognizedTaxBenefitsNumberOfTaxMattersIdentified
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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
- 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_IncomeTaxContingencyLineItems
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 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32639-109319 Reference 2: 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 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 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The current portion of the amount recognized for uncertain tax positions as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LiabilityForUncertainTaxPositionsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 The amount of the unrecognized tax benefit of a position taken for which it is reasonably possible that the total amount thereof will significantly increase or decrease within twelve months of the balance sheet date. + 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 (d) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32718-109319 + Details
Name: | us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 Reference 2: 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 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_InformationByFinancialStatementLineItemAxis=trex_AccruedInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByFinancialStatementLineItemAxis=trex_AccruedPenaltiesMember
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: |

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

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_InternalRevenueServiceIRSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=stpr_MI
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: |