Before April 15, 2023, you need to withdraw all the excess contributions. To do this, please do the following:
1. In TurboTax in the HSA interview, answer the question about the months you were on Medicare (it sound like you have this part covered).
2. In the following screens, TurboTax will tell you that you have excess contributions.
3. When it asks if you want to withdraw them before April 15th, (well, this year, April 18th), answer YES.
4. Then before April 18th, contact your HSA custodian and ask for the withdrawal of excess contributions. Did you already do that? Did you tell the custodian that this was for "excess contributions"? If not, they may have their paperwork wrong, so call them back.
5. They will send you a check for the excess, and will send you a 1099-SA to report the earnings on the excess as income on next year's return.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"