401(k) and IRA Contributions: How They Can Unlock the American Opportunity Credit and the Lifetime Learning Credit
Armando Ramirez8 min read

If you put money into a traditional 401(k) or IRA, you’re not just saving for retirement. You’re also lowering the income number the IRS uses to decide whether you qualify for education tax credits. That number is called MAGI, short for Modified Adjusted Gross Income, and it’s basically your income after certain deductions come out, including most traditional retirement contributions. Here’s how nudging that number down with a retirement contribution can hand you back a credit you’d otherwise lose.
Jump to a section:
What’s Actually Happening Here
Before the examples, it helps to understand the mechanism, because it’s simpler than it sounds. The IRS doesn’t look at your total paycheck to decide whether you qualify for these credits. It looks at your income after certain things are subtracted out, and traditional retirement contributions are one of the biggest subtractions available to most people.
When you put money into a traditional 401(k), your employer never counts that money as income on your W-2 in the first place, so it’s already out of the picture. When you contribute to a traditional IRA and you qualify to deduct it, that money comes off your income when you file, even though it already sat in your paycheck. Either way, the effect is the same: the number the IRS checks against these credit cutoffs gets smaller.
That matters because both education credits don’t fade out gently. Once you’re inside the phase-out range, the credit shrinks in a straight line the closer you get to the top of the range, and once you cross the top, it’s gone completely. That means a taxpayer sitting $500 or $1,000 over a cutoff can lose a credit worth thousands, while someone who moves that same $500 to $1,000 into a retirement account keeps it. It’s one of the few places in the tax code where a small, deliberate move produces an outsized result.
One Catch on the IRA Side
One qualifier decides whether the IRA route is open to you at all, so it’s worth getting straight before the examples. A traditional 401(k) always lowers your income, with no income limit on that at all. A traditional IRA only lowers it if the contribution is deductible, and that turns on a single question: are you covered by a retirement plan at work?
If you’re not covered — no 401(k), no pension, nothing your employer offers — you can deduct a traditional IRA contribution at any income level. No phase-out applies to you.
If you are covered, the deduction has a phase-out of its own, and for a single filer it lands almost exactly on top of the education credit range: $81,000 to $91,000 for 2026. That’s the awkward case. A single filer with a 401(k) at work who is sitting above $90,000 generally can’t use an IRA contribution to get back under, because their IRA deduction has already phased out too. For them, raising the 401(k) itself is the move, which is exactly what Danielle does below.
For married couples this is much less of a constraint, and it’s worth knowing why. The limit keys off whether the spouse making the contribution is covered at work, not the household as a whole. If that spouse has no workplace plan of their own, the deduction doesn’t begin to phase out until $242,000 for 2026, well past the $180,000 education credit cutoff. So a couple sitting a few thousand dollars over $180,000 usually still has the IRA route available, as long as it’s the spouse without a workplace plan who makes the contribution. Only when both spouses are covered at work does the deduction phase out first, at $129,000 to $149,000, and close the door.
American Opportunity Credit (AOTC)
The American Opportunity Credit is worth up to $2,500 per student, per year, and it only applies to the first four years of college. For 2026, a single filer loses the credit entirely once their income crosses $90,000. Married couples filing jointly lose it above $180,000. Below $80,000 (single) or $160,000 (married), you get the full credit. In between, it shrinks proportionally, so someone sitting exactly halfway through the range keeps about half the credit.
This credit is also partly refundable, meaning up to $1,000 of it can come back to you even if you don’t owe much in taxes, which makes protecting it especially worthwhile for families whose tax bill is already fairly low.
Here’s how two different households used a retirement contribution to stay inside the range:
| Danielle (single, 401(k) at work) | Marcus & Priya (married, traditional IRA) | |
|---|---|---|
| Filing status | Single | Married filing jointly |
| Student & expenses | Son, freshman, $8,000 tuition | Daughter, sophomore, $6,500 tuition |
| Income before contribution | $93,000 | $184,000 |
| AOTC income cutoff | $90,000 | $180,000 |
| Credit before contribution | $0 (over the cutoff) | $0 (over the cutoff) |
| Retirement plan at work? | Yes, a 401(k) — which is the lever she uses | Priya is covered at work, Marcus isn’t, so Marcus is the one who contributes |
| Move made | Raised 401(k) payroll contribution by $5,000 for the rest of the year | Contributed $5,000 to a traditional IRA before filing |
| Income after contribution | $88,000 | $179,000 |
| Credit after contribution | Close to the full $2,500 | A partial credit, since $179,000 is still near the top of the range |
Danielle’s case shows the clean version: her income was close enough to $90,000 that a single mid-year adjustment to her paycheck deduction put her comfortably back in range for nearly the whole credit. Marcus and Priya’s case shows the more common version: their contribution didn’t wipe out the overage completely, it just moved them from getting nothing to getting something. Even a partial American Opportunity Credit is usually worth more than what that same money would have earned sitting in a regular savings or brokerage account for a year.
Their case also shows the married-couple advantage in practice. At $184,000 they are far above the point where a covered spouse’s IRA deduction would have run out, but because Marcus has no plan of his own at work, his deduction holds all the way to $242,000. Had Priya been the one to write the check, it would have bought them nothing.
One more detail worth knowing: Marcus was able to make his move after the year had already ended, because traditional IRA contributions can be made all the way up until the tax filing deadline for that year. Danielle’s 401(k) route only works while there’s still payroll left in the year to defer, so that one has a hard deadline of December 31.
Lifetime Learning Credit (LLC)
The Lifetime Learning Credit covers a wider range of situations than the American Opportunity Credit. It’s not limited to the first four years of school, so it applies to graduate programs, part-time classes, and even single professional certification courses. It’s worth up to $2,000 per tax return (not per student), and unlike the American Opportunity Credit, none of it is refundable, meaning it can only reduce a tax bill you actually owe, not generate money back on its own.
The income cutoffs are the same as the American Opportunity Credit’s: $90,000 for single filers and $180,000 for married couples filing jointly, with the credit shrinking through the range the same way. Because so many Lifetime Learning Credit users are working adults going back to school, this is often the credit that gets accidentally lost to a raise, a bonus, or a good year of side income nobody accounted for.
| James (single, traditional IRA) | Rachel & Tom (married, 401(k) at work) | |
|---|---|---|
| Filing status | Single | Married filing jointly |
| What the money paid for | Night-school certificate program, $3,000 in fees | Tom’s part-time master’s degree, $10,000 tuition |
| Income before contribution | $91,500 | $183,000 |
| LLC income cutoff | $90,000 | $180,000 |
| Credit before contribution | $0 (over the cutoff by $1,500) | $0 (over the cutoff by $3,000) |
| Retirement plan at work? | No — which is what keeps his IRA contribution deductible at this income | Rachel is covered by a 401(k), which is the lever they use |
| Move made | Contributed $2,000 to a traditional IRA before filing | Raised 401(k) payroll contribution by $3,500 for the last few months of the year |
| Income after contribution | $89,500 | $179,500 |
| Credit after contribution | Close to the full $2,000 | Close to the full $2,000 |
James’s situation is a good reminder of how small these overages can be. He missed the credit by $1,500 of income, roughly what a lot of people make in a couple of extra shifts or a small year-end bonus, and a $2,000 IRA contribution more than covered the gap. Because he made that move using a traditional IRA rather than a 401(k), he didn’t need to act before the year ended. He was able to look at his actual numbers after the fact and still fix the problem before filing.
James is also the case that only works because of the catch above. His employer offers no retirement plan, so his IRA contribution is fully deductible no matter what he earns. Change that one fact — give him a 401(k) at work — and the IRA deduction phases out at $91,000, leaving him $500 short with no way to fix it after December 31. If you have a plan at work and you file single, the 401(k) is the lever, and you have to pull it before the year closes.
Rachel and Tom’s situation shows the same idea working through a workplace plan instead. Rachel had room left in her 401(k) contribution limit for the year, so raising her paycheck deferral for the final few months was enough to pull their household income back under $180,000 before the year closed out, protecting a credit that was paying for coursework Tom was taking regardless.
The Takeaway
Both the American Opportunity Credit and the Lifetime Learning Credit disappear in a fairly narrow income band, and both respond to the exact same move: money placed into a traditional 401(k) or IRA comes out of the income figure the IRS checks first. If your household is within a few thousand dollars of $90,000 as a single filer or $180,000 as a married couple, it’s worth running your numbers before assuming a credit is out of reach. A 401(k) increase has to happen before the calendar year ends, but a traditional IRA contribution can still be made after the year is over, right up until you file, which gives you a real second chance to catch an overage you didn’t see coming.
Just check which lever is actually available to you before you count on it. If you file single and you have a 401(k) at work, your IRA deduction has almost certainly phased out by the time your income is over $90,000, so the 401(k) is your only route and it closes on December 31. Married couples have far more room: as long as the spouse making the contribution has no workplace plan of their own, the IRA stays deductible up to $242,000, and that second chance after year-end is still there.