dmertz
Level 15

After you file

Enter into 2022 TurboTax the HSA contributions that you made, either those reported with code W in box 12 of your W-2 or personal contributions, without regard to any distribution of the excess. TurboTax will then inform you that you made an excess contribution and give you the opportunity to indicate how much of the excess contribution was returned to you ("withdrawn").  You indicated in your original post that you saw where to make this entry.  The amount of excess contribution that you indicate was returned will be treated by TurboTax as an amount not contributed.

 

(Note, however, that if you made a personal HSA contribution in 2023 for 2022 and you subsequently requested that some or all of that contribution be reallocated to 2023, that's a different matter.  This does not seem to be what happened, though, because you indicated that you made an excess contribution "in 2022."  I'm assuming that that contribution was for 2022, not for 2021.)