XML 47 R30.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Summary of Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Accounting Policies [Abstract] |
Estimated Useful Lives of Property Plant and Equipment | Property, plant and equipment are stated at historical cost. The costs of additions and improvements are capitalized, while maintenance and repairs are expensed as incurred. Cash flows for capital expenditures as reported in cash flows from investing activities in the Consolidated Statements of Cash Flows are adjusted to exclude unpaid amounts accrued at period end. Depreciation is provided using the straight-line method generally over the following estimated useful lives:
Buildings |  | 40 years
Machinery and equipment |  | 3-11 years
Furniture and fixtures |  | 10 years
Forklifts and tractors |  | 5 years
Computer equipment and software |  | 5 years

X
- Definition Tabular disclosure of the estimated useful life of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. + References No definition available. + Details
Name: | trex_PropertyPlantAndEquipmentEstimatedUsefulLifeTableTextBlock
Namespace Prefix: | trex_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration