XML 36 R29.htm IDEA: XBRL DOCUMENT
v3.25.1

Accrued Expenses and Other Liabilities (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2025
Payables and Accruals [Abstract] |
Summary of Accrued Expenses and Other Liabilities | Accrued expenses and other liabilities consist of the following (in thousands):
|  | March 31, 2025 |  |  | December 31, 2024 |
Sales and marketing |  | $ | 39,522 |  |  | $ | 22,874 |
Income taxes |  |  | 20,067 |  |  |  | 917 |
Compensation and benefits |  |  | 14,600 |  |  |  | 16,132 |
Operating lease liabilities |  |  | 11,093 |  |  |  | 10,800 |
Capital projects |  |  | 8,216 |  |  |  | 13,274 |
Manufacturing costs |  |  | 4,000 |  |  |  | 2,904 |
Other |  |  | 7,929 |  |  |  | 5,978 |
Total accrued expenses and other liabilities |  | $ | 105,427 |  |  | $ | 72,879 |

X
- Definition Tabular disclosure of the components of accrued liabilities and other current liabilities. + References No definition available. + Details
Name: | trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock
Namespace Prefix: | trex_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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