Selling a flat drops into your account, overnight, what is often the largest sum you have ever seen in your own name. That is where the most common mistake begins: treating the whole balance as available money. Part of it already belongs to the bank, part to the town hall and part to the tax office, which will not ask for it until next year's tax return, by which time you may have invested it. This guide takes things in the right order: how much is really yours, whether reinvesting in another home will spare you the tax, and how to split the rest according to when you will need it.
First: how much of the money is actually yours
The sale price is the starting point, not the result. Take a flat bought in 2010 for €180,000 (plus €15,000 in transfer tax, notary and land registry fees) and sold in 2026 for €320,000, with €60,000 of mortgage outstanding. This is how the money breaks down:
| Item | Amount | When it leaves your account |
|---|---|---|
| Sale price | €320,000 | Received at the notary |
| Repaying the outstanding mortgage | −€60,000 | At the same signing |
| Agency fee, certificates and registry cancellation | −€10,000 | At signing or within weeks |
| Municipal capital-gains levy (plusvalía, indicative) | −€2,000 | 30 working days after the sale |
| Income tax on the gain (€113,000) | −€24,870 | In the following year's return (April–June) |
| Net amount you can invest | ≈€223,000 |
The taxable gain is the sale price minus selling costs (including the municipal levy) minus what the flat cost you with its purchase costs and improvements: 320,000 − 12,000 − 195,000 = €113,000. If the flat was let, the depreciation you deducted is also subtracted from the purchase cost, so the gain goes up. Invoiced refurbishments (kitchen, bathroom, wiring) add to the cost and reduce the gain, so dig those invoices out before you file.
Income tax on the sale: how much and when
In Spain, the gain on selling a property is taxed in the savings base of income tax, alongside interest, dividends and the profit from a co-investment deal. In 2026 the bands are:
| Gain band | Rate | Cumulative tax at top of band |
|---|---|---|
| Up to €6,000 | 19% | €1,140 |
| €6,000 – €50,000 | 21% | €10,380 |
| €50,000 – €200,000 | 23% | €44,880 |
| €200,000 – €300,000 | 27% | €71,880 |
| Over €300,000 | 30% | — |
Two details can change the figure considerably. If you bought before 1995, the abatement coefficients reduce the part of the gain accrued up to January 2006 (subject to a cumulative cap of €400,000 in sale proceeds). And if you sell for less than the flat cost you, the loss can be offset against other savings-base gains for four years. The wider framework is in our property investment tax guide.
Was it your main home? The two exemptions to know
If the flat was your main residence (broadly, you lived in it for at least three continuous years), what you do with the money has a direct tax consequence:
- Reinvesting in a new main home: if you put the proceeds into buying your new main residence within two years before or after the sale, the gain is exempt. Reinvest only part and the exemption is proportional. Note that the amount to reinvest is the sale price minus the mortgage you repay, and the intention to reinvest must be stated in the tax return for the year of the sale.
- Sellers aged 65 or over: the sale of a main home is exempt with no need to reinvest. From that age, the gain on any property (including one that is not your home) is also exempt if you put up to €240,000 into an insured life annuity within six months.
- What exempts nothing: reinvesting in a second flat, in funds or in any other investment. That gain is always taxed, and the municipal levy is due in every case unless the land has not gained value.
It is common to sell a main home to buy a cheaper one. The difference you do not reinvest is then taxed proportionally, and that is precisely the part left over to invest. Run the numbers before signing for the new home: sometimes stretching the budget slightly saves more tax than you would expect.
Split the net amount by horizon
With the tax set aside and the housing decision made, the useful question is when you will need each euro. For someone who already has a home and a stable income, the €223,000 in our example could be organised like this:
| Horizon | Purpose | Where it fits | Indicative return | Example |
|---|---|---|---|---|
| Until June next year | Paying the income tax on the sale | High-interest account, 3–9 month T-bills | 2–2.5% | €25,000 |
| 0–2 years | Buffer and planned spending (move, furniture, car) | Deposits, T-bills, money-market funds | 2–2.5% | €30,000 |
| 2–5 years | Returns over a known term | Bonds, 12–24 month property deals | 3–4% (bonds); more in property, with more risk | €75,000 |
| 5+ years | Growing your wealth | Global index funds | Variable; 20–30% drawdowns possible | €93,000 |
This is not a recommendation: it depends on your age, your income and how much volatility you can live with without selling at the worst moment. Bear in mind the deposit guarantee limit of €100,000 per holder per bank: at these amounts, parked cash should be spread across banks or held in T-bills. To plan the full sum, see our guides on where to invest €100,000 and where to invest €200,000.
Another buy-to-let, or staying in property without buying one?
Someone who has just sold a flat often thinks of buying another to let. It is a legitimate choice, but it deserves a comparison with the numbers in front of you rather than out of habit:
| Option | Indicative return | Liquidity | Work and risks |
|---|---|---|---|
| Buying another flat to let | 3–4% net a year after costs and tax, plus any appreciation | Very low: selling takes months | Tenants, arrears, voids, repairs; 8–10% purchase costs; everything in one asset |
| REIT (SOCIMI) or property fund | 3–5% dividend plus share price | High (listed or redeemable) | No management; price moves with the market |
| Co-investing in buy, refurbish and sell deals | Estimated return per deal, not guaranteed | Low: estimated 12–24 month term | No management; construction, timing and sale-price risk; property collateral |
Co-investment is the alternative for those who want to stay in bricks and mortar on a 2–5 year horizon without dealing with tenants again. In our case we source the deal, buy it, refurbish it and sell it, with Invernova's own capital in every deal alongside the co-investors', from €25,000 per stake. The net proceeds of a sale can cover two or three different deals, which is better than concentrating them in one. Before going in, check each deal's LTV (what LTV is) and read the full set of alternatives in investing in property without buying a flat.
Our record, deal by deal in the track record: 49 settled deals, 0 failed, an average achieved return of 18.6% and €10.7M returned to co-investors. The less favourable side too: 11 of 49 closed below their estimated return and the weakest delivered 8%. That is why only money you will not need during the deal's term belongs here, and never the money set aside for the tax office.
If you have already sold and want to see how a co-investment deal works from start to finish, start here.How it worksFive expensive mistakes with sale proceeds
- 01Investing the tax money. If you have to unwind an investment in June to pay the income tax, you sell when you must, not when it suits you.
- 02Forgetting the refurbishment invoices. €20,000 of unrecorded works can cost you over €4,000 in extra tax.
- 03Leaving it all in a current account. Anything above €100,000 at a single bank is outside the deposit guarantee, and at 0% it loses purchasing power every month.
- 04Buying another flat out of inertia, without comparing its net yield with other options of similar risk.
- 05Signing for the new home without working out the exemption. Reinvesting €10,000 more or less can shift the tax bill considerably.
Frequently asked questions
How much tax do I pay when I sell a flat in Spain?
You are taxed on the gain, not the price: sale price minus selling costs minus what the flat cost you with its purchase costs and improvements. That gain goes into the savings base of income tax, at 19% to 30% by band, and is paid in the following year's return. The municipal capital-gains levy is also due within 30 working days if the land has gained value.
How long do I have to reinvest in another home to avoid income tax?
Two years before or after the sale, provided both the flat you sold and the new one are your main residence. If you reinvest only part of the proceeds, the exemption is proportional. It must be stated in the tax return for the year of the sale, so confirm it with an adviser before you file.
Where should I keep the sale proceeds while I decide?
In high-interest accounts or deposits spread so as not to exceed €100,000 per holder per bank, or in short-dated Treasury bills, which have no such limit. The prudent approach is to take a few months without rushing and to set aside the income tax from day one, since it is paid in the following year's return.
Can I put the money from a property sale into property co-investment?
Yes, with the part you will not need during the deal's estimated term, usually 12 to 24 months, and after setting aside the income tax and an emergency buffer. At Invernova the minimum stake is €25,000 and we co-invest our own capital in every deal. Your capital is at risk, the investment is illiquid and the return is estimated, not guaranteed.