Utilize your financial knowledge, give your answer or opinion to the input question or subject . Answer format is not limited.

hardship withdrawal
Gaining traction is your first priority. WARNING: as @JosephZambrano explains in his answer the tax penalty for withdrawing from a 401(k) can easily exceed the APR of the credit card making it a very bad strategy. Consult in-depth with a financial advisor to see before taking that path.  As @JoeTaxpayer has noted a loan is another alternative. The 401k is no good to you if you can't have shelter or comfort in the mean time.  The idea is to look at all the money as a single thing and balance it together.  There is no credit and retirement, just a single target that you can hit by moving the good money to clear the bad. Consolidating the credit card debt somehow would be very wise if you can.  Assuming it is 30% APR shrinking that quickly is the first priority. You may be able to justify a hardship withdrawal to finance the reduction/consolidation of the credit card.  It may be worth considering negotiating a closure arrangement with a reduced principal.  Credit card companies can be quite open to this as it gets their money back. You may also be able to negotiate a lower interest rate. You may be able to negotiate a non-credit-affecting debt consolidation with a debt consolidator.  They want to make money and a 25K loan to a person with sound credit is a pretty good bet. Moving, buying a house, or any of that may just relocate the problem.   You may be able to withdraw $25K from your 401k under hardship, pay the credit card, and come up with a payment plan for the medical debt. It's a retirement setback for sure, but retirement is an illusion with that credit card shark eating all of your hard-earned money.  You gotta slay that beast quick. Again, be sure to fully analyze whether the penalty on the 401(k) withdrawal exceeds the APR of the credit card.