Ladrillómetro
ES
✎

Pay off your mortgage early or invest? A worked example for Spain

How much you save by shortening the term or lowering the payment, what the same money would grow to over 25 years, the return you need after tax, and how fees and Spanish income tax change the answer.

MORTGAGE · 10 MIN READ

Should you pay off your mortgage early or invest? Every euro you repay “earns” your mortgage rate, risk-free and tax-free; investing only pays off if you expect to earn more than that after fees and Spanish income tax. On a €105,000 mortgage over 25 years at 3%, repaying €20,000 at the start saves €18,405 of interest by shortening the term (77 fewer payments) and €8,452 by lowering the payment, and investing it only comes out ahead, after tax, above a 3.5–3.6% yearly return.

To see your payment before and after an overpayment, use the mortgage calculator. This guide compares the three options with the same money and the same monthly outlay, then covers what changes the answer: tax, fees, liquidity and variable rates.

Is it better to pay off the mortgage or invest?

It comes down to one comparison: your mortgage rate against the return you expect from the investment, after tax and with its risk. Repaying is like an investment that yields exactly what the bank charges, guaranteed: money you no longer owe stops generating interest. On a 3% fixed mortgage with monthly payments, that equals a 3.04% effective annual rate. And that saving is not taxed.

Investing may earn more, but it is not guaranteed, gains pay income tax and some years end in losses. So there is no universal answer to “invest or overpay the mortgage”. What you can do is put numbers on each option with clear assumptions, which is what this guide does.

How much do you save: shorter term or lower payment?

We use the mortgage on Ladrillómetro’s reference flat: €105,000 over 25 years at a fixed 3%, with a payment of €497.92 a month. Say you have €20,000 and repay it at the start, before the first payment. The debt drops to €85,000 and, depending on your contract, you either keep the payment (the term gets shorter) or keep the term (the payment falls):

OptionPaymentNumber of paymentsTotal interestInterest saved
No overpayment€497.92300 (25 years)€44,376—
Shorter term€497.92 (last one €432.85)223 (18 years 7 months)€25,971€18,405
Lower payment€403.08300 (25 years)€35,924€8,452

Shortening the term saves more than twice as much interest because you keep repaying principal at the original pace and the debt ends 77 months early. Lowering the payment saves less but frees €94.84 a month from day one: more room if your budget is tight, or if the mortgage is on a let flat and you want a better DSCR.

Note that you cannot always choose. Banco de España’s Portal del Cliente Bancario points out that some contracts already set which option applies.

How much would you have if you invest the €20,000?

Comparing “interest saved” with “what the investment earns” mixes different things. To keep it fair, in all three options you pay the same each month (€497.92 between mortgage and saving) and we look at how much money you have in year 25, when none of them owes anything:

  • Invest: the €20,000 is invested on day one and the mortgage stays the same.
  • Shorter term: once the loan is paid off (month 223), you invest €497.92 a month for the remaining 77 months.
  • Lower payment: you invest the €94.84 you save on the payment every month for 25 years.
Yearly return (assumption)Invest €20,000Repay, shorter termRepay, lower payment
0%€20,000€38,405€28,452
3%€37,402€41,514€39,323
5%€57,824€43,749€49,980

These figures are after income tax on the gains, paid when you sell in year 25. Before tax, the €20,000 invested grows to €41,876 at 3% and €67,727 at 5%; tax takes €4,474 and €9,903. At 5% a year, investing leaves about €14,000 more than shortening the term; at 3%, repaying wins; and if the investment earns nothing, repaying and shortening the term leaves you almost twice as much.

Pay off the mortgage or invest €20,000: interest saved €18,405 with a shorter term and €8,452 with a lower payment; money in year 25 after tax at a 0%, 3% and 5% return
Interest saved and money in year 25 (after tax) depending on whether you repay or invest €20,000. Scenarios, not forecasts. Original Ladrillómetro chart.

What return do you need for investing to win?

With these assumptions, the break-even is a 3.04% yearly return before tax: exactly the effective cost of the mortgage. After income tax it rises to 3.55% against a shorter term and 3.5% against a lower payment. That return has to be net of fund or broker fees.

The key difference is risk. The saving from repaying is certain; the 3% or 5% in the table are assumptions, not forecasts. An investment can earn less or lose money, especially over short periods, and selling at a bad moment makes the loss real. If a fall would force you to sell or keep you awake at night, the comparison is no longer just about percentages.

How does tax change the decision?

  • Investment gains are taxed. They go into the savings base of Spanish income tax (IRPF): 19% up to €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above (articles 66 and 76 of the IRPF Act, adding the state and regional bands). The interest you save by repaying pays nothing.
  • Main-home deduction, only if you bought before 2013. If you bought your main home before 1 January 2013 and were already claiming the deduction, you can still deduct 15% (7.5% state and 7.5% regional as a rule) of what you pay for it each year, principal and interest included, up to €9,040 (transitional regime and maximum base, AEAT). If you pay €6,000 a year, repaying another €3,040 gives you back €456; above €9,040 there is no extra deduction. If you bought from 2013 onwards, this deduction does not apply.
  • If the mortgage is on a let flat, its interest is a deductible rental expense (article 23.1 of the IRPF Act). If the rental shows a positive net return, with the general 50% reduction and an assumed 30% marginal rate, each euro of interest saves €0.15 of tax, so the 3% debt really costs 2.55%. Repaying it yields less and the bar for investing drops. More in deductible expenses on a rental property.

What does an early repayment cost: fees and liquidity?

For mortgages signed since 16 June 2019, article 23 of Law 5/2019 caps the early repayment fee, and it can never exceed the bank’s financial loss:

  • Fixed rate: up to 2% of the amount repaid in the first 10 years and 1.5% afterwards. On €20,000, at most €400 or €300. Even paying €400, a shorter term saves a net €18,005.
  • Variable rate: up to 0.25% in the first 3 years or 0.15% in the first 5 (only one of the two, as set in the contract): €50 or €30 on €20,000. After that, nothing.

More important than the fee is liquidity: money you repay cannot be taken back if you need it tomorrow. Before repaying or investing, keep a cushion for emergencies. And if your mortgage is variable, the “return” on repaying changes with Euribor at each reset: see fixed, variable or mixed mortgage for an investment flat.

Calculator: pay off the mortgage or invest

Ladrillómetro’s mortgage calculator gives you the payment for any amount. For the lower-payment case, enter the debt left after repaying: with a price of €105,000, a €20,000 down payment, 3% and 25 years, the calculator shows €403 (€403.08 to the cent); with a zero down payment, €498 (the original €497.92). The difference, €94.84 a month, is what you free up. To see how many payments a shorter term saves, Banco de España has an early repayment simulator (in Spanish) that works out the new term with the same payment.

Open this example in the calculator

In the calculator enter price 105,000, down payment 20,000, rate 3% and a 25-year term (payment €403); then a zero down payment (payment €498). The calculator rounds to whole euros. If your loan is already a few years old, use the outstanding balance as the price and the years left as the term.

With your own figures, the rule of thumb is this: if your mortgage rate is above what you expect to earn after tax, or you could not stand seeing the investment in the red, repay; if it is clearly below and you have a cushion and a long horizon, investing may pay off. For payments by loan size and term, read mortgage payment by loan and term.

The balance you would repay early is the one on each row of the mortgage amortisation table; you can also download the full schedule as a CSV there.

Run your own numbers

Enter your outstanding debt, the rate and the years left, and compare the payment before and after an overpayment. Free, no sign-up.

Open the mortgage calculator

For information only; this is not financial or tax advice.

FREQUENT QUESTIONS

Frequently asked questions

Is it better to shorten the term or lower the payment?

Shortening the term saves more interest: with €20,000 on €105,000 at 3% over 25 years, €18,405 against €8,452. Lowering the payment leaves you €94.84 more a month from the start. If your budget is tight, the payment; if not, the term.

Is there a fee for paying off a Spanish mortgage early?

There may be. For loans since 16/6/2019, Law 5/2019 caps it at 2% in the first 10 years and 1.5% afterwards on a fixed rate, and at 0.25% (3 years) or 0.15% (5 years) on a variable rate. On €20,000, at most €400 on a fixed loan.

What return do I need for investing to beat repaying?

In the example, more than 3.04% a year before tax, the effective cost of a 3% mortgage. After income tax on the gains, around 3.5–3.6%, net of fees. And with risk: the investment return is not guaranteed.

Is paying off the mortgage tax-deductible in Spain?

Only if you bought your main home before 2013 and were already claiming the deduction: 15% of what you pay each year, principal and interest included, up to €9,040. If you bought later, this deduction does not apply.

What if the mortgage is on a flat I let?

The interest is a deductible rental expense. With the 50% reduction and an assumed 30% marginal rate, the 3% debt really costs 2.55%, so repaying it yields less than on your own home.

What if my mortgage is variable?

Then what you gain by repaying changes with Euribor at each reset: more if it rises, less if it falls. The maximum fee is lower (0.25% or 0.15%), so you can repay bit by bit and decide each year with the rate at the time.

More guides