Home and retirement
Mortgage Payoff Calculator
Should the mortgage be gone before the paycheck stops? See when extra payments clear the loan, the interest they save, and whether investing the money would have done better.
Should You Pay Off the Mortgage Before You Retire?
What Is the Short Answer?
Usually yes if the rate is above what your safe money earns, usually no if it is below. A 6% or 7% loan is worth retiring early: prepaying it is a guaranteed return at the loan rate. A 3% loan from 2020 or 2021 is cheaper than the Treasury bills or CDs you would sell to repay it, so keeping it and holding the cash usually leaves you richer.
The rate is not the whole question. Once the paycheck stops, the payment is funded by portfolio withdrawals, and every dollar that comes out of a traditional IRA or 401(k) is taxable. A smaller fixed bill means smaller withdrawals, lower taxable income, and less need to sell stocks in a bad year.
How Can You Pay It Off Before the Paycheck Stops?
1. Extra Monthly Payments While Working
Your last working years are usually your highest-earning ones. A fixed extra amount from salary costs nothing in withdrawal taxes and is easy to automate.
2. Lump Sums From Cash or Taxable Accounts
A maturing CD, a bonus, or proceeds from a downsized second home. Cash and taxable money carry little or no extra tax to spend; a large IRA withdrawal does.
3. Bi-Weekly Payments
Twenty-six half-payments a year equal 13 full payments. Set it up yourself; do not pay a lender for a bi-weekly program.
4. Recast After a Large Lump Sum
Many servicers will re-amortize the loan after a big principal payment for a small fee. The term stays the same but the required payment drops, which helps if you want a lower fixed bill rather than a zero one.
When Does Paying It Off Make Sense, and When Doesn't It?
Lean toward paying it off if: the rate is above what high-quality bonds or CDs pay today, you plan to stay in the house, you have ample liquid savings outside the house, or a fixed payment would force withdrawals from stocks in a down market.
Lean toward keeping it if: the rate is well below safe yields, paying it off would leave you with little cash, the only money available sits in a traditional IRA, or you expect to sell and move within a few years.
Avoid These Payoff Mistakes
- Paying off the loan with one large traditional IRA withdrawal, which can push you into a higher bracket and raise Medicare premiums two years later
- Not telling your servicer to apply extra payments to principal (some apply it to next month's payment instead)
- Emptying your cash reserve to own the house outright; home equity cannot pay a hospital bill next month
- Prepaying a 3% loan with money that earns more in Treasury bills
- Paying a fee for a lender's "bi-weekly program" you can set up yourself for free
Illustrative example: the people and figures below are hypothetical, not real clients. Numbers are calculated from the stated assumptions.
How the Hartleys Plan to Retire Without a Mortgage
A $180,000 Loan and Six Working Years Left
Paul Hartley is 60 and Diane is 58. They have $1.9 million saved, most of it in 401(k)s and IRAs, and plan to retire when Paul turns 66. In 2021 they moved closer to their grandchildren and took a new loan that still has $180,000 left at 5.5%. On schedule it runs until Paul is 75.
Their Starting Point
- • $180,000 remaining balance
- • 5.5% interest rate
- • 15 years remaining
- • Payment: $1,471/month (P&I)
- • Interest still ahead: about $84,700
Their Payoff Plan
- • $800/month extra to principal from Paul's salary
- • $40,000 from a maturing CD, applied now
- • New payoff: 6 years 1 month
- • About $59,800 in interest saved
- • Mortgage-free about when Paul retires at 66
Why They Chose to Pay It Off
1. The rate beats their safe money
Their bond funds and CDs yield less than 5.5% after tax. Prepaying earns 5.5% with no risk, which is better than the safe part of their portfolio.
2. Smaller withdrawals in retirement
Without the $17,650 a year payment, they need less from their IRAs each year. Less taxable income also keeps them further from the first Medicare IRMAA threshold.
3. Paid from salary and cash, not the IRA
Every payoff dollar comes from wages and a CD. They did not take a lump sum from a traditional IRA, which would have been fully taxable in one year.
What They Gave Up
Over 15 years, if the same $800 a month and $40,000 had been invested at 6% instead, the Hartleys would have ended about $9,100 ahead. At 5% they would have ended about $8,300 behind. The break-even is their 5.5% loan rate. They judged a known 5.5% worth more than a hoped-for 6%, and they kept $150,000 in cash and short-term Treasuries so the house would not be their only reserve.
Should You Pay Off Your Mortgage Before You Retire?
Compare the loan rate with what your safe money earns, then weigh the rest. If your mortgage charges more than your bond funds, CDs and Treasury bills pay, prepaying it is the best risk-free return you have. If it charges less, the money is worth more where it is, and keeping the loan is a reasonable choice as long as the payment fits comfortably in your retirement budget.
The comparison that matters in your late fifties and sixties is not the loan against the stock market. It is the loan against the conservative part of your portfolio, because that is the money you would actually use to pay it off. Few people sell equities to clear a mortgage. They use cash, a maturing CD, bonds, or the last few years of salary. A 6.5% mortgage beats a 4% bond fund comfortably. A 3% mortgage loses to the same fund.
Then come the questions the calculator cannot answer for you. Will you stay in the house for the next ten years, or sell and move closer to children? Would you sleep better with no payment at all? Would paying it off leave you with too little cash? Most of the decision rests on those answers, and the numbers below help you see what each one costs.
Why Does a Mortgage Cost More Once the Paycheck Stops?
Because it is paid from withdrawals, and withdrawals from pre-tax accounts are taxed before you can spend them. While you work, the payment comes out of salary. In retirement, a $1,471 monthly payment ($17,652 a year) funded from a traditional IRA takes a gross withdrawal of about $22,630 if the last dollars are taxed at 22% federally, before any state tax. Remove the payment and you remove that withdrawal.
A smaller withdrawal has effects beyond the payment itself. It lowers your taxable income, which can keep more of your Social Security benefit untaxed, keep you in a lower bracket when required minimum distributions begin (at 73, or 75 if born in 1960 or later), and leave more room for Roth conversions in the low-income years before RMDs. Our guide to Roth conversions before RMDs explains why that room is valuable.
It also changes how exposed you are to a bad market early in retirement. A fixed payment has to be met every month whatever stocks are doing. If the first two years of retirement bring a 25% decline, a household with a mortgage has to sell more shares at low prices to keep up. A household without one can trim travel and wait. That is sequence-of-returns risk, and a lower fixed bill is one of the simplest defenses against it. The Retirement Withdrawal Calculator shows how much a lower spending need improves the odds.
Does the Mortgage Interest Deduction Still Matter?
For most retirees, no. The deduction only helps if your itemized deductions exceed the standard deduction, and the standard deduction is large and larger still after 65. In 2026, a married couple filing jointly with both spouses 65 or older has a standard deduction of $35,500: $32,200 plus $1,650 for each spouse (IRS, 2026). Through 2028 there is also a separate senior deduction of up to $6,000 per person, which you get whether or not you itemize and which phases out at higher incomes.
A $180,000 loan at 5.5% generates roughly $9,700 of interest in its first year, and less every year after. Unless your state income tax, property tax and charitable gifts already bring you close to the standard deduction, that interest does not reduce your tax at all. Leave the calculator's "I itemize and deduct mortgage interest" box unchecked unless you know you itemize. When it is unchecked, the break-even return is simply your loan rate.
Where Should the Payoff Money Come From?
From the least-taxed source you can spare, in roughly this order:
- Salary in your last working years. Extra monthly payments from wages carry no withdrawal tax and are the easiest way to aim for a payoff date that matches your retirement date.
- Cash above your reserve. Savings, money market funds or a maturing CD beyond the one to two years of spending you keep on hand.
- Taxable brokerage accounts. Only the gain is taxed, often at 0% or 15% long-term capital gains rates. Sell high-basis lots first.
- Traditional IRA or 401(k), spread over years. Every dollar is ordinary income. If you use these accounts, take the money over several tax years so it fills your current bracket rather than jumping to the next one.
- Roth accounts last. Roth money grows tax-free and has no required distributions for the owner, which makes it the most valuable money you have to leave in place.
Watch the Medicare effect of a large withdrawal. Part B and Part D premiums include an income-related surcharge (IRMAA) based on the tax return from two years earlier (SSA). For 2026 the surcharges begin above $109,000 of income for a single filer and $218,000 for a joint return, and the standard Part B premium is $202.90 a month (CMS, 2026). A one-time $150,000 IRA withdrawal at 63 can raise both spouses' premiums at 65. Our Medicare and IRMAA guide and withdrawal order guide cover the rules in detail.
What If Your Mortgage Rate Is 3%?
Keep it, and keep the cash that would have paid it off somewhere safe that earns more. Many homeowners refinanced in 2020 and 2021 at rates near 3%. Take $150,000 at 3% with 14 years left, a payment of about $1,095 a month. Sending $800 a month extra retires it in 7 years 5 months and saves about $16,500 of interest. But investing the same $800 at 5% ends 14 years about $15,500 ahead, and at 4% about $7,200 ahead. When safe yields exceed the loan rate, prepaying gives up return for no added safety.
There is a middle path if the payment bothers you. Set aside the payoff amount in Treasury bills or a CD ladder, earmarked for the mortgage. You keep the spread between the two rates, you can write a check to clear the loan whenever you like, and the money stays available for a medical bill or a new roof. Many retirees find that knowing they could pay it off gives them most of the comfort of having done it.
What About Liquidity, Downsizing and Reverse Mortgages?
Home equity is real wealth, but it is not spendable money. You cannot pay a surgeon or a contractor with it without selling the house or borrowing against it. That is the strongest argument against pouring every spare dollar into a mortgage: a paid-off house with thin savings is less secure than a small mortgage with a deep cash reserve. Before prepaying, size your reserve with the Emergency Fund Calculator.
If you expect to sell within a few years, the case for prepaying weakens further. The sale will retire the loan anyway, and up to $250,000 of gain ($500,000 for a married couple filing jointly) is excluded from tax if you owned and lived in the home for at least two of the five years before the sale (IRS Topic 701). Our downsizing guide works through the numbers.
If you plan to stay and may one day use the house for income, note that a federally insured reverse mortgage (HECM) requires you to be 62 or older and to pay off any existing mortgage when the reverse mortgage closes, either with your own money or with the loan proceeds, after counseling from a HUD-approved agency (CFPB). A small remaining balance leaves more of the reverse mortgage available to you.
How Do You Use This Calculator for the Decision?
- Enter the loan as it stands today. Use the principal balance from your latest statement, the rate, and the years left. The estimated payment should match the principal and interest on your statement.
- Set a payoff date. Adjust the extra monthly payment and any lump sum until the accelerated plan ends by your retirement date.
- Use a realistic return. In the comparison, enter what your bond and cash holdings earn, not what stocks have earned historically. The break-even figure tells you the return your investments must beat.
- Check the sensitivity table. If paying off wins at 4% and 5% and loses only at 7% and above, the payoff is the safer choice for money you would otherwise hold in bonds.
- Decide what you will pay it from. Salary and cash first, IRA money spread over years, and a cash reserve kept intact.
The figures cover principal and interest only; property tax, insurance and any HOA dues continue after the loan is gone. For a worked case with a mortgage in the picture, see Can We Retire at 60?
Frequently Asked Questions
Should I pay off my mortgage before I retire?
Should I use my IRA or 401(k) to pay off my mortgage?
Is it better to pay off the mortgage or invest in retirement?
Does paying off my mortgage affect my Medicare premiums?
Do extra payments lower my monthly mortgage payment?
How do I make sure extra payments go to principal?
Can I get a reverse mortgage if I still owe on my home?
Plan the House Into Your Retirement
Retirement Withdrawal Calculator
See how a lower spending need changes what your portfolio must supply
Use calculatorMortgage Refinance Calculator
Compare a refinance or recast with paying the loan down
Use calculatorEmergency Fund Calculator
Size the cash reserve to keep before prepaying anything
Use calculator