Skip to content

Should I Pay Off My Student Loans or Invest First? (Here's What I Wish I'd Known)

Matt A
Matt A

When I was an intern, I convinced myself I had no money to invest. I was making around $50,000 a year, my student loan balance was staring me down, and investing felt like something I'd get to eventually, after the loans were gone, after my income went up, after things settled down.

I was wrong. And it cost me.

When I started residency, I began contributing to my 403(b) without fully understanding what I was doing. I didn't realize that counted as investing. By the time I became an attending, I hit the ground running and maxed out my retirement accounts right away, but it wasn't until about four years into my attending job that I started investing in a taxable brokerage account. Looking back, I got lucky with the timing. But the truth is I should have started the moment I started earning an income.

This is one of the most common questions I get from residents, nurses, pharmacists, and new attendings: do I pay off my loans first, or do I invest? The answer, and I want to be direct about this, is almost always both.


Why the "Wait Until My Loans Are Gone" Instinct Feels Right But Isn't

It makes emotional sense. Debt feels heavy. The idea of being debt-free feels clean and freeing. So it's natural to want to eliminate loans before doing anything else with your money.

But here's the problem: time in the market is the single most powerful force in personal finance, and you can't get it back.

Let me show you what I mean with real numbers. Using a conservative 7% annual return:

A resident who starts investing just $200 per month at age 28 and keeps it going until age 65 ends up with about $419,000, having put in only $88,800 out of pocket.

A new attending who waits until age 33 and invests $1,000 per month until 65 ends up with about $1.43 million, having put in $384,000.

The attending who waited ends up with more money in the end, but look at what happens when you do both: if that same person had invested $200/month from age 28 to 33 and then scaled up to $1,000/month as an attending, they'd end up with $1.55 million, roughly $125,000 more than the person who waited, despite only putting in about $12,000 extra during those five residency years.

That $125,000 difference came from five years of $200/month contributions. That's the power of compounding, and that's what gets left on the table when you wait.

The goal of this post isn't to tell you to ignore your loans. It's to show you that doing both is possible and that even a small amount invested early makes a real difference.


The Non-Negotiable First Step: Your Employer Match

Before anything else, find out if your employer offers a retirement match, and if they do, contribute at least enough to get all of it.

This is the one piece of financial advice that has almost no exceptions. If your hospital matches 3% of your salary and you contribute 3%, you instantly double that portion of your investment. That's a 100% return before the market even opens. No loan payoff strategy, no investment choice, nothing else in personal finance comes close to that math.

I've seen clients so focused on their loan balance that they were leaving thousands of dollars in employer match on the table every year. That's free money expiring each pay period you don't claim it.

Log into your HR portal. Find your 403(b) or 401(k). Make sure you're contributing at least enough to get the full match. That's step one and it means you're already investing, even if you have debt.


The Right Order After That

Once you've captured the employer match, here's the sequence I recommend, and it lines up with the Money Guy Financial Order of Operations, which is one of the most sensible frameworks out there for this:

If you're a resident or in an earlier income stage: After the employer match, focus on your Roth IRA and your HSA if you're eligible. Your tax rate is lower now than it will likely ever be again in your career, which makes the Roth especially valuable. You can contribute up to $7,500 per year (2026). Even $300 or $400 a month gets you there.

If you're a new attending or higher earner: You're likely above the income limit for a direct Roth contribution, which means you'll want to use the backdoor Roth strategy. Beyond that, max out your employer retirement accounts (403(b), 457(b)), keep the HSA funded, and once those are covered, a taxable brokerage account is the next place to put money to work.

The loans don't disappear from this picture, they're still being paid. The question is just how aggressively, and the answer depends on your interest rate.


The 6% Rule of Thumb

Here's a practical way to think about the balance between loan payoff and investing: if your loan interest rate is below 6%, the math generally favors investing the difference rather than throwing extra money at the loan. The market's long-term average return of 7-10% is likely to outpace what you'd save by paying down a low-rate debt faster.

If your rate is above 6%, which is likely if you're on standard federal loans averaging around 7.5%, there's a real argument for being more aggressive on the loans before funneling extra into a brokerage account. But even then, you should still capture the employer match and fund your Roth first. Those steps happen before the math debate.


Two Clients, Two Different Starting Points

Charlotte is a healthcare professional in her early career with $120,000 in student loans. When we built her financial plan together, she was already contributing $636 per month to a Roth IRA and she had nearly $79,000 accumulated in investments. She was doing both. Her loans weren't paid off, but her investment account was growing, her emergency fund was in place, and she had a system that worked. She didn't let the debt stop her from building wealth in parallel.

Blake, a pharmacist I work with, came in with $118,000 in loans and nothing going toward investments. Not because he was irresponsible, he just hadn't built the system yet. His early sessions were about getting the foundation in place: organizing his cash flow, building his emergency fund, and then layering in his investment contributions. Once he had that structure, he could start investing without it feeling chaotic. The loans didn't disappear, but they stopped being the reason nothing else was happening.

Both of these people are making progress. The difference is timing and Charlotte's head start on investing, even modest amounts, will compound significantly over the years ahead.


The Mindset Shift That Changes Everything

Most healthcare professionals I talk to know what a 401(k) is. They know what a Roth IRA is. What they don't fully believe is that they're allowed to invest while carrying six figures of student loan debt.

They feel like they haven't earned the right yet. Like the debt has to be dealt with first before they can focus on building wealth.

That mindset is the thing I most want this post to challenge, because it's the thing that causes the most financial damage over a career.

Compounding interest works in two directions. It works against you on your loans, which is exactly why your $273,500 balance can balloon to over $400,000. But it also works powerfully for you when you invest early and consistently. The earlier you start capturing that compounding growth, the more it does the heavy lifting over time.

You don't need to have the loans paid off first. You don't need to be debt-free to start building wealth. You just need a plan that makes room for both and then you need to stick to it.


One Thing to Do This Week

Close this tab and open your retirement account portal. If you don't know where that is, call your HR department.

Find out what your employer match is. Find out what you're currently contributing. If you're not contributing enough to get the full match, change that number today.

That's it. That one step means you are investing, right now, this week, alongside your loans. And that is genuinely worth being proud of.

Everything else can be built on top of that foundation. But nothing builds until you start.


If you want help building a plan that makes investing and loan repayment work together for your specific situation, book a free 15-minute call HERE.

 

This post is for educational purposes only and does not constitute personalized financial or legal advice. Contribution limits and income thresholds change annually — verify current figures at irs.gov before taking action.

Share this post