TPI Composites’ net sales for the three months ended March 31, 2022, decreased by $19.8 million or 4.9% to $384.9 million as compared to $404.7 million in the same period in 2021. Net sales of wind blades decreased by $24.6 million or 6.5% to $354.6 million for the three months ended March 31, 2022, as compared to $379.2 million in the same period in 2021.
The decrease was primarily driven by a 26% decrease in the number of wind blades produced due to a reduction in contracted manufacturing lines and transitions of existing lines along with currency fluctuations, which were partially offset by a higher average sales price due to the mix of wind blade models produced. Additionally, there was an increase in its field service, inspection and repair service sales during the three months ended March 31, 2022, as compared to the same period in 2021, due to an increase in demand for such services.
Total cost of goods sold for the three months ended March 31, 2022, was $386.5 million and included $5.5 million of costs related to lines in startup and $10.1 million of costs related to lines in transition during the period. This compares to total cost of goods sold for the three months ended March 31, 2021, of $397.4 million and included $4.6 million of costs related to lines in startup and $9.8 million of costs related to lines in transition during the period. Total cost of goods sold as a percentage of net sales increased by approximately two percentage points during the three months ended March 31, 2022, as compared to the same period in 2021, driven primarily by an increase in direct material costs and foreign currency fluctuations. Included in the cost of sales for the three months ended March 31, 2022, is approximately $7.1 million in non-restructuring related operating costs that were associated with certain manufacturing facilities in Newton, Iowa; Dafeng, China; and Juarez, Mexico, where production has stopped.
Adjusted EBITDA for the three months ended March 31, 2022, decreased to $6.1 million as compared to $13.1 million during the same period in 2021. Adjusted EBITDA margin decreased to 1.6% as compared to 3.2% during the same period in 2021.