By Ryan Mercer · CampusROI Editorial Team
529 Plan vs. Student Loans: The Actual Math for Families Starting College in Fall 2026
Your kid committed on May 1. Now you are staring at a 529 balance and a loan award letter trying to figure out what gets used first. Here is the math.
Your kid committed on May 1. The deposit cleared. Now you are sitting at the kitchen table with a 529 statement on one side and a financial aid award letter on the other, trying to figure out which money gets used first.
This is a math problem, not a values problem. The right answer depends on your numbers, but the framework is universal. Here is how to actually run it.
The Scenario Most Families Are In
You have $40,000 in a 529 plan. Your kid has a federal aid package that includes $27,000 in subsidized and unsubsidized loan offers across four years (roughly the dependent-student federal limit of $31,000 minus a small amount you may not need to take). Tuition, fees, and room and board run $35,000 per year at a typical private college, or $28,000 in-state at a flagship public. Your out-of-pocket gap after grants and federal aid is somewhere between $15,000 and $25,000 per year.
The question is not "529 or loans." It is "what order do I use them in, and how much do I borrow before the math turns against me."
What Federal Loans Actually Cost in 2026
Direct Subsidized and Unsubsidized loan rates for undergraduates are set every May based on the 10-year Treasury auction, then locked for that academic year. The 2025-26 rate was 6.39 percent. The 2026-27 rate gets announced in mid-May 2026 and recent years have landed in the 6.4 to 6.5 percent range. We will use 6.5 percent for the math below to stay on the conservative side.
Subsidized loans: the federal government pays the interest while your student is in school at least half-time, during the 6-month grace period after graduation, and during deferment. The clock starts at graduation. Maximum dependent student subsidized total over four years: $19,000 (offered $3,500 freshman, $4,500 sophomore, $5,500 junior, $5,500 senior).
Unsubsidized loans: interest accrues from disbursement. By graduation, unsub interest has been compounding for 4 years. A $2,000/year unsub at 6.5 percent for 4 years adds about $1,070 in interest before the first payment is made.
The total cost over a 10-year standard repayment plan, at 6.5 percent:
| Loan Type | Borrowed | Total Interest Paid | Total Repaid |
|---|---|---|---|
| $19,000 subsidized | $19,000 | $6,910 | $25,910 |
| $8,000 unsubsidized | $8,000 + $1,070 in-school accrual | $3,300 | $12,370 |
| Combined $27,000 | $28,070 effective principal | $10,210 | $38,280 |
If you stretch repayment to 20 years (income-driven plans, extended plans), the interest cost roughly doubles to about $21,000.
What a 529 Withdrawal Actually Costs
Almost nothing, and that is the entire point.
A 529 plan grows tax-deferred. Qualified withdrawals (tuition, mandatory fees, room and board if enrolled at least half-time, books, required supplies, computers used primarily for school, internet for school use) are 100 percent federal tax-free on the growth portion. Most states also exempt qualified withdrawals from state tax, and many states gave you a state tax deduction on the way in.
A representative case: parents started a 529 when their kid was born, contributed $200/month for 18 years, earned 7 percent average annually. Approximate balance at age 18: $40,000 (roughly $25,500 in basis, $14,500 in growth). Withdraw all $40,000 over four years for qualified expenses. Federal tax owed on the $14,500 in growth: zero.
Compare the alternatives:
- Use the 529 first, take no loans: $0 interest, $0 federal tax on growth. Cost: $40,000 used. - Save the 529, borrow $27,000 instead: $10,210 in future interest payments. Cost: $40,000 still in account (growing, but you will eventually pay tax-and-penalty on it if you do not use it qualified) plus $10,210 in interest paid out of post-tax future income. - Hybrid: 529 for tuition and room and board, small subsidized loan for cash flow: somewhere in between, with the smallest tax-and-interest leakage if executed carefully.
The first option saves your family roughly $10,000 in 10-year-repayment interest, or roughly $20,000 if loans go to a 20-year plan. That is real money. It is not theoretical.
The "Save It for Grad School" Mistake
This is the most common 529 misallocation we see, and it almost never holds up under math.
The argument: "We will let our kid take a small federal loan now, save the 529 for grad school, because grad school is more expensive and we will not have time to save more."
The flaw: undergrad debt at 6.5 percent compounds for 10 to 20 years before it gets paid off. Grad school is 4 years away (at least), and by then your kid has options that did not exist before:
1. Employer tuition reimbursement. Roughly half of large employers offer some form of tuition assistance, often $5,250/year tax-free under federal rules. Many cover MBA, MS, or specialized programs in full as a retention tool. 2. Grad PLUS or unsubsidized grad loans. Higher rates than undergrad (around 8 to 9 percent in recent years), but available without a credit dependency on parents. 3. Working through grad school. Many master's programs are designed for working adults; many doctoral programs come with stipends or tuition waivers built in. 4. Not going to grad school. A 17-year-old has not decided, and many fields stop requiring grad school once careers are underway.
Letting $10,000 in undergrad interest accrue today, in exchange for a maybe-grad-school decision 4 years from now, is paying real money to preserve optionality you may never use. The expected value is negative for almost every family.
The only scenario where saving 529 for grad school actually pencils out: your kid is going into a field where grad school is not optional (medicine, law, academic PhD, clinical psychology) and you have very strong reason to believe they will follow through. Even then, draining the 529 in undergrad and using grad PLUS later usually comes out within a few thousand dollars of saving it, which is well within the margin of error on whether the kid actually goes.
What Counts as a Qualified 529 Expense in 2026
The IRS list, in plain language:
Yes, qualified (federal tax-free withdrawal): - Tuition and mandatory fees - Room and board if enrolled at least half-time, capped at the school's published cost-of-attendance allowance - Books and required supplies - Computers, peripherals, and educational software used primarily by the student - Internet access used by the student - Special-needs services for an eligible beneficiary - Up to $10,000/year for K-12 tuition (private elementary or secondary school) - Up to $10,000 lifetime for student loan repayment (per beneficiary plus per sibling) - Apprenticeship program costs (registered with the Department of Labor)
No, not qualified: - Transportation to and from school - Health insurance, even when required by the school - Cell phone bills - General personal expenses - Off-campus housing above the school's published cost-of-attendance allowance - Sports, club, or activity fees not required for enrollment
Keep receipts. If the IRS audits a 529 withdrawal years later, the burden is on you to prove the expense was qualified. A simple folder per academic year with the bursar bill, housing contract, textbook receipts, and computer purchase invoice is enough.
Leftover 529 Funds: What Happens If You Do Not Spend It All
This is no longer a corner case to fear. As of 2026 the options are good.
Change the beneficiary. You can change the named beneficiary to another qualified family member at any time with no tax consequence. Qualified family includes siblings, step-siblings, parents, aunts and uncles, nieces and nephews, first cousins, and the beneficiary's spouse. If you have a younger kid heading to college in 3 years, leftover 529 just gets reassigned.
Roll up to $35,000 lifetime into a Roth IRA. SECURE 2.0 (effective 2024) lets the beneficiary roll unused 529 funds into their own Roth IRA, subject to: the 529 has been open at least 15 years, contributions and earnings from the last 5 years are not eligible, annual rollovers are capped at the Roth contribution limit ($7,000 in 2026), and the beneficiary has earned income equal to the rollover amount that year. $35,000 over 5 years builds a meaningful retirement seed for a 22-year-old.
Pay down student loans. Up to $10,000 lifetime per beneficiary can go toward qualified student loans (theirs, plus an additional $10,000 lifetime for each of their siblings).
Withdraw nonqualified. You pay federal income tax plus a 10 percent penalty on the earnings portion only. The basis (your original contributions) comes out tax-free and penalty-free always. If your kid earned a scholarship, the 10 percent penalty is waived on a withdrawal up to the scholarship amount; you still pay income tax on the earnings.
Hold for grandkids. Beneficiary changes can pass down a generation. A 529 you started for your kid can become a 529 for their future kid with no tax event.
The "what if my kid does not go to college, or gets a full ride, or only spends half" worry is largely solved by the above. There is no scenario where money goes to waste in a 529 as long as the family does basic planning.
A Decision Framework: What to Pay For With What
Step 1: Add up qualified expenses for the academic year. Tuition + fees + room and board + books + required equipment. Call this number Q.
Step 2: Subtract grants, scholarships, and any work-study you expect to actually earn. Grants and scholarships do not need to be repaid; they shrink Q before any of your money gets used.
Step 3: Use 529 funds to cover Q first. This is the highest-tax-efficiency dollar in the entire stack. Every $1 of 529 used qualified is a $1 you do not pay tax on growth and do not pay interest on later.
Step 4: For any remaining gap, take subsidized federal loans first. Up to the school-offered cap. Subsidized loans do not accrue interest while in school, so a $5,500 freshman subsidized loan costs $0 in carrying cost during freshman year.
Step 5: Then unsubsidized federal loans. Same fixed rate, but interest starts compounding from disbursement. If you have any 529 left after Q, consider using it to cover what would otherwise be unsubsidized.
Step 6: Then private loans, Parent PLUS, or family contribution. Parent PLUS rates are higher than student loans and the parent is on the hook even after death of the student in some cases (forgiven for federal PLUS, not always for private). Private student loans have the worst repayment flexibility of any option. These should be the last dollar in, not the second.
Step 7: At graduation, sweep any remaining 529 into the $10,000 student loan repayment allowance (per beneficiary), or roll into a Roth IRA over time, or hold for a sibling.
The Hybrid Strategy: When It Beats Both Pure Options
There is a case where mixing 529 use with a small subsidized loan beats using the 529 alone, and it depends on your 529's expected return vs. the loan rate.
The setup: $5,500 in subsidized federal loans at 6.5 percent, no interest accrual during 4 years of school. If your 529 is invested in age-based stock allocations and earns 6.5 percent or more over those 4 years, the 529 dollars grew at the same rate the loan would have charged once it started accruing. You then pay off the $5,500 subsidized loan in full at graduation using a 529 distribution under the $10,000 student loan repayment provision (if you have not already used it).
The math, in numbers: $5,500 in 529 stays invested for 4 years at 6.5 percent grows to about $7,070. At graduation, you withdraw $5,500 to pay off the loan. The remaining $1,570 in growth is yours, federal tax-free if used qualified or rolled to a Roth. Net win vs. paying out of 529 at year 1: about $1,570.
Why this is smaller than it looks: market returns are not guaranteed, the 529 might earn less or lose money in a 4-year stretch, and the operational complexity of timing the loan payoff with a 529 distribution is non-trivial. For most families, the simpler "529 first" approach loses about $1,500 over four years vs. the perfectly executed hybrid. That is a small price for not having to manage the timing.
The hybrid only beats the simple approach if you are confident in the 529's return and willing to monitor the loan payoff window. If you are not, just use the 529 first and accept the small efficiency loss.
What Happens If You Run Out of 529 Mid-Degree
Common situation. $40,000 covers about half of a $35,000/year private college after grants. You drain the 529 by the end of sophomore year and need to fund junior and senior year somehow.
The smart sequence at that point:
1. Maximize federal loans. Junior and senior subsidized + unsubsidized caps are the highest of the four years ($7,500/year combined for dependent students in years 3 and 4). 2. Confirm there are no remaining institutional aid options. Some schools have late-cycle scholarships, departmental awards, or emergency aid grants that go unused. 3. Look at on-campus jobs and work-study. Federal work-study earnings do not count against next year's FAFSA aid calculation; outside earnings can. 4. Parent PLUS, only if needed and only after everything above. And only if the family budget can carry the payment. Parent PLUS at 8.94 percent (2024-25 rate, similar in 2025-26) is genuinely expensive; $20,000/year for 2 years compounds aggressively. 5. Private loans last. Most private student loans now require a co-signer. Check whether the lender has co-signer release after on-time payments; some do, some never.
The Honest Caveats
A few things this math does not cover, because they depend on facts we do not know about your family:
- State tax deductions on 529 contributions. Some states (Indiana, Vermont, Utah, others) give a state tax credit instead of a deduction. Many states give a deduction for in-state plan contributions only. The state-level math can shift the "use 529 vs. invest the cash and take loans" calculation by a few percentage points. - State tax recapture on nonqualified withdrawals. If you took a state deduction going in and pull funds out nonqualified, some states claw back the deduction. - Your marginal tax rate matters. A family in the 12 percent federal bracket gets less benefit from 529 tax-free growth than a family in the 32 percent bracket. The 12 percent family loses less by saving the 529 and borrowing. The 32 percent family should be more aggressive about using the 529. - Future inflation and rate paths. If the 2026-27 federal loan rate comes in higher than 6.5 percent, the case for using 529 first gets stronger. If it comes in lower, the gap narrows. - Your kid's major and projected earnings. A computer science major at a flagship public will likely have no trouble repaying $27,000 in loans on $80,000 starting salary. A humanities major heading to non-profit work at $42,000 starting salary will feel the same loan payment as a much larger burden. Use our ROI calculator to model this honestly.
This post is math, not advice. Your situation has specifics ours does not cover. A fee-only financial planner who does not sell products can run your full picture in 2 to 3 hours. Worth it on a $40,000 question.
The Bottom Line
For the family with $40,000 in a 529 and $27,000 in federal loan offers, the default smart move is:
1. Use the 529 first to cover qualified expenses each year. 2. Take federal subsidized loans up to the cap (lowest-cost debt available). 3. Take unsubsidized federal only for the remaining gap. 4. Skip Parent PLUS and private loans unless you have exhausted the above. 5. Whatever 529 is left at graduation, use up to $10,000 to pay down loans, change beneficiary if a sibling is coming, or roll into a Roth IRA for your now-graduate.
This sequencing saves a typical family roughly $10,000 in interest on a 10-year repayment plan, or roughly $20,000 if loans drift onto a 20-year track. It puts the 529's tax advantage on the dollars that matter most, and leaves the loan flexibility (deferment, income-driven repayment, public service forgiveness) on the smallest possible balance.
The "save the 529 for grad school" instinct sounds prudent and almost always loses money. Undergrad debt is the cheapest debt to avoid, and the 529 is the cheapest tool to avoid it.
When your kid graduates and lands a job, the next math problem becomes student loan refinancing. We have a separate breakdown on whether to refinance student loans in 2026 once federal protections are no longer needed and rates make sense.
---
Related guides: - You Committed. Now What? The Financial To-Do List Before August 2026 - The Real Cost of Your First Year at College - Should You Refinance Student Loans in 2026? - How the One Big Beautiful Bill Changes Your College ROI Calculation - Student Loan Repayment Plans Compared
Data sources: studentaid.gov (federal loan rates and limits), IRS Publication 970 (qualified 529 expenses), SECURE 2.0 Act (Roth rollover provisions), as of May 2026.
Frequently Asked Questions
Is it better to use a 529 plan or take out student loans?
For most families, use the 529 first for qualified expenses (tuition, fees, room and board, books, required equipment). Federal undergraduate loan rates in 2026 are around 6.4 to 6.5 percent. 529 withdrawals for qualified expenses are 100 percent federal tax-free on growth. Saving the 529 and borrowing instead means paying interest on money you already had, which is the most expensive sequencing in almost every scenario.
Should I save my 529 for grad school instead of using it on undergrad?
Usually no. Undergrad debt at 6.4 to 6.5 percent compounds for 10 to 20 years. Grad school can be paid for with grad PLUS loans, employer tuition reimbursement, fellowships, or post-tax income from a working adult. The opportunity cost of letting undergrad debt accrue while you preserve a 529 for a maybe-grad-school decision 4 years away is almost always negative. Use the 529 on the cheaper-to-avoid debt now.
What happens to leftover 529 money if my kid does not need it?
Several options as of 2026. Change the beneficiary to another family member (sibling, cousin, even yourself for continuing education). Roll up to $35,000 lifetime into a Roth IRA in the beneficiary's name (SECURE 2.0, account must be 15 years old, subject to annual Roth limits). Use up to $10,000 for K-12 tuition. Withdraw nonqualified and pay income tax plus a 10 percent penalty on the earnings portion only. The penalty does not apply if the beneficiary gets a scholarship covering the same amount.
Are subsidized federal student loans worth taking even if I have a 529?
Sometimes yes, for cash-flow flexibility. Subsidized loans do not accrue interest while your student is in school at least half-time, so a $5,500/year subsidized loan does not cost anything extra during the four years. If you keep the 529 invested instead and pay off the subsidized loan in full at graduation, you may come out slightly ahead if 529 returns beat the subsidized rate over four years. This is a smaller bet than it sounds; for most families using the 529 directly is simpler and the difference is under $1,500 over four years.
Run your own numbers
Every family's situation is different. Use our tools to model your specific scenario.