XML 38 R73.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Income Taxes - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2019 USD ($) Tax_Positions | Dec. 31, 2018 USD ($) | Dec. 31, 2017 USD ($)
Income Tax Contingency [Line Items] |  |  |
Valuation allowance | $ 2,988,000 | $ 3,015,000 |
Income tax expense (benefit) | $ 44,964,000 | 42,289,000 | $ 46,791,000
Unrecognized tax benefits number of tax matters | Tax_Positions | 0 |  |
Unrecognized tax benefits related to identified uncertain tax positions | $ 0 |  |
Tax years subject to examination | 2015 2016 2017 |  |
Accounting Standards Update 2016-09 [Member] |  |  |
Income Tax Contingency [Line Items] |  |  |
Income tax expense (benefit) | $ 3,500,000 | $ 2,400,000 | $ 1,500,000

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 deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&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 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (h) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324 + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | us-types:gYearListItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 10B -URI http://asc.fasb.org/extlink&oid=116821951&loc=SL37586934-109318 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&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_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201609Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |