If you withdraw money from a 529 plan account and use it for something other than qualified education expenses, you’ll generally owe federal income tax on the earnings (as opposed to contributions) portion of that amount, as well as an additional 10% penalty. Your state may impose taxes and penalties as well.