3
Now, I will turn the call over to Brad McDonald, Chief Accounting Officer, for a review of our financial performance.
Brad McDonald
Thank you, Bryan, and good evening. As in the previous quarter, given the divestiture of Trex Commercial Products at the end of 2022, and to provide a more meaningful comparison, my comments will compare our third quarter 2023 financial performance to the third quarter of 2022 Trex Residential results.
Net sales of $304 million exceeded our expectations and were significantly above last year’s $178 million of Residential net sales, which were impacted by channel inventory destocking.
Improved utilization rates from higher production volumes and the benefits from our investments in production efficiencies and cost-out programs drove a significant improvement in gross margin to 43.1%. During the quarter, we recognized a benefit of $3.8 million due to a reduction in the warranty reserve related to the legacy surface flaking issue that affected a portion of the products manufactured at the Nevada plant prior to 2007. Excluding the warranty benefit, gross margin was 41.8%, compared to Residential gross margin of 25.4% in last year’s third quarter.
Selling, general and administrative expenses were $45 million, or 14.7% of net sales, compared to $25 million, or 13.9% of Trex Residential net sales in the 2022 quarter. As discussed in the previous quarter, we’re returning to more normalized SG&A spending levels with a focus on branding, marketing and R&D.
Net income in the 2023 quarter was $65 million, or $0.60 per diluted share, compared to Trex Residential net income of $15 million, or $0.14 per diluted share, during the prior year quarter. EBITDA was $99 million, and EBITDA as a percentage of net sales, or EBITDA margin, was 32.7% compared to Trex Residential EBITDA of $32 million and EBITDA margin of 17.8% in the third quarter of 2022. Excluding the warranty benefit, net income in the 2023 quarter was $62 million, or $0.57 per diluted share, and adjusted EBITDA was $96 million, and EBITDA margin was 31.5%.
Year-to-date 2023 net sales were $899 million compared to $879 million of Residential net sales in the year ago period. Net income was $183 million, or $1.69 per diluted share, compared to Trex Residential net income of $177 million, or $1.57 per diluted share, in 2022. Year-to-date 2023 EBITDA was $285 million, resulting in an EBITDA margin of 31.7% compared to Trex Residential EBITDA of $268 million and EBITDA margin of 30.5% in 2022. Excluding the warranty benefit, year-to-date 2023 net income was $181 million, or $1.66 per diluted share, adjusted EBITDA was $281 million, and adjusted EBITDA margin was 31.3%.
Year-to-date operating cash flow was $288 million compared to $244 million in the comparable period of 2022 as we converted significant working capital into cash through the inventory reduction. Capital expenditures amounted to $113 million year-to-date, primarily related to the build-out of the Arkansas facility.
I will now turn to our updated guidance. We are projecting fourth quarter revenues in the range of $185 million to $195 million, reflecting both seasonally lower demand and the shift of our pre-buy to the first quarter of 2024 as discussed in last quarter’s conference call. The resulting impact is that full year 2023 revenues are projected to be $1.09 billion, assuming the midpoint of the fourth quarter revenue guidance. This is an increase from the $1.04 billion to $1.06 billion range provided during our last update.
Trex Company, Inc.
Monday, October 30, 2023, 5:00 PM Eastern