Selling a property in Spain owned by a company
If your Spanish property is owned by a company, there are two ways to sell it. The company can sell the property itself, like any other seller, or you can sell the shares in the company so the buyer takes over the company with the property inside it. Spain taxes both routes, and a share sale doesn't always avoid the taxes of a property sale. Companies resident in tax havens also pay a yearly levy of 3% of the cadastral value.
This guide explains each route and its taxes as the law stands in November 2026. It is general information: company sales turn on the details of the company, its shareholders and where each is resident, so take advice from a Spanish tax adviser, and from an adviser in your own country, before you choose a route.
Who is the seller?
The answer shapes everything else.
| The owner | Common examples | Spanish tax on its gain |
|---|---|---|
| A Spanish company | A sociedad limitada (SL) set up to buy or let the property | Corporate tax, in the company's yearly return |
| A non-resident company with no permanent establishment in Spain | A UK limited company, or a company in another country, holding the property directly | Non-resident income tax, on each sale |
| A company in a country Spain treats as a tax haven | A company formed in an offshore territory | Non-resident income tax on the gain, plus the yearly special levy |
Whichever applies, the company signs through someone with authority to act for it. The notary will want to see the company's documents and that authority. Foreign company papers usually need the Hague apostille and an official translation, so gather them early.
Route 1: the company sells the property
This is an ordinary sale: a deposit contract, then the deed of sale signed before a notary. The buyer gets the property and nothing else. It is the route most buyers expect, and the one a buyer with a mortgage will normally need. See how to sell a property in Spain for the steps.
A Spanish SL selling
- Corporate tax. The gain goes into the company's corporate tax. The corporate tax law sets a general rate of 25% as of November 2026. Smaller companies can pay reduced rates, but the law says those don't apply to a company that counts as an entidad patrimonial, broadly one whose business is mainly holding assets such as property.
- No 3% retention. The retention applies only to sellers not resident in Spain, and a Spanish SL is resident.
- Getting the money out. The money then sits in the company. Paying it to the shareholders, as dividends or by winding the company up, has its own tax, which your adviser should include in the sums.
A non-resident company selling
- Non-resident income tax. Under the non-resident tax law, a gain on transferring property in Spain made by a non-resident without a permanent establishment is taxed at 19% as of November 2026. The law applies this to companies as well as individuals.
- The 3% retention. The buyer must hold back 3% of the agreed price and pay it to the tax office on account of the company's tax. If the buyer doesn't, the property itself answers for the lower of the 3% or the tax due. See the 3% retention for non-resident sellers.
- Tax treaties. The treaty between Spain and the company's country of residence can affect the outcome.
Plusvalía for any company seller
The town hall's plusvalía is charged on the seller in a sale. The rule that makes the buyer pay in the seller's place applies only where the seller is an individual not resident in Spain, so a company seller pays the plusvalía itself. See plusvalía municipal explained.
Route 2: selling the shares
Here the company keeps the property and the shareholders sell the company. The property doesn't change hands, so there is no deed of sale of the property and the Land Registry entry stays the same. The town hall's plusvalía is charged when land changes hands, so it doesn't arise on a share sale.
It sounds simpler. In practice it brings its own taxes and a much more careful buyer.
Spanish tax on the shareholders' gain
The non-resident tax law treats a gain on shares in a company whose assets consist mainly, directly or indirectly, of Spanish property as Spanish income, wherever the company is. The usual exemptions for share sales by residents of other EU countries don't apply to shares in that kind of company. Whether Spain can tax your gain also depends on the treaty with your country, so take advice.
Transfer tax can still apply
Article 338 of Spain's securities law exempts share sales from transfer tax and IVA. But where the shares are not traded on a market, the exemption is lost if the sale is a way of avoiding the tax on the property. The law presumes that aim, unless shown otherwise, in cases including:
- A buyer taking control of a company whose assets are at least 50% property in Spain not used in a business.
- A buyer taking control of a company that controls another company like that.
- Selling shares received in return for property put into a company, within three years, where the property wasn't used in a business.
Control here means more than 50% of the share capital, directly or indirectly. In those cases the share sale is taxed as a transfer of the property. A holiday home held in a company is likely to meet the first test unless it is used in a business.
What the buyer takes on
The buyer of shares takes over the company with everything in it: its tax history, its debts, its accounts and any claims against it. Buyers' lawyers will want to check all of that, and some buyers will only buy the property itself. A share sale tends to suit a buyer who understands companies and is advised to buy that way.
The special levy on companies in tax havens
Articles 40 to 45 of the non-resident tax law set a special levy (gravamen especial) on companies resident in a country or territory that Spain treats as a tax haven that own Spanish property or certain rights over it.
| Point | The rule, as of November 2026 |
|---|---|
| Base | The cadastral value of the property, shared in proportion if the company owns only part |
| Rate | 3% a year |
| When it falls due | 31 December each year |
| When it is paid | Declared and paid in January of the following year |
| Exemptions | Foreign states and public bodies, companies that run a continuous business in Spain beyond holding or letting the property, and companies listed on a recognised stock market |
| On a sale | The property sold remains liable for unpaid levy |
That last point matters when you sell. A buyer's lawyer will ask for proof that the levy has been paid for past years, and may ask for money to be held back if it hasn't.
Comparing the two routes
| Company sells the property | Shareholders sell the shares | |
|---|---|---|
| Who can buy | Any buyer, including one with a mortgage | Usually a buyer advised to buy a company |
| Plusvalía | Paid by the company | Not charged, because the land doesn't change hands |
| 3% retention | Yes, if the company is non-resident | The property retention doesn't apply; ask about tax on the share gain |
| Transfer tax for the buyer | Yes, as on any resale | Can apply where the buyer takes control |
| What the buyer takes on | The property only | The company and its whole history |
Selling a company-owned property
Before you market it, have your adviser confirm the route, check the company's filings and the special levy if it applies, and gather the company documents and powers to sign.
| Route | Price | What to expect |
|---|---|---|
| Estate agent | Usually the highest, on the open market | Works best when the company sells the property itself |
| Cash buyer | Usually below the asking prices on the property portals | No mortgage approval or bank valuation to wait for |
When an agent is likely to get you more: the company's paperwork is in order, the property is in good condition and you have time to wait for an open-market buyer.
When a cash sale can make sense: you want to close the company down, the levy or the running costs are mounting, or the company's paperwork needs explaining. You trade some of the price for fewer conditions.
Your House Bought introduces owners across Spain to its panel of vetted cash buyers, who show proof of funds first. There is one fixed fee: €299 to list the property, confirmed in writing first. You can still use an estate agent at the same time. Every offer is passed to you in writing, and whether to accept is your decision alone. For the taxes on any sale, see taxes when selling property in Spain.
Questions people ask
Should I sell the property or the shares of the company that owns it?
It depends on the company, where it and you are resident, and the buyer. Selling the property is what most buyers understand and can finance. Selling the shares keeps the property in the company, but the buyer takes on the company's whole history, and Spanish law can still tax the share sale like a property sale where the buyer takes control. A tax adviser should compare both for your case.
Does the buyer withhold 3% when a company sells a Spanish property?
Only if the company selling is not resident in Spain and has no permanent establishment there. The non-resident tax law then requires the buyer to hold back 3% of the agreed price and pay it to the tax office on account of the company's tax. A Spanish SL is resident in Spain, so no 3% is withheld when it sells; its gain goes into its corporate tax return.
What is the special tax on property owned by non-resident companies?
It is a yearly levy, the gravamen especial, on companies resident in a country or territory Spain treats as a tax haven that own Spanish property. The rate is 3% of the cadastral value. It falls due on 31 December and is declared and paid in January. There are exemptions, for example for companies listed on a stock market. A property sold remains liable for any unpaid levy.
Is a share sale free of Spanish transfer tax?
Not always. The securities law exempts share sales from transfer tax and IVA, but presumes an attempt to avoid tax where a buyer takes control of a company whose assets are at least half Spanish property not used in a business. That share sale is then taxed as a transfer of the property. The buyer normally pays transfer tax, so expect buyers to check this closely.
Sources
- Texto refundido de la Ley del Impuesto sobre la Renta de no Residentes, artículos 13, 14, 25 y 40 a 45 (Boletín Oficial del Estado)
- Ley 27/2014 del Impuesto sobre Sociedades, artículo 29 (Boletín Oficial del Estado)
- Ley 6/2023 de los Mercados de Valores, artículo 338 (Boletín Oficial del Estado)
- Texto refundido de la Ley Reguladora de las Haciendas Locales, artículos 104 y 106 (Boletín Oficial del Estado)
- Ganancias patrimoniales derivadas de la venta de inmuebles, Manual de tributación de no residentes (Agencia Tributaria)
Related guides
Taxes when selling property in Spain: what sellers pay and when
A seller in Spain meets two main taxes: tax on the gain and the town hall's plusvalía municipal. Non-residents pay 19% on the gain whichever country they live in, and the buyer holds back 3% of the price towards it. Residents pay 19% to 30% on the savings scale (2025 and 2026 rates). There are reliefs for main homes, and each tax has its own deadline.
Costs and moneyThe 3% retention when a non-resident sells property in Spain
When a non-resident sells property in Spain, the buyer must hold back 3% of the agreed price and pay it to the Agencia Tributaria on Modelo 211 within one month. It is a payment on account of the seller's 19% tax on the gain. The seller files Modelo 210 within four months of the sale and either pays the difference or claims a refund of the excess.
Costs and moneyPlusvalía municipal explained: the town hall's tax when you sell in Spain
Plusvalía municipal is the town hall's tax on the rise in the value of urban land when a property in Spain is sold, given away or inherited. On a sale the seller pays. Since November 2021 it is worked out in two ways and the lower figure applies, and no tax is due if the land has not gained value. A sale must be declared within 30 working days.
General information about selling property in Spain, not legal, tax or financial advice. Rules and rates change and differ between regions, so check with a Spanish lawyer or tax adviser. Last checked 25 November 2026.