If the money withdrawn from your 401(k) was used to pay for medical expenses in excess of the 7.5% AGI, the early withdrawal 10% penalty may be waived by filing Form 5329.
Please review a comprehensive list on the IRS website by clicking on this link:
Early withdrawal penalty exceptions
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"