The question sounds like a fork in the road — debt or savings, pick one. It is really a queue. Each dollar has a best next job, the jobs have a defensible order, and the order comes from arithmetic you can check rather than from temperament. Here is the queue, with the numbers that put each step where it is. (Our Next-Dollar Allocator runs this same order on your actual debts and rates.)
Step 1: The employer match, always
If your employer matches retirement contributions, capturing the full match comes before everything else on this page — including the credit card at 29.99%. A 50% or 100% instant return beats any APR ever printed on a statement. The only exception is a household that cannot cover this month's essentials at all; that is a triage problem, not an allocation problem.
Step 2: A starter buffer — small on purpose
Before attacking debt, hold a small cash buffer: roughly one month of essential spending (or $1,000–$2,500 for a stable dual-income household). The reason is mechanical, not emotional: without a buffer, the next $600 car repair goes back on the card you just paid down, at the same APR, and the payoff plan dies of re-borrowing. The right size depends on your income stability — our emergency-fund-by-circumstance guide sizes it properly. This step is a buffer, not the full emergency fund; the full fund comes later in the queue.
Step 3: Toxic debt — the guaranteed return
Now every spare dollar goes to the highest-APR debt. Paying off a balance at 26% APR earns a guaranteed, tax-free 26% — no investment offers that. The size of the prize, concretely: send an extra $300 a month to a 26% card for a year and you avoid roughly $507 of interest. Invest the same $300 a month instead at a 7% expected return and you gain roughly $137 — expected, not guaranteed, and taxable in a brokerage account. The card wins by about $370 in year one, and the gap compounds. Any debt in double digits belongs in this step; store-card and deferred-interest balances belong at the front of it (and if a store card is involved, read the deferred-interest trap before its promo ends).
Step 4: Finish the emergency fund
With toxic debt gone, build the buffer out to its full size — typically three to six months of essentials, more for a single income or variable earnings. This step outranks moderate debt because the fund is what keeps a job loss from recreating the toxic debt you just killed.
Step 5: The judgment zone — moderate debt vs. investing
Debts between roughly 4% and 8% (many auto loans, some student loans, older mortgages) have no arithmetic slam dunk. Paying a 6% loan earns a guaranteed 6%; a diversified portfolio has historically returned more than that over long horizons, with real risk along the way and taxes on the gains. Sensible households split the difference — some to the loan, some to the IRA or the extra 401(k) percent — and the tiebreakers are behavioral: if the debt bothers you, kill it; if you would not actually invest the difference, the loan wins by default. Below about 4%, the math tilts clearly toward investing and keeping the cheap loan, especially inside tax-advantaged accounts you cannot refill later — unused IRA room expires every year, while a loan can be prepaid any time.
The exceptions that break the order
- A 0% promo with a real exit plan can wait behind savings — but only if the payoff is scheduled before the promo ends, which is exactly what our balance-transfer calculator checks. A 0% balance with no plan is step-3 debt wearing a costume.
- An HSA you are eligible for can outrank moderate debt: the triple tax break is worth more than a 5% loan costs.
- Unstable income moves step 4 up: if your earnings are seasonal or commission-based, a bigger buffer before debt payoff is not timidity, it is sequencing.
- A known expense is coming (a move, a baby, tuition): cash earmarked for a dated bill is not "savings vs. debt" money at all. Keep it out of the queue.
One last note, because it decides whether any of this works: the queue is the default, not a straitjacket. A slightly suboptimal order you follow for two years beats the perfect order you abandon in February. Pick the sequence, automate it on payday, and revisit it when a rate, a balance, or a paycheck changes.
The car-loan version of this page’s question has a third door: extra payments earn your APR guaranteed, refinancing reprices the whole loan, and investing takes the market’s risk. Pay Extra on the Car Loan, Refinance It, or Invest? runs one loan through all three.
The mortgage version of this question is the most-asked in household finance, and it has two extra wrinkles — the employer match outranks both options, and the interest deduction only counts if you itemize. Pay Extra on the Mortgage or Put It in the 401(k)? works the full ordering.
Official documentation and references
- IRS — 401(k) plans, including how employer matching works
- CFPB — credit cards: consumer tools and answers
Keep going
- Next-Dollar Allocator
- How Much Emergency Fund Do YOU Need? It Depends on Your Circumstance — Here's the Math
- Student Loans After SAVE: RAP vs. IBR, With the Math Shown
- When You Can't Cover Essentials + Minimums: A Triage Order That Protects the Roof First
Educational disclaimer: This article is general education, not personalized financial, tax, legal, or benefits advice. Primary sources, plan documents, and — for insurance and estate topics — your state's law and licensed professionals govern your situation. All numbers in examples are illustrative.