Hi,
Usually, if you withdraw an excess contribution made during the tax year before the due date of the tax return you won't have to pay the 6% penalty. In your case, since you already removed the excess contribution, this will not be treated as a contribution on your 2023 tax year. You will then account for the withdrawal on your 2023 when you receive your 1099-R.
You may see this supporting link IRA Year-End Reminders
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"