How to start investing while repaying student debt and loans

An early start can make a big difference.
Written by
Miranda Marquit
Miranda is an award-winning freelancer who has covered various financial markets and topics since 2006. In addition to writing about personal finance, investing, college planning, student loans, insurance, and other money-related topics, Miranda is an avid podcaster and co-hosts the Money Talks News podcast.
Fact-checked by
Doug Ashburn
Doug is a Chartered Alternative Investment Analyst who spent more than 20 years as a derivatives market maker and asset manager before “reincarnating” as a financial media professional a decade ago.
Student with loans looking at budget; price chart for stock index.
Open full sized image
You can make an investment plan even if you're repaying loans.
© terovesalainen/stock.adobe.com, © Elenathewise/stock.adobe.com; Photo composite Encyclopædia Britannica, Inc.

If you feel like you’re drowning in student loan debt, it’s unlikely that you’re also thinking: “Ooh, I should start investing!” In fact, you might believe you need to get rid of debt before you start investing.

But there’s no one-size-fits-all answer when it comes to personal finance. It might actually make sense to start investing even if you still have student loans.

Here’s a look at the pros and cons of investing while you have student loan debt, plus a few tips on how to make investing a habit.

Key Points

  • Take advantage of a 401(k) match if it’s available from your employer.
  • Long-term returns on stocks have historically outpaced student loan interest rates.
  • Consider starting with small, automatic transfers into broad-based index funds.

Advantages of investing while you have student loans

Even if you have student loan debt, there are reasons and ways to start investing:

  • Take advantage of a 401(k) match. If you work for a company that offers a 401(k) with matching contributions, that’s free money for your future. Consider contributing enough to get the maximum match. For example, if your company matches 100% of the first 3% you contribute, and 50% of the next 2%, consider contributing 5% of your salary (to get a maximum match of 4%).
  • Start investing with a small amount. You don’t need a lot of money to start investing. Even if you have $5 per week to invest, you can start taking advantage of compounding returns. You can increase the amount as you pay down more of your student loan debt.
  • Build the habit. Starting small can be a way to build an investing habit. By prioritizing investing today, you can build a foundation that will make it easier to keep investing later on, because the habit will already be in place.

Deciding how much to invest while you pay down student loan debt

Consider the interest rate(s) on your student loans. For example, the interest rate on federal undergraduate student loans is 4.99% for funds disbursed for the 2022–23 academic year; the graduate loan rate is 6.54%. Investment returns aren’t guaranteed, but for the past 25 years, the annualized return for the benchmark S&P 500 Index has been about 9%, according to research by McKinsey. And since 1800, stocks have returned nearly 7% on a real (i.e., inflation-adjusted) annualized basis.

So there’s certainly the potential for better long-term returns if you begin investing early. But having that debt drag on you reduces your effective returns. For example, if you earn 8% on your investments, but you’re paying 5% on your debt, your effective return is 3%.

Interest on your interest. Returns on your investment returns.
Encyclopædia Britannica, Inc.

So even as you start investing, you might want to put even more toward becoming debt free. Here’s one strategy:

  • Decide how much extra you have each month to put toward investing and paying down student loans.
  • Put a percentage toward paying down debt and the rest toward investing. For example, you might decide to put 85% of your available money toward reducing student loans and the remaining 15% toward investing.
  • As your student loan debt falls, consider adjusting your percentage to gradually invest more.

What about student loan forgiveness?

Don’t forget to factor student loan forgiveness into the equation. For example, if you know you’ll qualify for Public Service Loan Forgiveness (PSLF), it might not make sense to put extra cash toward paying down student loans. Instead, you might be better off with an income-driven plan that limits your monthly payments. Then you can invest any extra funds instead. There’s no reason to tackle that debt if the balance will be forgiven when you meet the PSLF requirements.

And don’t forget about other forgiveness programs, like Teacher Loan Forgiveness and the National Health Services Corps Loan Repayment Program. If you’re eligible to have some (or all) of your loans forgiven, that creates more room for investing.

How to start investing when you have student loans

Here are a few tips to help you make the most of your money:

  • Start small. Don’t assume you need a lot of money to start investing; many apps and websites allow you to start with no minimum. You might be able to move forward with as little as $5.
  • Make it automatic. Set up a regular transfer so you don’t have to think about it. Even $5 or $10 a week can be a good start. If your employer has a 401(k), have the money deducted from your paycheck and invested automatically.
  • Make sure you’ve selected investments. Depending on the account type, you might need to choose some investments. Otherwise, your money will just sit in cash without taking advantage of the power of compounding. Double-check to ensure you’re truly investing.
  • Consider a fund. As a beginner, rather than starting with individual stocks, consider choosing a mutual fund or exchange-traded fund (ETF). For example, you might start with an index fund that tracks the S&P 500 or another major index. Later, you can research other types of investments.
  • Increase as you go. As you earn more money and pay down those student loans, try to increase how much you regularly set aside. The small amounts you invest now are great, but they likely won’t cover your retirement and other long-term goals.

The bottom line

You might want to devote most of your extra money each month toward reducing student loan debt, but that doesn’t mean you can’t invest. Deciding to invest at least a little bit now can help you build good habits while providing a foundation to grow a nest egg in the future.

Specific companies and funds are mentioned in this article for educational purposes only and not as an endorsement.