Any use of 529 funds other than those specified by the plan (namely, education-related expenses) is treated as a non-qualified distribution. Although an account owner can make one of these distributions at any time, doing so comes with a penalty: that owner will have to pay federal – and likely state – income tax on any earnings they spend, plus a 10% penalty.
The Latest Information for Understanding Your Options