XML 73 R62.htm IDEA: XBRL DOCUMENT
v3.21.2

Subsequent Event - Additional Information (Detail) - Subsequent Event [Member] - Residential Portfolio Segment [Member] $ in Millions | Oct. 26, 2021 USD ($) a
--- | ---
Subsequent Event [Line Items] |
Area of Land | a | 300
New Arkansas Site [Member] |
Subsequent Event [Line Items] |
Land and Land Improvements | $ | $ 400
Land Improvements Term Period | 5 years

X
- Definition Land improvements term period. + References No definition available. + Details
Name: | trex_LandImprovementsTermPeriod
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Area of land held. + References No definition available. + Details
Name: | us-gaap_AreaOfLand
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount before accumulated deprecation and depletion of real estate held for productive use and additions or improvements to real estate held for productive use, examples include, but are not limited to, walkways, driveways, fences, and parking lots. Excludes land held for sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=124098289&loc=d3e6812-107765 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(13)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LandAndLandImprovements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=trex_NewArkansasSiteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |