I'm a graduating medical student, and have ~$220,000 in student loans. The majority of this (~$180,000) is in federal student loans at 6.8%, with the rest being at a lower rate (4-5%). I also have ~$20,000 in a Roth IRA which I've been contributing to for about 15 years. Should I close out the Roth IRA to pay down my student loans? I'm starting residency in a few months which pays ~$55,000/yr, and after cost of living I won't be able to contribute much over the minimum payments to my loans until after residency.
I would not suggest closing out your Roth IRA --
Couple of reasons for that -
1) Since you've been contributing to it for 15 years, your investments have probably grown, seen dividends, etc. If you close it out, you will owe taxes and be slapped with a 10% penalty on the growth (money you didn't contribute). That's quite a waste of hard earned money.
2) While your income may exceed the contribution limit of a Roth, you could do what's called a 'backdoor' Roth - which is really just converting your after tax contributions into an IRA into a Roth IRA.
3) Given the length of your contributions your Roth IRA is seasoned (5 years) This allows you to use up to 10k for your house if you chose. (Usually not an option people use)
Other than that, consider paying off the student loans with the highest interest first.
The key thing to consider in a question like this is, What return am I getting on my investment versus what interest am I paying on the loan? If the investment returns more than what you're paying on the loan, than it makes sense to keep the investment and pay off the loan with other income. If the investment returns less, than it makes sense to cash it out to pay off the loan.
One complicating factor is taxes. In the case of an IRA, you're not paying taxes on the profits. You do pay a tax penalty for an early withdrawal. Those are both factors that tend to make keeping the money in the IRA more desirable.
And of course, if the choice is between keeping your investment and defaulting on the loan, you probably want to close out the investment.
I don't know what return you're getting on your IRA, but it's probably more than 6.8%. I'd have to check but I think my retirement funds got over 20% last year. If you're not getting 6.8%, you might want to investigate switching to another investment fund.
I'm sure there's a lot I don't know about your situation, but I'd think that keeping the IRA would be a better plan. If you can't add to it for some time well you get these debts paid off, well, that's how it is.