Villas in Ibiza | Houses and villas with pool for rent and sale on the island of Ibiza.

Ibiza Real Estate: How Capital Gains Tax Works and Why When You Sell Matters

The Effects of Capital Gains Tax and the Importance of Timing When Buying and Selling Real Estate in Ibiza

The difference between the purchase price and the sale price does not primarily determine the capital gains tax that must be paid when selling a property in Spain. Some of the things that affect this are how long you’ve owned the property, where you pay taxes, and how the deal is set up. Someone who sells after two years has a very different tax situation than someone who sells after ten years. Understanding these differences before putting a property up for sale is not easy; it could cost you tens of thousands of euros. There are two different taxes that apply when you sell real estate in Spain. Both are often called “plusvalía,” which causes a lot of confusion. Still, they are completely different taxes with different ways of figuring them out, different authorities in charge of them, and different rules that govern them.

Two Types of Capital Gains Tax: National and Municipal

The National Capital Gains Tax (IRNR for Non-Residents)

This is the tax that is charged on the real difference between the buying and selling prices. People who don’t live in Spain and own property there, like most foreigners who own property in Ibiza, have to pay IRNR (Impuesto sobre la Renta de No Residentes). People who live in the EU pay 19% of their income. The taxable base is the net capital gain, which is the selling price minus the purchase price, minus certain costs. The purchase price, notary and registration fees, taxes paid during the purchase, remodeling costs backed up by invoices, and costs related to the sale, such as agency commissions and notary fees, are all deductible. The length of time you own something does not affect this tax. The 19% rate applies no matter how long it takes to sell, whether it’s two years or twenty years. The market price at the time of sale, not the length of time you own something, sets the taxable base.

The Municipal Capital Gains Tax

The Municipal Plusvalía is a local tax that applies to the increase in value of urban land from the time it is bought until it is sold. The decision is based on the land’s cadastral value and the time between buying and selling it, not on the property’s market value. This part is directly affected by how long someone owns something. The calculation coefficients take into account ownership periods that range from less than a year to 20 years or more, and they go up over time. The coefficient is 0.14 for less than a year, but it goes up to 0.45 for 20 years or more.

How to Do Practical Calculations

Objective Approach

The taxable base is the cadastral value of the land times the coefficient for the number of years of ownership. The State sets this coefficient each year as the highest limit that each Municipality can use. After that, the municipal tax rate is added to this base. Each municipality sets its own rate, which is usually between 20% and 30%.

Real Method

Since 2021, taxpayers have been able to choose between the objective method and the real method, which is based on the actual difference between the purchase price and the selling price. You can choose the option that is better for you. In general, people who bought assets at high prices in the past few years and are now selling them in a stable market will often find that the process doesn’t work as well as they thought it would. People who bought years ago for a lot less money may benefit more from the objective approach. Before starting, it is wise to run simulations of both.

The 3% Withholding Tax at Source

People who don’t live in Spain must keep 3% of the sale price at the time of notarization and send it directly to the Spanish Tax Agency as a tax advance. If the real tax owed is more than the original amount, the seller must fix the problem by paying the difference. If the seller has paid too much, they must ask for a refund. It’s not an extra tax; the 3% withholding is a prepayment. If the tax due on the capital gain is less than the amount withheld, which can happen when the net gain is small, the seller can get back the extra money. You have to fill out Form 210 and send it in with the right proof in order to get your refund.

Selling After 2 Years vs. Selling After 10 Years: A Real-Life Example

Consider buying a villa in Ibiza in 2015 for 700,000 euros (including buying costs) with a cadastral land value of 80,000 euros.

Sale in 2017 — 2 Years of Ownership — for 800,000 Euros

National IRNR tax at 19%: the net capital gain is 100,000 euros, which means a tax bill of 19,000 euros. Municipal Capital Gains Tax: for two years of ownership, the taxable base is limited to the cadastral land valuation because of a low coefficient. The tax is about 3,000 to 4,000 euros, with a municipal rate of 25%. The indicative total is between 22,000 and 23,000 euros in capital gains taxes.

Sale in 2025 — 10 Years of Ownership — for 1,200,000 Euros

National IRNR tax at 19%: the net capital gain amounts to 500,000 euros, incurring a tax liability of 95,000 euros. The coefficient for the Municipal Capital Gains Tax goes up a lot after 10 years of ownership. Using the same cadastral land value of 80,000 euros and a municipal rate of 25%, the objective method says that the tax is about 4,000 to 5,000 euros. The indicative total is around 99,000 to 100,000 euros in capital gains taxes. The difference is not only in the absolute values, which show a much larger increase in the second case, but also in the framework. The national tax is based on how much capital gain you actually made. The Municipal Plusvalía goes up with the length of time you own the property, but at a much slower rate. For high-value homes like those in Ibiza, it makes up a small part of the total tax bill.

When the Municipal Capital Gains Tax Does Not Apply

If the property is sold for the same amount or less than what it was bought for, the Municipal Capital Gains Tax is not due. This rule, which was passed after a 2021 Constitutional Court decision, fixed the problem that required payment even when sales were made at a loss. Before making any transaction, it is wise to check if this condition applies.

Deductible Expenses: Something That Is Often Overlooked

Before figuring out the net capital gain that is subject to the IRNR, it is important to make sure that all deductible costs related to both the purchase and the sale are correctly recorded. These include ITP or VAT paid when buying, notary and registration fees when buying, real estate agent commission when selling, notary fees when selling, and costs for renovation or improvement work that are backed up by proper invoices. A renovation cost of 100,000 euros, along with all the necessary paperwork, lowers the taxable base by 100,000 euros, which means a saving of 19,000 euros in IRNR. Keeping detailed records of all your expenses from buying to selling is a free way to plan your taxes.

Deadlines for Declarations

You have three months after the transaction date to file Form 210 for capital gains from property transactions, with a one-month grace period after the transaction date. In practice, this means that you have one month after the sale, then three months to submit the declaration and regularise your position. The Municipal Plusvalía must be sent to the municipality where the property is located within 30 business days of signing the deed. These deadlines are very strict and require careful planning, especially for people who don’t live in Spain.

Things to Consider Before Selling

If you’re thinking about selling a property in Ibiza, you should discuss the following with your tax advisor first: simulate the net capital gain by subtracting all documentable expenses; calculate the IRNR at 19%; compute the Municipal Capital Gain using both methods and choose the better one; figure out whether the 3% withholding at signing will be more or less than the actual tax; and look into the tax implications in your home country regarding any relevant double taxation treaty. The timing of the transaction, in terms of the fiscal year and market conditions, can have a significant effect on the overall tax burden. Planning ahead is always more useful than trying to save money at the last minute. Please contact us if you are thinking about selling your property in Ibiza. We work with tax experts who specialise in international real estate transactions and can help you structure the sale in the most tax-efficient way possible.
Article updated as of April 2026. The fiscal data shown is indicative. Rates and coefficients are subject to annual updates. Always consult a qualified tax advisor before proceeding with any transaction.

Property Sale Tax Calculator


This tax varies depending on the property and municipality. We can calculate it precisely for you.

Sign up for our Newsletter

Selection of villas for rent

Lux

Minimalist

Fincas

Classic

Featured Villas

Real estate in Ibiza

Villas

Apartments

Land

Featured Villas

Contact Us


Contact Info

Безымянный-1_Монтажная область 1_Монтажная область 1_Монтажная область 1_Монтажная область 1_Монтажная область 1_Монтажная область 1_Монтажная область 1_Монтажная область 1_Монтажная область 1

This website uses cookies to ensure you get the best experience on our website.