There’s a myth that floats around every family dinner and group chat: if you have student loans, you must pour every spare dollar into them before you do anything else. No emergency fund. No retirement investing. No house. No fun. Just debt, debt, debt until it’s gone. It sounds disciplined. It sounds responsible. It also keeps a lot of people broke, scared, and stuck.

Student loans are not all the same. A federal loan at 4% with income-driven repayment and forgiveness options is a very different animal from a credit card at 28%. Treating every dollar of debt as an emergency ignores interest rates, repayment plans, and the fact that your financial life has more than one goal. You need a buffer. You need a future. You need a plan that survives a car repair, a layoff, or a medical bill.

Start with a small emergency fund. Before you make extra payments, save something like one thousand dollars. That’s not a full safety net, but it stops a flat tire from becoming a credit card balance. Once you have that cushion, you can attack debt without risking new high-interest debt every time life happens. Federal student loans usually have flexible options when money gets tight. Your landlord, your utility company, and your credit card issuer are less forgiving.

Next, take the free money. If your employer offers a 401(k) match, contribute at least enough to get it. Skipping the match to pay extra on a 5% student loan is like refusing a raise. A match can be an immediate 50% or 100% return on your contribution. You cannot borrow for retirement, and time in the market is one of the few advantages young people have. You can invest a little and still pay your loans. It doesn’t have to be all or nothing.

The home-buying myth is especially stubborn. People hear that you need zero debt to get a mortgage. That’s false. Lenders look at your credit score, income, down payment, and debt-to-income ratio. Student loans count in that ratio, but they don’t automatically disqualify you. In fact, an income-driven repayment plan can lower your required monthly payment, which may help your ratio. That said, lenders may calculate your payment differently than your servicer does, so ask questions. The point is simple: you don’t have to wait until your loans are gone before you buy a home. Waiting can cost you too, as rents and home prices rise. You just need to be honest about what you can afford.

Investing while you have student loans feels wrong to a lot of people. But math doesn’t care about feelings. If your loan interest rate is low, say 3% or 4%, and you have a long time horizon, investing extra money may build more wealth than rushing to pay off the loan. If your rate is high, say 8% or more, paying it down is a guaranteed return that’s hard to beat. The smart move is to compare your loan rates to realistic investment returns, then factor in risk. A guaranteed 7% return from paying off a high-interest loan is often better than a risky 8% in the market.

There’s another trap: paying extra when you’re pursuing forgiveness. If you’re on Public Service Loan Forgiveness or a long income-driven repayment plan that ends in forgiveness, extra payments can reduce the amount forgiven. You might be throwing money away. Check your repayment plan, count your qualifying payments, and talk to your servicer before you make a strategy change. Forgiveness isn’t a fantasy, but it has rules.

The real rule is balance. Keep your loans current. Avoid default. Capture your employer match. Build a small emergency fund. Then decide where the next dollar goes. If your highest interest rate is above roughly 7%, attack it. If it’s below 5%, invest and save while making minimum payments. If you’re in the middle, split the difference. Revisit the plan every year or when your income changes. Automate what you can so you don’t have to rely on willpower.

Student debt is a burden, but it doesn’t have to be a cage. You can save, invest, and buy a home while you pay it down. You just can’t do everything at maximum volume at once. Be pragmatic. Know your numbers. Don’t let a myth make your decisions for you. Debt is part of your life right now, but it is not your whole life.