Yes, you can use a 529 plan for off-campus living expenses, including rent, as long as the student is enrolled at least half-time in an eligible degree or certificate program
. The key is that the amount you withdraw for room and board, including off-campus rent, cannot exceed the amount the school officially includes in its cost of attendance for housing. Withdrawals for qualified expenses are tax-free.