HSA Excess Contribution - How to Calculate Earnings on Excess When Bank Won't Help?
I need some advice on calculating the "Earnings on Excess" for my HSA since HSA Bank apparently doesn't do this calculation for their customers. Happy to share my actual numbers to make this easier. Two key things to know: 1. Haven't filed my 2024 taxes yet - waiting to resolve this first 2. The overage just happened on December 30th (literally last minute problem) So here's my situation: * For 2024, I've contributed $3,782.49 and my employer kicked in $450 * That puts me at $4,232.49 total, which is $82.49 over the $4,150 annual limit HSA Bank just referred me to some formula reference without actually helping. I found an online calculator that might work, but I'm not sure if it's giving me the right numbers. What I'm trying to figure out: 1. Is the calculator's number accurate for earnings on excess? 2. The "Total Amount to be Withdrawn" it's showing is actually LESS than my actual excess amount ($82.49). Should I withdraw the calculated amount or just the full $82.49 I went over?
37 comments

Lindsey Fry
The earnings on excess calculation can be tricky, but I can help walk you through it. The basic formula is: (excess contribution amount) × (earnings ÷ account value). Since your excess contribution happened just two days before year-end (December 30), the earnings on that excess amount would be minimal. The calculator is likely showing a lower withdrawal amount because there may have been a slight decrease in your HSA investments during those two days. For your situation, you should withdraw the calculated amount from the calculator, not just the $82.49. This is because the IRS requires you to withdraw both the excess contribution AND any earnings attributable to that excess (or losses, which appears to be your case). When you withdraw, make sure HSA Bank codes it as an "excess contribution removal" so it's properly reported on your taxes. You'll receive a 1099-SA for the withdrawal, and the earnings portion (if positive) would be taxable income for the year you withdraw it.
0 coins
Leo Simmons
AuthorThanks for the explanation - that makes more sense. What happens if there were losses instead of earnings? The calculator is showing a slightly smaller amount than my excess ($82.49), so does that mean my investments went down a tiny bit in those two days?
0 coins
Lindsey Fry
Yes, that's exactly right. If the calculator is showing a withdrawal amount less than $82.49, it means your investments experienced a small loss during those two days. In that case, you only need to withdraw the calculated amount, not the full $82.49. The IRS allows you to adjust for investment losses on excess contributions, which is actually beneficial for you since you'll be withdrawing slightly less than what you put in. The key point is that you're removing the proportional value of what that excess contribution is currently worth.
0 coins
Saleem Vaziri
I had a similar issue with HSA Bank last year and it was super annoying they wouldn't help with the calculation. I ended up using https://taxr.ai which has a calculator specifically for HSA excess contribution earnings. You upload your HSA statements and it does all the math for you automatically. The tool calculated my earnings on excess to the penny and even generated the letter I needed for the bank. My situation was more complicated because I had multiple contributions throughout the year, but it sounds like yours might be simpler since it was just one contribution at the end of December.
0 coins
Kayla Morgan
Did you have to pay for that service? I'm in a similar situation except my excess was from contributing to two different HSAs (didn't know my new employer would contribute) and I'm trying to avoid spending money to fix this.
0 coins
James Maki
I'm curious, does it matter when during the year the excess contribution happened? Like would it be different if OP had gone over the limit in January vs December? I contributed too much to my HSA a couple years ago but I just withdrew the exact amount I went over. Now I'm worried I did it wrong.
0 coins
Saleem Vaziri
You don't pay until after you see the calculation results and decide if you want to use it. The price was worth it for me because I had a complex situation and didn't want to risk getting it wrong. Yes, timing absolutely matters. If you contributed excess in January, that money would have been in the account earning (or losing) value all year. The IRS wants you to remove not just the excess contribution but also any earnings that excess generated. In December, there's much less time for earnings to accumulate, which is why OP's calculation shows a smaller withdrawal amount than the excess.
0 coins
James Maki
Just wanted to update and say I tried taxr.ai and it was definitely worth it. I had the same issue with HSA Bank not helping with this calculation and was getting frustrated trying to figure it out myself. The tool showed me that my January excess contribution had actually earned about $18 over the year, which I wouldn't have known to include. It generated a letter for HSA Bank that had all the calculations clearly shown and they processed my withdrawal without any questions. Definitely saved me hours of stress and potentially getting the calculation wrong!
0 coins
Jasmine Hancock
Another option if you're still having trouble with HSA Bank is to call the IRS directly using Claimyr (https://claimyr.com). They get you through to a real IRS agent without the endless hold times. Check out their demo: https://youtu.be/_kiP6q8DX5c I was in HSA excess contribution hell last year and couldn't get a straight answer from my bank either. Called the IRS using Claimyr and spoke to an agent who walked me through the exact calculation process and confirmed what I needed to do. Saved me from potentially filing incorrectly and getting hit with penalties.
0 coins
Cole Roush
Wait, is this legit? How does it actually work? The IRS phone lines are notoriously impossible to get through.
0 coins
Scarlett Forster
Sounds scammy tbh. Why would I pay a third party when I can just call the IRS directly? They're probably just putting you on hold themselves and charging you for it.
0 coins
Jasmine Hancock
It's completely legitimate. They use a system that continually redials and navigates the IRS phone tree until they get through to an agent. Once connected, they call you and connect you directly to that agent. No more waiting on hold for hours. I was skeptical too, but it works exactly as advertised. I didn't have to waste hours of my day trying to get through to the IRS. The service does the waiting for you and only calls when an actual human agent is on the line. Much better than repeatedly calling and getting the "due to high call volume" message.
0 coins
Scarlett Forster
I have to admit, I was totally wrong about Claimyr. After my HSA excess contribution situation got more complicated, I broke down and tried it. Got through to an IRS specialist in about 25 minutes (instead of the 3+ hours I spent trying on my own and never getting through). The agent confirmed I needed to withdraw both the excess and earnings, and that I needed to request specific coding on the distribution. Would have never known that detail without talking to them. The service actually worked exactly as promised - they called me back once they had an IRS agent on the line. Definitely changed my approach to dealing with tax questions.
0 coins
Arnav Bengali
In addition to withdrawing the correct amount, make sure you get it done before your tax filing deadline (including extensions). Otherwise, you'll face a 6% excise tax on the excess contribution. Also, don't forget that if there were earnings on the excess (which doesn't seem to be your case), those earnings are taxable in the year you withdraw them AND are subject to the 20% additional tax if you're under 65 and not disabled.
0 coins
Leo Simmons
AuthorThanks for the reminder about the deadline. If I take care of this in January, I should be good since I haven't filed my 2024 taxes yet, right? And since my excess was only there for 2 days at the end of December, do I still need to fill out Form 5329 with my tax return?
0 coins
Arnav Bengali
If you withdraw the excess (plus/minus applicable earnings) before your tax filing deadline, then you don't need to pay the 6% excise tax or file Form 5329 for this issue. Since you're handling it in January and haven't filed your 2024 taxes yet, you're well within the deadline. Even though your excess was only there for 2 days, the proper removal process is still important to document. Make sure HSA Bank codes the distribution properly as an "excess contribution removal" on the 1099-SA they'll issue you for 2025 (since you're making the withdrawal in January). This coding helps demonstrate to the IRS that you've corrected the excess contribution issue.
0 coins
Sayid Hassan
One thing nobody mentioned - check if your HSA provider charges a fee for processing excess contribution removals! Mine charges $25 which is super annoying on top of having to deal with this whole process.
0 coins
Rachel Tao
Great point. HSA Bank specifically charges $25 for excess contribution removals. I found this out the hard way last year. So factor that into your calculations!
0 coins
Malik Davis
I went through this exact same situation with HSA Bank last year and it's incredibly frustrating that they don't help with the calculation. Here's what I learned: Since your excess contribution happened on December 30th, you're actually in a pretty good position - there's only been 2 days for any gains/losses to accumulate. The fact that the calculator is showing less than your $82.49 excess means your HSA investments had a small loss during those two days. You should definitely withdraw the calculated amount (not just the $82.49). The IRS requires you to remove the excess contribution adjusted for any proportional gains or losses. In your case, the loss actually works in your favor since you'll withdraw slightly less than what you contributed. Make sure to: 1. Request that HSA Bank code this as an "excess contribution removal" on your 1099-SA 2. Complete the withdrawal before you file your 2024 taxes 3. Be prepared for HSA Bank's $25 processing fee Since you haven't filed your 2024 taxes yet, you're well within the deadline and won't need to worry about the 6% excise tax or Form 5329 as long as you handle this promptly.
0 coins
Cynthia Love
I just went through this exact same mess with HSA Bank a few months ago - they're absolutely terrible at helping customers with these calculations! The good news is that since your excess happened so late in the year (December 30th), you're dealing with minimal earnings/losses. Here's what you need to know: If the calculator is showing a withdrawal amount less than your $82.49 excess, that means your HSA investments had a small loss during those final two days of the year. This actually works in your favor - you only need to withdraw the calculated amount, not the full excess. The IRS formula is: (Excess Contribution) × (Net Income ÷ Fair Market Value). Since your account value dropped slightly, the "Net Income" part is negative, reducing your required withdrawal. Make sure to: - Request HSA Bank code this as "excess contribution removal" - Get it done before filing your 2024 taxes - Budget for their annoying $25 processing fee Since you're handling this in January and haven't filed yet, you're well within the deadline and won't face the 6% excise tax. The withdrawal will show on a 2025 1099-SA but corrects your 2024 contribution limit issue.
0 coins
Carmen Flores
This is super helpful! I'm dealing with a similar situation but mine happened earlier in the year. You mentioned the IRS formula - do you happen to know if there's a specific IRS publication that explains this calculation in detail? I want to make sure I understand it correctly before I request the withdrawal from my HSA provider. Also, when you say "Net Income" can be negative, does that mean if my HSA lost value during the period, I actually withdraw less than my excess contribution amount? That seems almost too good to be true given how stressful this whole process has been!
0 coins
Mohammad Khaled
Yes, you're absolutely right! When your HSA loses value during the period your excess contribution was in the account, you withdraw less than the original excess amount. It sounds counterintuitive, but the IRS requires you to remove the excess contribution adjusted for its proportional share of gains/losses. The specific IRS guidance is in Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans) and IRS Notice 2004-50. The formula is: Excess Contribution × (Adjusted Net Income ÷ Adjusted Opening Balance + Contributions - Distributions). So if your HSA lost value, the "Adjusted Net Income" becomes negative, which reduces your required withdrawal below the excess contribution amount. You're essentially removing what that excess contribution is worth now, not what you originally put in. It's one of the few times market losses actually help you in a tax situation! For earlier-in-the-year excess contributions like yours, the calculation gets more complex since there's more time for market movements, but the same principle applies - you could withdraw more or less than your excess depending on how your investments performed.
0 coins
NeonNova
Yes, exactly! If your HSA lost value during the period your excess contribution was in the account, you withdraw less than the original excess amount. The IRS allows this adjustment because you're removing the proportional value of what that excess contribution is currently worth. You can find the detailed calculation in IRS Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans). The specific formula is in the section about excess contributions. It's also covered in the instructions for Form 8889. The "Net Income" can definitely be negative - that's what happened to both the original poster and your situation. When your HSA investments decline, the excess contribution plus its proportional share of the loss equals less than what you originally put in. It's one of the few silver linings in this otherwise frustrating process! Make sure your HSA provider calculates this correctly though - many of them try to oversimplify and just have you withdraw the full excess amount, which isn't technically correct according to IRS rules.
0 coins
Norman Fraser
Yes, exactly! When your HSA investments lose value during the period your excess contribution was in the account, you withdraw less than the original excess amount. The IRS recognizes that the excess contribution is now worth less due to market performance, so they only require you to remove its current proportional value. You can find the detailed explanation in IRS Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans). The specific calculation is in the section on "Excess Contributions." There's also guidance in IRS Notice 2004-2 that clarifies how to handle the earnings calculation. The formula accounts for the fact that your excess contribution participated in both gains and losses alongside your other HSA funds. So if your entire HSA dropped 2% during the period, your excess contribution also "lost" 2% of its value, and you only need to withdraw 98% of what you originally over-contributed. It does seem too good to be true after all the stress, but it's completely legitimate! The IRS wants to treat your excess contribution fairly based on actual market performance, not penalize you for investment losses that occurred while the money was in your account.
0 coins
Leo McDonald
Yes, exactly! You're right that it seems almost too good to be true, but that's exactly how the IRS formula works. The specific publication you want is IRS Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans) - it covers the excess contribution removal calculation. The key concept is that when you remove an excess contribution, you're not just removing the dollar amount you put in - you're removing the proportional share of what that money is currently worth in your account. So if your HSA investments lost value, that excess contribution is now worth less than what you originally contributed. The formula is: Excess Contribution × (Net Income ÷ Account Balance). If "Net Income" is negative (meaning losses), then you multiply your excess by a negative percentage, which reduces the withdrawal amount below your original excess. This is actually the fair way to do it - if you had gains, you'd have to withdraw more than your excess. Since you had losses, you withdraw less. The IRS doesn't want you to benefit from keeping gains on money you weren't supposed to contribute in the first place.
0 coins
Ana Erdoğan
Yes, you're absolutely right! The IRS Publication 969 covers HSAs and explains this calculation. The key concept is that you're removing the "proportionate share" of gains or losses attributable to your excess contribution. When your HSA loses value during the period, the "Net Income" in the formula becomes negative, which reduces the amount you need to withdraw. So if you contributed $100 excess and your account dropped 2% during that period, you'd only withdraw about $98. It's one of the few times investment losses actually work in your favor! The formula ensures you're only removing what that excess contribution is currently worth, not necessarily what you put in. This prevents you from being penalized twice - once for over-contributing and again for market losses on money you have to take back out anyway.
0 coins
Alice Pierce
Yes, you're exactly right! When your HSA investments lose value during the period your excess contribution was in the account, you withdraw less than the original excess amount. It's one of the few silver linings in this frustrating process. The detailed calculation is covered in IRS Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans). The specific formula is on page 8: "Earnings on excess contributions = excess contribution × (adjusted net income ÷ adjusted fair market value)." When the "adjusted net income" is negative (meaning losses), the calculation reduces your required withdrawal amount. So if you over-contributed $100 but your HSA lost 2% during that period, you'd only need to withdraw about $98. For your earlier-in-year situation, the calculation becomes more complex since there's been more time for gains/losses to accumulate. I'd definitely recommend using one of the calculator tools mentioned earlier in this thread or calling the IRS directly to verify your specific numbers before requesting the withdrawal.
0 coins
Zara Rashid
Yes, exactly right! If your HSA lost value during the period, you withdraw less than your excess contribution amount. The IRS Publication 969 covers HSA rules, and Publication 590-A has some details on the excess contribution removal process. The formula is in IRS Notice 2004-50, but basically: if your account goes down in value after the excess contribution, the "net income" becomes negative (a loss), which reduces the total amount you need to withdraw. It's one of the few times market losses actually help you! For your earlier-in-year situation, you'll want to be extra careful with the calculation since there's more time for gains/losses to accumulate. The online calculators like the one OP mentioned, or services like taxr.ai that @Saleem Vaziri recommended, can handle the complex math if your HSA provider won t'help. Just make sure whatever amount you withdraw gets properly coded as an excess contribution removal - that s'the key to avoiding tax complications.
0 coins
StarStrider
Yes, exactly! When your HSA loses value during the period, you withdraw less than the excess contribution amount. The IRS explains this in Publication 969 and Publication 590-A, specifically in the sections about HSA contributions and excess contribution removals. The formula is in IRS Notice 2004-2, which states that earnings (or losses) on excess contributions are calculated as: (Excess Contribution Amount) × (Net Income ÷ Fair Market Value of Account). When "Net Income" is negative (meaning losses), it reduces your required withdrawal below the excess amount. This actually makes sense from the IRS perspective - they want you to remove the proportional value of what that excess contribution is currently worth, not necessarily the exact dollar amount you put in. So yes, investment losses during the excess period work in your favor! Just make sure your HSA provider uses this official calculation method rather than just withdrawing the flat excess amount.
0 coins
Natalia Stone
Yes, you're absolutely right! If your HSA lost value during the period, you withdraw less than your excess contribution amount. The IRS publication you want is Publication 969, which covers HSAs and explains the excess contribution removal process. The formula is in IRS Notice 2008-59, but essentially: if your account value decreased during the time your excess contribution was in there, the "earnings" portion becomes negative (a loss), so you withdraw the excess contribution minus the proportional loss. For example, if you contributed $100 excess and your entire HSA dropped 2% during that period, you'd only need to withdraw about $98. The IRS allows this because they want you to remove the current value of what that excess contribution is worth, not necessarily the original dollar amount you put in. It's one of the few times the tax code actually works in your favor! Just make sure your HSA provider calculates it correctly and codes the withdrawal properly.
0 coins
Emma Davis
Yes, you're absolutely right! If your HSA lost value during the period your excess contribution was in the account, you do withdraw less than the excess amount. It's one of the few silver linings in this frustrating process. The specific IRS guidance is in Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans), and the detailed formula is also covered in IRS Notice 2004-50. The key concept is that you're removing the excess contribution plus its "proportionate share" of any gains or losses. So if your account lost value, that negative "Net Income" actually reduces your required withdrawal amount. It's the IRS way of ensuring you only remove what that excess contribution is currently worth, not what you originally put in. Just make sure your HSA provider uses the correct period dates (from when the excess was contributed until the removal date) in their calculation.
0 coins
Anita George
Yes, exactly! When your HSA investments lose value during the period your excess contribution was in the account, you withdraw less than what you over-contributed. It's one of the few "silver linings" in this frustrating process. The IRS explains this in Publication 969 under "Excess Contributions" - it states that you must withdraw the excess contribution plus any "net income attributable" to it. When there's a net loss instead of income, that negative amount reduces your required withdrawal. For the detailed calculation, you can also reference IRS Notice 2004-2, which provides the specific formula. But honestly, most people find it easier to use a calculator tool or call the IRS directly rather than trying to work through the math manually, especially if you had multiple contributions throughout the year. Your situation sounds more complex than the original poster's since yours happened earlier in the year - there would have been more time for gains/losses to accumulate on your excess contribution.
0 coins
Isabella Ferreira
Yes, exactly! When your HSA investments lose value, you actually withdraw less than your original excess contribution. The IRS Publication 969 covers HSA rules, and Publication 590-A has some guidance on similar calculations for IRAs. The key concept is that you're removing the "current value" of what that excess contribution is worth today, not the original dollar amount you put in. So if your $100 excess contribution is now only worth $95 due to market losses, you only need to withdraw $95. For the calculation details, most HSA providers reference IRS Notice 2004-50, which explains the proportional method: take your excess contribution, multiply by (account's net income ÷ account's fair market value), then add that result to your excess contribution amount. When net income is negative (losses), this actually reduces your required withdrawal. It's one of the few times investment losses work in your favor with tax-advantaged accounts!
0 coins
Grace Patel
Yes, you're absolutely right! If your HSA lost value during the period your excess contribution was in the account, you withdraw less than the excess amount. It does seem almost too good to be true, but that's exactly how the IRS formula works. You can find the detailed explanation in IRS Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans). The specific formula is in the section on "Excess Contributions" - it requires you to calculate the proportional earnings (or losses) attributable to the excess contribution. So if you contributed $100 excess and your entire HSA dropped 2% during that period, you'd only need to withdraw about $98. The IRS recognizes that your excess contribution participated in both gains AND losses while it was in the account. For your earlier-in-the-year situation, the calculation will be more complex since there's been more time for market fluctuations, but the same principle applies. I'd definitely recommend using one of the online calculators mentioned earlier in this thread or calling the IRS directly to verify your numbers before requesting the withdrawal.
0 coins
Javier Mendoza
Yes, exactly! You're right that it seems almost too good to be true, but that's how the IRS calculation works. When your HSA investments lose value, the "Net Income" portion of the formula becomes negative, which reduces your required withdrawal below the original excess amount. The specific IRS guidance is in Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans) and IRS Notice 2004-50. The key section explains that you must remove the excess contribution "adjusted for any net income attributable to the excess contribution." So if your HSA lost value during the period your excess was in the account, you're only required to withdraw what that excess contribution is currently worth - not what you originally put in. It's one of the few silver linings in this frustrating process! Just make sure your HSA provider uses the correct calculation method and codes the withdrawal properly. The timing of when your excess occurred will definitely impact the calculation since it determines how long that money was subject to market fluctuations.
0 coins
Ravi Kapoor
Yes, you're exactly right! If your HSA lost value during the period your excess contribution was in the account, you withdraw less than the excess amount. It's one of the few silver linings in this frustrating process. The IRS calculation is detailed in Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans). The specific formula is in the section about correcting excess contributions. You can also find it in IRS Notice 2004-50, which provides the computational guidance. Since your excess happened earlier in the year, your calculation will be more complex than OP's December situation. You'll need your account values from the date of excess contribution through December 31st. If your HSA provider won't help with the calculation, those online tools mentioned earlier (like taxr.ai) might be worth the cost given the complexity of a full-year calculation. The key is getting the exact dates and account values right - any mistakes could cause issues with the IRS later.
0 coins
Dmitry Sokolov
Yes, you're exactly right! If your HSA lost value during the period your excess contribution was in the account, you withdraw less than the excess amount. It's one of the few silver linings in this frustrating process. You can find the detailed formula in IRS Publication 969 (Health Savings Accounts and Other Tax-Favored Health Plans), specifically in the section about excess contributions. The formula is: Excess Contribution × (Adjusted Net Income ÷ Adjusted Fair Market Value at end of period). When your HSA investments decline, the "Adjusted Net Income" becomes negative, which reduces your required withdrawal below the excess contribution amount. So if you over-contributed $100 but your account value dropped during that period, you might only need to withdraw $95 or so. The key is getting your HSA provider to calculate this correctly since they have access to your daily account values. Most online calculators work fine, but double-check that they're using your actual account performance data for the specific period your excess was in the account.
0 coins