You may pay for tuition, books, or fees with a 529 account.
This seems straight forward, but what about scholarships or grants? If you get any discounts such as a scholarship, consider keeping the saved funds for later or for another younger sibling/relative. If you want to take out the funds, you may do so without interest earnings penalty (though taxes would be owed on the earnings).
Wilson uses his account to pre-pay all tuition costs, even when there is scholarship money coming. The school will later offer to repay Wilson any excess funds, allowing him to re-donate to the 529 (receiving the state deduction or credit) the next year or use the extra funds for his son’s room and board.
No statement or example on this site should be considered a specific recommendation for your personal situation. Investing and tax strategies each carry significant risks. Examples herein may not apply to your situation. Please consult your estate attorney, tax advisor, or financial advisor for personal advice.