Does earned income include 401k contributions for IRA contribution limits?
I've got a situation that's confusing me with retirement accounts. Let's say someone makes $28,000 a year in salary and decides to put $25,000 into their 401k (which I know is below the max contribution limit). When figuring out how much they can contribute to their IRA, would their earned income be considered $28,000 or just $3,000? I know IRA contributions are capped by your earned income amount, but I'm not sure if the IRS still counts the portion of your wages that went into a 401k as "earned income" for this calculation. Would this person be limited to only putting $3,000 in their IRA, or could they still do the full $7,000 IRA contribution? The whole pre-tax vs. after-tax thing gets me confused sometimes. Anyone dealt with this before?
23 comments


Andrew Pinnock
This is actually a really good question that trips up a lot of people! The simple answer is YES - your earned income DOES include your 401k contributions for IRA contribution purposes. When you contribute to a traditional 401k, that money is still considered part of your earned income even though it's pre-tax. So in your example, the person with $28,000 salary who puts $25,000 into their 401k would still have $28,000 in earned income for IRA contribution limits. This means they could contribute up to the full annual IRA limit (currently $7,000 if under 50), not just the $3,000 left after the 401k contribution. The IRS looks at your gross earned income before any retirement plan deductions to determine your IRA contribution limit. Just remember there are income limits for deducting traditional IRA contributions if you have a workplace retirement plan, and for contributing to Roth IRAs based on modified adjusted gross income.
0 coins
Brianna Schmidt
•Thanks for the explanation! So if I'm understanding correctly, 401k contributions don't reduce your "earned income" for IRA purposes, but they DO reduce your adjusted gross income (AGI) for tax purposes, right? And does this work the same way for both traditional and Roth IRAs?
0 coins
Andrew Pinnock
•You've got it exactly right! 401k contributions don't reduce your "earned income" for IRA contribution limits, but they do reduce your AGI for tax purposes (which can help with tax brackets and certain deductions/credits). This works the same for both traditional and Roth IRAs in terms of the contribution limit being based on earned income. However, eligibility to contribute to a Roth IRA is based on your Modified Adjusted Gross Income (MAGI), which is affected by traditional 401k contributions but not by Roth 401k contributions. So contributing to a traditional 401k can sometimes help you stay under the Roth IRA income limits if you're close to the threshold.
0 coins
Alexis Renard
I struggled with exactly this situation last year and discovered taxr.ai (https://taxr.ai) which saved me from making a big mistake. I was about to limit my IRA contribution based on my post-401k income when their analysis showed me I could contribute the full amount. Their AI tax assistant analyzed my situation and explained that 401k contributions don't reduce the "earned income" threshold for IRA contribution purposes. It also gave me a breakdown of how my 401k contributions affected different parts of my tax situation - like eligibility for Roth contributions, tax bracket changes, and other retirement account interactions. I found it super helpful because it could interpret all the confusing IRS language and translate it into actual impacts on my specific situation.
0 coins
Camila Jordan
•That sounds useful! Does taxr.ai just analyze retirement account stuff or does it handle other tax questions too? I've got some complicated self-employment income alongside my W-2 job and trying to figure out how to optimize everything is giving me a headache.
0 coins
Tyler Lefleur
•I'm a bit skeptical about AI tax tools. How accurate is it compared to like a human accountant? The penalties for messing up retirement contributions can be pretty steep.
0 coins
Alexis Renard
•It handles pretty much all tax questions - I've used it for retirement accounts, but it's designed to work with all kinds of tax situations including self-employment. It's especially good at finding how different parts of your tax situation interact with each other, which sounds perfect for your mixed income situation. The accuracy has been excellent in my experience. It's trained on tax code and regulations, and when I verified its advice with actual IRS publications, it was spot on. It doesn't replace an accountant for complex situations, but it provides detailed explanations with citations to the relevant tax code, which honestly taught me more than my previous accountant who just gave me answers without explaining the reasoning.
0 coins
Camila Jordan
Just wanted to follow up and say I checked out taxr.ai after seeing it mentioned here. It was exactly what I needed for my situation with mixed W-2 and self-employment income! I uploaded my previous tax return and it immediately identified that I had been calculating my retirement contribution limits incorrectly. Turns out I could have contributed about $4,500 more to tax-advantaged accounts last year than I thought. It showed me the exact IRS rules and how they applied to my specific situation. The explanations were super clear and it even provided a strategy for how to allocate between my Solo 401k and IRAs this year to maximize tax benefits. Thanks for the recommendation!
0 coins
Madeline Blaze
If you're having trouble getting clear answers from the IRS about retirement contribution rules, I'd recommend trying Claimyr (https://claimyr.com). I spent hours on hold trying to get clarification about exactly this 401k/IRA interaction issue last tax season. With Claimyr, I got through to an actual IRS agent in about 15 minutes instead of waiting for hours. They have this callback system that basically waits on hold for you until an agent is available, then calls you. You can see how it works in this video: https://youtu.be/_kiP6q8DX5c The IRS agent confirmed what others here are saying - 401k contributions don't reduce your earned income for IRA contribution purposes. Getting that official confirmation directly from the IRS gave me peace of mind to max out both accounts.
0 coins
Max Knight
•Wait, how does this service actually work? Is it just paying someone to wait on hold for you? I thought the IRS phone system was notoriously difficult to navigate even if you do get through.
0 coins
Tyler Lefleur
•This sounds too good to be true. I've literally never been able to reach an actual human at the IRS no matter how long I wait. And if it does work, I bet it costs a fortune.
0 coins
Madeline Blaze
•It's a smart system that navigates the IRS phone tree and literally stays on hold for you. When an agent finally picks up, it connects them to your phone. So you don't have to sit there listening to hold music for hours - you just get a call when an actual human is on the line. Yes, the IRS system is extremely difficult to navigate, which is exactly why this service is so helpful. It knows all the right prompts and options to select for different types of tax questions, including retirement account rules. And it works with other government agencies too, not just the IRS.
0 coins
Tyler Lefleur
I need to eat my words about being skeptical of Claimyr. I tried it yesterday after posting my doubtful comment, and I'm honestly shocked. After trying to reach the IRS for THREE WEEKS about a complex retirement account question, I got connected to an agent in under 20 minutes using their service. The IRS agent was able to confirm everything about the 401k/IRA earned income question and also helped me with a separate issue about an excess contribution I made last year. I was able to get both problems solved in one call instead of continuing to stress about it. I've literally never been able to reach the IRS before despite multiple attempts, so this was kind of life-changing for my tax anxiety. Just wanted to share since I was the skeptic before!
0 coins
Emma Swift
Just to add another data point here: my tax situation last year involved exactly this scenario. I made about $32,000 and contributed $25,000 to my 401k. My tax advisor confirmed that I could still contribute the full $7,000 to my Roth IRA because my earned income was still $32,000 for IRA purposes. The W-2 box 1 showed a much smaller amount (around $7,000) because of the 401k contribution, but that reduced amount is NOT what determines your IRA contribution limit. One thing to watch out for though - if you're trying to qualify for a Roth IRA and you're near the income limits, traditional 401k contributions help lower your MAGI, which might keep you eligible.
0 coins
Isabella Tucker
•Wait, you contributed $25k to your 401k out of $32k salary? Isn't the 401k limit like $22,500 for 2023? Or were you doing catch-up contributions?
0 coins
Emma Swift
•You're right to question that - I should have been more specific. My $32k was base salary, but I also received a $12k bonus that year. So my total compensation was $44k, and I put $22,500 (the regular limit) into my 401k from my regular paychecks, plus I directed $2,500 from my bonus into the 401k as well. I was not doing catch-up contributions as I'm under 50. I rounded the numbers a bit in my original comment which made it seem like I exceeded the limit, but I was within the $22,500 standard contribution limit for that year.
0 coins
Jayden Hill
This earned income vs. 401k thing confused me so much I ended up paying a penalty last year! I thought my "earned income" was only what was left after 401k contributions, so I contributed too much to my IRA. Does anyone know if there's a way to see your true "earned income" amount on your W-2 or somewhere else? Is it just Box 1 or is it some other number?
0 coins
LordCommander
•For retirement contribution purposes, your earned income is typically the amount in Box 5 of your W-2 (Medicare wages), not Box 1. Box 1 is your taxable wages after pre-tax deductions like 401k contributions are removed, while Box 5 usually includes your full earned income before most pre-tax deductions. If you're self-employed, earned income is generally your net earnings from self-employment (your profit after business expenses, but before SE tax deductions).
0 coins
Aisha Abdullah
This is such a common misconception that causes a lot of unnecessary stress! I see several people have already given great explanations, but I wanted to add my perspective as someone who works in retirement plan administration. The key thing to remember is that the IRS uses different definitions of "income" for different purposes. For IRA contribution limits, they look at your total earned income BEFORE any retirement plan deferrals. So yes, in your example, the person would have $28,000 in earned income for IRA purposes and could contribute up to $7,000 to an IRA. What I find helpful is to think of it this way: your 401k contribution is just redirecting part of your paycheck to a retirement account, but you still "earned" that full amount through your work. The IRS wants to encourage retirement savings, so they don't penalize you by reducing your IRA contribution room just because you're already saving in a 401k. One practical tip: if you're ever unsure about your specific situation, Publication 590-A from the IRS has all the detailed rules about IRA contributions and earned income definitions. It's dense reading, but it's the authoritative source!
0 coins
Ashley Adams
•Thank you for breaking this down so clearly! As someone new to navigating retirement accounts, this distinction between different types of "income" for different IRS purposes is really helpful. I didn't realize there was such a difference between what counts as earned income for contribution limits versus what shows up as taxable income on your W-2. Your point about the IRS wanting to encourage retirement savings makes a lot of sense - it would be counterproductive if maxing out your 401k prevented you from also contributing to an IRA. I'll definitely check out Publication 590-A for the full details. Really appreciate everyone's explanations in this thread!
0 coins
Bruno Simmons
This thread has been incredibly helpful! I was in almost the exact same situation as the original poster - making around $30k and maxing out my 401k, then getting confused about IRA limits. What really clicked for me reading through these responses is the distinction between "earned income" (which includes your 401k contributions) and "taxable wages" (Box 1 on your W-2, which doesn't). I had been looking at Box 1 and thinking that was my limit for IRA contributions. It's also reassuring to see multiple people confirm this with actual experience and even official IRS confirmation. The tax code can be so confusing, especially when you're trying to optimize multiple retirement accounts at once. Thanks to everyone who shared their knowledge and resources - this community is awesome for getting reliable tax advice!
0 coins
Santiago Martinez
•Totally agree with you on how confusing this distinction can be! I made the same mistake when I first started contributing to both accounts. It's one of those things where the IRS uses different definitions of "income" depending on what they're calculating, which isn't intuitive at all. What really helped me was creating a simple spreadsheet to track my gross wages vs. my taxable wages (Box 1) vs. what counts for different retirement account purposes. Once you see it laid out, it becomes much clearer how your 401k contributions affect different parts of your tax situation differently. And you're absolutely right about this community being great for tax advice - getting real-world examples from people who've actually dealt with these situations is so much more helpful than trying to decipher IRS publications on your own!
0 coins
Ethan Scott
This is exactly the kind of question that shows how unnecessarily complex the tax code can be! I went through this same confusion when I started maximizing both my 401k and IRA contributions. To add to all the great explanations here: think of it this way - your employer reports your full gross wages to the Social Security Administration and for Medicare purposes regardless of your 401k contributions. That's the same income base the IRS uses for determining IRA contribution eligibility. One thing I didn't see mentioned is that this rule also applies to other pre-tax deductions like health insurance premiums, HSA contributions, and flexible spending accounts. None of these reduce your "earned income" for IRA purposes, even though they all reduce your taxable wages in Box 1 of your W-2. The IRS basically wants to make sure you can't game the system by loading up on pre-tax deductions to artificially lower your earned income and then claim you can't contribute to retirement accounts. It's actually designed to help savers, not hurt them!
0 coins