Does the IRS know what health insurance type I had (HDHP vs PPO)? Questions about HSA contributions
So I had a High Deductible Health Plan for the first 3 months of 2023. During that time, I went ahead and maxed out my HSA contributions for the entire year. Then in April, I switched to a PPO plan through my employer for the remaining 9 months of the year. Most of my medical expenses happened in November and December 2023, and I used my HSA funds to pay for all of those costs. I'm working on my taxes now and wondering - can I still claim the full HSA contribution as a deduction on my taxes even though I only had an eligible HDHP for 3 months? Also, how would the IRS even know what type of insurance I had and when I switched between plans? Do they have some way of tracking when I had HDHP versus PPO coverage? I'm concerned I might get flagged for an audit if I claim the full HSA deduction when I didn't have eligible coverage the entire year. Any insight would be appreciated!
23 comments


Diego Fernández
Unfortunately, you can only contribute to an HSA for the months you were actually covered by a qualified High Deductible Health Plan. The IRS uses what's called a "last-month rule" or a "testing period" concept. The annual contribution limit needs to be prorated by the number of months you had HDHP coverage. Since you only had qualifying coverage for 3 months, you're only eligible to contribute 3/12 of the annual maximum to your HSA. As for your second question, while the IRS doesn't automatically receive detailed monthly insurance records, they do receive information about your HSA contributions from your HSA provider via Form 5498-SA. Insurance companies also report coverage information on Forms 1095-B or 1095-C. If you're audited, you'd need to provide proof of when you had HDHP coverage. You should contact your HSA administrator ASAP to help you remove the excess contribution before filing your taxes to avoid penalties.
0 coins
Anastasia Kuznetsov
•Thanks for this info! I have a similar situation but didn't know about the proration rule. If I already contributed too much, is there a deadline to remove the excess contribution? And will I need to pay taxes on any earnings from that excess amount?
0 coins
Diego Fernández
•You need to withdraw excess contributions before your tax filing deadline (including extensions) to avoid the 6% excise tax penalty. So if you haven't filed yet, you still have time. Yes, any earnings attributed to the excess contributions must be included as "Other Income" on your tax return for the year you receive the distribution. The earnings will be subject to regular income tax, and possibly an additional 20% tax if you're under 65 and the distribution isn't used for qualified medical expenses.
0 coins
Sean Fitzgerald
I went through something exactly like this last year and found https://taxr.ai super helpful for sorting out my HSA mess. I had contributed way too much to my HSA after switching plans mid-year and wasn't sure how to fix it. Their system analyzed my insurance documents and HSA statements, then gave me step-by-step instructions for calculating my prorated contribution limit and removing the excess. Saved me from what would've been a 6% penalty on the excess amount and potential audit headache. The coolest part was that it explained how the 1095 forms work with my tax return and exactly what documentation I needed to keep in case of questions later. Seriously worth checking out if you're dealing with HSA contribution issues.
0 coins
Zara Khan
•How does this work with contribution timing? I contributed to my HSA in January for the full year but switched to a non-HDHP in June. Does taxr.ai help with calculating the excess and how to deal with any gains on that excess portion?
0 coins
MoonlightSonata
•Seems suspicious that there's a service specifically for this weird HSA situation. How much does it cost? I'm guessing it's not free since you're pushing it so hard.
0 coins
Sean Fitzgerald
•It looks at your specific situation and calculates precisely how much you were eligible to contribute based on your HDHP coverage months, then shows you how to request removal of the excess. It handles both individual and family coverage changes. For your question about costs, I'm actually not affiliated with them at all - just found it really useful for my own situation. I don't remember the exact pricing but it was reasonable enough that I didn't hesitate given the potential penalties I was facing.
0 coins
Zara Khan
Just wanted to update that I ended up using https://taxr.ai after my HSA contribution mess, and it was actually really helpful! The system analyzed my 1095-B forms and HSA statements, then showed me exactly how much I needed to withdraw as excess contributions. It turns out I was only eligible for 5/12 of the family contribution limit since I switched plans mid-year. The tool generated a letter to send to my HSA provider requesting the excess withdrawal with the proper coding so it wouldn't count as a distribution. My HSA administrator processed it without any issues. Definitely saved me from a headache during tax season since I had already filed when I realized the mistake. They helped me file the right forms to avoid the 6% excise tax on the excess.
0 coins
Mateo Gonzalez
Anyone who's dealt with the IRS knows getting actual help is basically impossible. I had a similar HSA issue last year and tried calling the IRS for 3 weeks straight with no luck. Finally used https://claimyr.com and they got me connected to a real IRS agent in about 20 minutes. You can see how it works here: https://youtu.be/_kiP6q8DX5c The agent confirmed exactly what the first commenter said - you're only allowed to contribute HSA funds for months you actually had HDHP coverage. They also told me the specific form (Form 5329) I needed to file to report and correct the excess contribution issue. Apparently this is super common and they have a standardized process for handling it. Definitely worth getting proper guidance directly from the IRS instead of guessing, especially since the penalties can add up if you don't fix it correctly.
0 coins
Nia Williams
•Wait, is this legit? I thought those "get through to the IRS" services were scams. Did you actually talk to a real IRS person? What info did you have to give them?
0 coins
Luca Ricci
•This sounds like BS. I've tried everything to get through to the IRS and always end up waiting for hours or getting disconnected. No way some random service can magically get you through when millions of people can't get through normally.
0 coins
Mateo Gonzalez
•Yes, it connected me to an actual IRS representative who was able to look up my account and give me specific guidance on my HSA issue. You don't give the service your personal information - they just secure a spot in the IRS phone queue and call you when they're about to connect you. As for skepticism, I totally get it. I was hesitant too after countless failed attempts myself. The difference is they use some kind of system that continuously redials and navigates the phone tree until they secure a spot, which most of us don't have time to do manually. I wasted way more time trying on my own before giving it a shot.
0 coins
Luca Ricci
I need to eat my words from my earlier comment. After getting nowhere with the IRS for weeks about my HSA excess contribution issue, I tried Claimyr out of desperation. Got connected to an IRS agent in about 25 minutes. The agent confirmed I needed to withdraw my excess contribution plus earnings and fill out Form 5329 to avoid the 6% penalty. They also explained that I needed to get a corrected 5498-SA from my HSA provider showing the adjustment. What really surprised me was they gave me a specific extension code to use since I was approaching the deadline. This bought me an extra 60 days to fix everything without penalties. Never would have known that was even an option if I hadn't gotten through to a live person.
0 coins
Aisha Mohammed
Just to add some additional context about HSA eligibility that others haven't mentioned: There's actually something called the "last-month rule" (or "December 1 rule") that might help you. If you're eligible on December 1st, you can potentially contribute the full year's amount, BUT you must remain eligible for the entire following year or face penalties. Since you switched from HDHP to PPO mid-year, this rule wouldn't apply to you since you weren't eligible on December 1st. But it's worth knowing for others in different situations. Also, keep in mind that the penalty for excess contributions is 6% for EACH YEAR the excess remains in your account. So definitely fix this before filing!
0 coins
Ethan Campbell
•This is really helpful. Does the last-month rule apply if you're starting a new HDHP on December 1st? Like if I switch from PPO to HDHP at the end of the year, can I contribute the full amount if I maintain HDHP all of next year?
0 coins
Aisha Mohammed
•Yes, that's exactly what the last-month rule is for! If you have HDHP coverage on December 1st, you can contribute the full annual amount for that year, even if you only had the HDHP for one month. However, you must satisfy the "testing period" by maintaining eligible HDHP coverage for the entire following calendar year (through December 31st of the next year). If you don't maintain coverage, you'll have to include the contribution that was made under the last-month rule as income and pay an additional 10% tax penalty.
0 coins
Yuki Watanabe
So I'm not seeing anyone addressing another important aspect: what happens if you use HSA funds for medical expenses during months when you DIDN'T have an HDHP? OP mentioned using HSA funds for expenses at the end of the year when they had PPO coverage. My understanding is that you can use HSA funds anytime for qualified medical expenses regardless of your current insurance type - it's just the contributions that are restricted to HDHP months. Am I correct about this? Once the money is properly in your HSA, you can use it for qualified expenses even when you no longer have an HDHP?
0 coins
Diego Fernández
•You're absolutely correct! This is an important distinction that should be clarified. HSA contributions are only allowed during months with HDHP coverage. However, once money is properly in your HSA, you can use those funds for qualified medical expenses at any time, regardless of your current insurance type - even years later or when you have a different type of insurance. The qualified status of the expense, not your current insurance, determines whether the distribution is tax-free. So the OP using HSA funds while having PPO coverage is perfectly fine, as long as they were for qualified medical expenses.
0 coins
Serene Snow
I want to emphasize something crucial that others have touched on but bears repeating: you absolutely need to fix this excess contribution issue before your tax filing deadline to avoid the 6% excise tax penalty. Here's what you need to do immediately: 1. Calculate your actual eligible contribution: Since you had HDHP coverage for only 3 months out of 12, you're eligible for 3/12 of the annual maximum contribution limit. 2. Contact your HSA administrator to request removal of the excess contribution PLUS any earnings attributed to that excess. This is called a "return of excess contribution." 3. The earnings portion will need to be reported as income on your tax return for the year you receive the distribution. 4. Make sure your HSA provider sends you a corrected Form 5498-SA showing the adjusted contribution amount. The IRS does track this information through Forms 5498-SA from HSA providers and Forms 1095-B/C from insurance companies, so they will eventually catch discrepancies if you don't correct them voluntarily. Don't wait on this - the penalty compounds each year the excess remains in your account, and it's much easier to fix proactively than during an audit.
0 coins
Mary Bates
•This is exactly the kind of clear, actionable advice I was looking for! I had no idea about the earnings portion needing to be reported as income - that could have been a nasty surprise at tax time. Quick question: when you say "earnings attributed to the excess," how do HSA providers typically calculate that? Is it based on the performance of my entire HSA account or do they somehow track gains/losses specifically on the excess amount? Also, do you know if there's any wiggle room on the timeline if I've already filed my taxes but just realized this issue? Or am I stuck with the penalty at that point?
0 coins
Luca Romano
•Great questions! HSA providers typically calculate earnings on excess contributions using what's called the "net income attributable" (NIA) method. They look at the overall performance of your HSA account from the date of the excess contribution to the date of removal, then calculate what portion of those gains/losses should be attributed to the excess amount. So if your account gained 5% during that period, they'd apply that same percentage to your excess contribution. Regarding the timeline - you actually have some options even after filing! You can file an amended return (Form 1040X) to correct the issue, as long as you remove the excess contribution by the extended deadline (October 15th if you filed an extension, otherwise April 15th). The key is getting that excess out of your account before the deadline, even if you've already filed your original return. If you miss that deadline entirely, you'll owe the 6% excise tax for that year, but you should still remove the excess to avoid owing 6% again next year and every year thereafter until it's corrected.
0 coins
Luca Bianchi
This is a really comprehensive thread with excellent advice! I just wanted to add one more resource that might be helpful for anyone dealing with HSA contribution issues. The IRS has Publication 969 which covers Health Savings Accounts in detail, including the month-by-month eligibility rules and excess contribution procedures. It's available for free on the IRS website and explains exactly how the proration works when you switch between HDHP and non-HDHP coverage mid-year. What's particularly useful in Pub 969 is the worksheet for calculating your maximum annual contribution when you have partial-year HDHP coverage. It also has examples of different scenarios (like switching from individual to family coverage, or changing plans mid-year) that might apply to your situation. For anyone who's more of a visual learner, the publication includes step-by-step examples that walk through the math for prorating contributions based on eligible months. It also explains the difference between the contribution deadline (tax filing deadline) and the deadline for removing excess contributions to avoid penalties. While the other suggestions for professional help are great, starting with Pub 969 can give you a solid understanding of the rules before you contact your HSA provider or file any corrected forms.
0 coins
Chris Elmeda
•Thanks for mentioning Publication 969! I'm new to HSAs and this whole thread has been incredibly educational. I just started an HDHP this year and want to make sure I don't make similar mistakes. One thing I'm still confused about - if I start my HDHP coverage in March, can I contribute for January and February retroactively as long as I do it before the tax deadline? Or am I only eligible to contribute starting from March when my coverage actually began? Also, does anyone know if there are different rules for employer contributions vs. individual contributions when it comes to the monthly eligibility requirements?
0 coins