Therefore, while the *principal* can be withdrawn tax-free, any investment *growth* accumulated within the 529 plan is taxable unless it's used for qualified education expenses.
Some states also impose state taxes on the earnings, although many do not. The rules vary by state.
It's crucial to consult a financial advisor or tax professional before making such withdrawals, as the tax implications depend on individual circumstances.