The question of when to pay off your mortgage early has a clean mathematical answer and a messy human one, and both matter. The math compares the interest you save against what the money could earn elsewhere. The human part is about risk, sleep and what you will actually do with the cash if you do not pay the loan. This guide gives you the test, works it on a $20,000 lump sum against a $300,000 mortgage at 6.5%, and lists the situations where the answer flips. Size your own extra payment in the extra payment calculator before you decide.
The basic test: rate versus return
Paying extra on a mortgage earns you a guaranteed return equal to the loan’s rate. Put $20,000 into a 6.5% mortgage and you avoid $1,300 of interest in the first year, every year, until the loan ends. That is a 6.5% return with no market risk and no tax on it.
The alternative is to invest the $20,000. A diversified stock portfolio has returned about 7% a year after inflation over long periods, with wide swings in any single decade, and a high-yield savings account or CD has paid 4 to 5% in recent years. Over 25 years, $20,000 at 7% grows to $108,549; at 5% it grows to $67,727. The same $20,000 paid into the mortgage five years into a 30-year loan saves $67,225 of interest. At 5% the two are a draw; at 7% investing wins on paper by about $41,000, before taxes on the investment and before any bad years.
So the first-pass rule: if the mortgage rate is higher than the after-tax return you can reasonably expect, pay the loan. If it is lower, invest. At today’s mortgage rates of 6 to 7%, the comparison is close enough that the other factors below decide it. On a 3% mortgage from 2021, investing wins clearly and paying extra is mostly an emotional choice.
Adjusting for taxes
Two tax effects pull in opposite directions.
Mortgage interest is deductible only if you itemize, and since the standard deduction was raised in 2018, most households do not. If you take the standard deduction, the mortgage costs its full rate and paying it off is worth the full 6.5%. If you itemize and are in the 24% bracket, the after-tax cost of the mortgage is about 4.9%, which lowers the bar an investment has to clear.
Investment gains are taxed, unless they are in a 401(k), IRA or other sheltered account. A taxable brokerage account loses 15 to 20% of long-term gains to capital gains tax plus state tax. So the fair comparison is after-tax mortgage rate against after-tax investment return, and for most people today that is 6.5% guaranteed against something like 5 to 6% expected.
Do these first, whatever the math says
An emergency fund of three to six months of expenses. Money paid into the mortgage is locked in; the only ways out are selling, a cash-out refinance or a home equity line, all of which cost money and take time. A job loss with no cash and a paid-down mortgage is a bad place to be.
Higher-rate debt. A card at 22% or a personal loan at 12% is a better target than a 6.5% mortgage, every time.
The employer 401(k) match. A 50% or 100% match is an instant return no mortgage prepayment can touch. Contribute enough to get the full match before paying extra on the house.
When paying early wins
You are within ten years of retirement and want no housing payment when the paycheck stops. The saving is smaller late in the loan, but the cash-flow relief in retirement is the point.
Your rate is above 6% and you would otherwise keep the money in cash or a savings account paying less. Guaranteed 6.5% beats guaranteed 4.5%.
You are paying PMI. Reaching 20% equity cancels it, which adds $100 to $300 a month to the return on the extra payment for as long as PMI would have run.
You know yourself. If the alternative to paying the mortgage is not investing but spending, the mortgage is the better home for the money.
When investing wins
Your mortgage rate is under 5%, which covers most loans originated between 2012 and 2022. A 3% mortgage is cheap money; refinancing it away or paying it off early gives up something you cannot get back.
You have 20 or more years to retirement and are not yet maxing tax-advantaged accounts. Contributions to a 401(k) or IRA grow tax-deferred or tax-free and reduce this year’s tax bill, which a mortgage prepayment does not.
You may move within five years. The interest saved by prepaying is small over a short horizon, and the cash is more useful as the next down payment.
Timing within the loan
Prepayment saves the most early. The same $20,000 on the example loan saves $67,225 at year five and $29,301 at year fifteen, because the balance and the interest ahead of it are both smaller later. The amortization schedule shows how much interest remains at any point; once the remaining interest is small, the case for prepaying is mostly about having no payment, not about saving money.
That also means a prepayment near the end of a loan can be the wrong move if the cash has another use. A borrower with eight years left and a 6.5% rate saves about $10,300 on a $20,000 lump sum; the same money as a Roth IRA contribution over two years, growing tax-free for decades, may do more.
A note on inflation
A fixed mortgage payment gets cheaper in real terms every year, because wages and prices rise while the payment does not. That is an argument for keeping a low-rate loan and letting inflation erode it. It applies less to a 6.5% loan, where the rate already includes an inflation premium, but it is one more reason the 3% mortgages of 2021 are worth holding.
The split that most people end up with
Paying down the mortgage and investing are not exclusive. A common plan: get the full 401(k) match, hold the emergency fund, then split anything extra between the mortgage and a taxable or Roth account. It gives a guaranteed return on part of the money, market exposure on the rest, and keeps some of it reachable. The monthly extra route works well for this: $200 a month to principal, from year five on the example loan, cuts five years and saves $66,944, and the rest goes to investing.
Running the numbers on your loan
Open the extra payment calculator with your balance, rate and months left, and enter the lump sum you are considering. The interest saved under “shorten the term” is your guaranteed return. Compare it with the same amount in the monthly investment calculator at a return you believe, after tax. If the mortgage wins or it is close, pay the loan. If the investment wins by a wide margin and you will actually invest, invest. The loan payment calculator shows what a recast payment would be if cash flow is part of the decision. All the tools are on the homepage.
FAQs
Is there a penalty for paying off a mortgage early?
Rarely. Prepayment penalties on home loans have been restricted since 2014 and most conventional, FHA and VA loans have none. Check page 1 of your closing disclosure; if a penalty applies it is listed there with its amount and duration. Some loans allow up to 20% of the balance a year penalty-free.
Should I pay off the mortgage before retiring?
Many planners say yes if you can do it without draining retirement accounts, because a paid-off house lowers the income you need to draw and protects you from sequence-of-returns risk early in retirement. Taking a large taxable withdrawal from a 401(k) to pay it off is usually worse than keeping the loan.
Does paying extra lower my credit score?
No. A lower mortgage balance has no negative effect, and paying it off closes an installment account in good standing, which may lower the score by a few points for a short time because the credit mix changes. It is not a reason to keep the loan.
What about paying extra on a 3% mortgage?
The math says invest: savings accounts have paid more than 3% in recent years, so even cash beats the loan. People still do it for the certainty of owning the home outright, which is a valid choice as long as the emergency fund and retirement contributions are in place first.
Is a lump sum better than monthly extra payments?
Per dollar, yes, because the lump sum removes principal sooner. But $200 a month from year five on the example loan saves nearly the same interest as a $20,000 lump sum, and most people can do the monthly version. Do whichever one you will keep up.
Should I refinance instead of paying extra?
If your rate is well above current rates, refinancing may save more than any extra payment, and you can do both. The refinance calculator shows the saving after closing costs; if the break-even is within a few years and you plan to stay, refinance first and then pay extra on the cheaper loan.



