If my program offered a 403b with match, I'd absolutely contribute up to the maximum they match, at least assuming it still let me have enough to meet my IBR payments. I'd prioritize IBR to take advantage of all the capitalization/subsidy/potential forgiveness, then the matching 403b, then either private debt or the Roth IRA.
This year my wife and I don't have enough to contribute to a Roth IRA, so I really don't know a ton about them, other than residency is a great time to max them out. But in general I think it's ideal to be both paying off some student loans and also putting something away for retirement. Hopefully someone with more knowledge can chime in regarding the Roth IRA.
Now, if my wife and I had enough money on the side to pay off all our private loans within 1-3 years if needed, then I'd pay off the higher-rate federal loans first. That way we'd accrue less interest, but in the event interest rates started skyrocketing, we could pay them off quickly if needed. When I'm an attending we could absolutely do that (probably within a year), but my wife makes very little, so we don't have that flexibility right now, and unless she gets a high paying job when we move for PGY2, we won't have that flexibility for 3.5 years (4.5 if I do a fellowship), by which time interest rates may be quite a bit higher and my private variable rates may very well be up to 7% (though I hope rates stay low for some time). But our current plan also has all our private debt being paid off by the end of residency, barring unforeseen circumstances.
I ripped this out of one of WhiteCoatInvestor's blog posts (
http://whitecoatinvestor.com/):
1) Pay off high interest debt. Any credit cards or consumer debt at 8% or higher should be paid off ASAP. Honestly you should have never accumulated this.
Live like a resident until it is gone.
2) Invest in tax-protected accounts. If you are a resident max out your personal and spousal Roth IRAs. If an attending, max out your 401K, SEP-IRA, HSA and any other retirement account that allows you full marginal tax rate deductions.
3) Pay off non-deductible loans between 5% and 8%. These include most current student loans.
4) Consider investing in other accounts that offer a tax break, such as 529s (kid’s college accounts), UGMAs, and backdoor Roth IRAs if your circumstances merit.
5) Invest in risky assets in a taxable account (stock mutual funds or investment properties).
6) Pay off loans with after-tax rates of 3%-5%. These include most mortgages.
7) Pay off loans with after-tax rates below 3%.
8) Invest in safe assets in a taxable account such as CDs, bonds, and savings accounts. If these types of assets return to historic norms (4-5% returns) instead of their current 1-2% returns, then it is okay to invest in these prior to paying off very low interest debt.
I think while in residency, it might still be good to at least meet the interest payments on >6% student loans before contributing to any retirement accounts without matching (i.e. Roth IRA). So to modify WhiteCoat's list a bit, below 1) I would contribute to any employer retirement account up to the amount needed for any matching bonus, then cover student loans enough to take care of interest, then move onto the 2) he listed. I might be wrong on this, but I think that is how I will handle it.