top of page

Flipping in Spain: Tax Optimization

Writer: vissumlex
vissumlex
Aug 12
11 min read
Taxes on real estate flipping in Spain

An investment strategy based on acquiring discounted properties, renovating them, and quickly reselling requires strict tax planning. Legal practice shows that real estate flipping in Spain involves high fiscal risks. The main problem lies in cascading taxation. An investor pays taxes both at the asset acquisition stage and at the profit realization stage. Without preliminary deal structuring, project profitability can drop to critical levels.


Spanish tax legislation in 2026 strictly regulates expense accounting procedures. The Tax Agency (Agencia Estatal de Administración Tributaria, hereafter AEAT) uses automated algorithms to detect fictitious construction expenses. This article presents a deep legal analysis of fiscal burden optimization mechanisms. We will break down the differentiation of consequences for individuals and Spanish limited liability companies (Sociedad Limitada, S.L.) when implementing the "buy-renovate-sell" strategy.


Tax burden when buying a property for renovation


Acquiring resale housing for subsequent renovation is subject to property transfer tax. The rate depends on the autonomous community and the buyer's status.


Any transaction in the Spanish secondary real estate market initiates a tax obligation. The basic fiscal instrument here is ITP (Impuesto sobre Transmisiones Patrimoniales). The buyer pays this tax within 30 working days from signing the public deed (Escritura de compraventa). The legislative basis for ITP is regulated by Royal Legislative Decree 1/1993 (Real Decreto Legislativo 1/1993). It is crucial to understand that since 2022, the tax base is not the contract price, but the cadastral reference value (Valor de Referencia de Catastro), if it exceeds the transaction price.


If an investor buys a property with a cadastral reference value of 300,000 euros for 250,000 euros, the tax is calculated on the higher amount. This is a critical factor often ignored by novice market participants. Challenging the Valor de Referencia is possible but requires hiring an independent appraiser (Tasador) and filing an appeal with the regional tax office. The procedure takes 6 to 12 months. In the context of the Flipping inmobiliario strategy, freezing capital during litigation often negates the potential benefit of reducing the tax base.


Paying ITP: rates by region


The basic property transfer tax rate varies from 6% in Madrid to 10% in Catalonia and Valencia. Correct tax base calculation eliminates fines from Hacienda.


Spain features a highly decentralized fiscal system. Autonomous communities have the right to set their own ITP rates. In 2026, the country's tax map looks as follows. Madrid offers the most attractive conditions with a 6% rate. Andalusia applies a fixed 7% rate. Catalonia, Valencia, and Galicia maintain maximum rates at 10% (in Catalonia, the rate rises to 11% for properties over 1,000,000 euros). The Balearic Islands use a progressive scale from 8% to 13%.


The person acquiring the asset is classified as a Sujeto pasivo (taxpayer). The obligation to liquidate the tax lies exclusively with them. For investors considering real estate investments in Barcelona, the 10% rate becomes a serious barrier. When buying an apartment for renovation for 400,000 euros, the investor must immediately pay 40,000 euros to the Catalan budget. These funds do not capitalize and do not generate income; they only increase the asset's acquisition cost. Failure to pay the tax within the 30-day period entails late payment interest (intereses de demora) and penalties (sanciones). These can reach 50-150% of the shortfall depending on the violation's severity (leve, grave, muy grave).


Exemptions for reseller companies (S.L.)


Legal entities whose main activity is buying and selling real estate qualify for a reduced tax rate. In some regions, the discount reaches 70% provided the property is resold within 3-5 years.


A mechanism to reduce fiscal pressure exists for professional market participants. If real estate flipping in Spain is carried out through a Spanish legal entity (S.L.), the company can apply a special exemption (Bonificación). The main condition is that the company must have the appropriate economic activity code (CNAE 6810 - Compraventa de bienes inmobiliarios por cuenta propia).


In Catalonia, for example, the ITP rate for such companies drops from 10% to 3%. However, the law sets a strict deadline: the asset must be resold within 5 years (3 years in some regions). If the company fails to sell the asset within the set timeframe, it must file a complementary declaration (Declaración complementaria). It must then pay the remaining 7% plus late payment interest. Madrid offers a similar exemption, reducing the rate from 6% to 2%. Applying this exemption requires strict compliance. Tax authorities thoroughly check whether the company actually engages in resale. They verify that the exemption is not used fictitiously to minimize costs when buying property for the founders' personal use.


Taxation of resale profit


The financial result from the asset's sale forms the tax base. The difference between the purchase and sale price is subject to income or corporate tax.


The second stage of fiscal burden arises at the moment of asset disposal. Here, the investor faces taxation on the generated profit. In Spanish law, this concept is defined as Ganancia patrimonial (capital gain). The capital gain calculation is based on a simple formula: Transfer value (Valor de transmisión) minus Acquisition value (Valor de adquisición). However, the devil is in the details of forming these two figures.


The acquisition value is not just the price paid to the seller. It legally includes all expenses incurred during the purchase. These include notary fees, property registry fees, legal services, agency commissions, and the paid ITP. The transfer value is the sale price minus expenses related to the sale (e.g., realtor commission and municipal land value tax). This is exactly where double taxation arises in an economic sense. The investor pays tax upon purchase, and then pays tax on profit, which could have been higher without the initial fiscal costs.


IRPF for individuals (Ganancia patrimonial)


Individuals pay capital gains tax on a progressive scale from 19% to 28% for residents. Non-residents are taxed at a fixed rate of 19% (EU) or 24% (other countries).


If the investor acts as an individual, taxation is regulated by the income tax law. IRPF (Impuesto sobre la Renta de las Personas Físicas) for Spanish tax residents is calculated on a progressive savings base scale (Base imponible del ahorro). In 2026, the scale looks like this: the first 6,000 euros of profit are taxed at 19%; from 6,000 to 50,000 euros at 21%; from 50,000 to 200,000 euros at 23%; from 200,000 to 300,000 euros at 27%; over 300,000 euros at 28%.


For non-residents, the non-resident income tax (IRNR) applies. Citizens of the European Union, Iceland, Norway, and Liechtenstein pay a fixed 19%. Investors from third countries (including the USA, UK, CIS countries) pay 24%. The most crucial aspect for individuals is the correct accounting of renovation costs. The standard resale tax on apartments can be significantly reduced if you prove the works qualify as capital renovation. Current maintenance expenses (Gastos de conservación y reparación), such as painting walls or replacing sockets, do not increase the acquisition value. Only expansion or improvement costs (Ampliación o mejora) that extend the property's lifespan increase it. Proper documentation ensures the resale tax on apartments is minimized legally.


Corporate tax for legal entities


The profit of Spanish companies (S.L.) from asset sales is subject to corporate tax at a 25% rate. This regime allows deducting a wider range of operational expenses.


Using a legal entity changes the fiscal paradigm. Impuesto sobre Sociedades (IS) is levied at a fixed rate of 25% (for newly created companies in their first two years of profit, the rate can be 15%). Unlike individuals, a company calculates profit based on accounting records. This means you can deduct not only direct purchase and capital renovation costs but also operational expenses. These include employee salaries, office rent, vehicle lease payments, corporate loan interest, and marketing expenses.


However, real estate flipping in Spain through an S.L. has its pitfalls. The profit, cleared of corporate tax, remains in the company's accounts. For the investor (individual) to use this money, the company must pay dividends. Dividend distribution initiates a new round of taxation: withholding IRPF (or IRNR for non-residents) at the source of payment. Thus, the corporate structure is only beneficial if the investor plans to reinvest the profit into new properties without withdrawing capital to personal accounts. Otherwise, the total tax burden (IS + dividend tax) may exceed the direct IRPF rate for an individual.


VissumLex Practice: Tax Engineering and ROI Calculation


A deep audit of construction estimates allows legally reclassifying cosmetic repairs into capital ones. This reduces the tax base upon resale.


In the legal practice of VissumLex, we regularly encounter cases where incorrect qualification of construction works leads to colossal financial losses for clients. Let's consider a real example from our 2026 practice. A client (an individual, tax non-resident from a non-EU country) made real estate investments in Barcelona. A property in the Eixample district was purchased for 300,000 euros. 60,000 euros were invested in the property. The property was sold for 450,000 euros.


Initially, the construction company provided the client with invoices stating "Apartment renovation works" (Trabajos de reforma). The Spanish Tax Agency (AEAT) would have rejected these expenses during the declaration check, classifying them as current repairs not subject to deduction. VissumLex lawyers audited the estimate documentation before the works began. We obliged the contractor to break down the invoices into specific categories. These included replacing load-bearing beams, completely replacing electrical wiring to new standards, and installing energy efficiency systems (aerothermics). These works legally qualify as Rehabilitación (capital restoration).


Thanks to proper document execution, all 60,000 euros were legally added to the acquisition value. The tax base (Ganancia patrimonial) was not 150,000 euros, but 90,000 euros (excluding purchase taxes to simplify the example). The savings on IRNR tax (24%) amounted to 14,400 euros.


Below is a compliance matrix and ROI calculation comparing two models: a non-resident individual and a Spanish S.L. (considering the ITP exemption).


Parameter / Expense Item

Individual (Non-resident, 24%)

Spanish S.L. (ITP Exemption)

Legal Justification (2026)

Property purchase price

300 000 €

300 000 €

Escritura pública de compraventa

ITP (Catalonia)

30 000 € (10%)

9 000 € (3%)

Bonificación for resellers (Art. 71.1 Ley 5/2020)

Notary, Registry, Lawyers

4 000 €

4 000 €

Gastos deducibles (Ley 35/2006)

Renovation costs (Rehabilitación)

60 000 €

60 000 €

Detailed Facturas required

Total acquisition value

394 000 €

373 000 €

Base for profit calculation

Property sale price

450 000 €

450 000 €

Valor de transmisión

Agency commission (5%)

22 500 €

22 500 €

Deducted from sale price

Plusvalía municipal

2 000 €

2 000 €

Land value increase tax

Total transfer value

425 500 €

425 500 €

Net revenue before income taxes

Tax base (Profit)

31 500 €

52 500 €

Difference between transfer and acquisition

Income tax

7,560 € (IRNR 24%)

13 125 € (IS 25%)

Rates for non-residents and legal entities

Investor's net profit

23 940 €

39 375 €

До распределения дивидендов из S.L.

ROI (Return on Investment)

6.07%

10.55%

Отношение чистой прибыли к инвестициям

VissumLex Analytical Conclusion: As seen from the table, real estate flipping in Spain through an S.L. yields almost double the ROI growth (10.55% versus 6.07%) solely due to tax engineering at the purchase stage (reducing ITP from 10% to 3%). However, if the S.L. founder decides to withdraw these 39,375 euros to a personal account as dividends, they will pay another 19% to 28% tax, equalizing the final yield. The S.L. model is ideal for reinvestment.


Frequently Asked Questions: Flipping in Spain: Tax Optimization


Answers to key legal questions from investors are based on the current law enforcement practice of the Spanish Tax Agency (AEAT) for 2026.


Can renovation costs be deducted from the tax base?


Yes, but only capital expenses that improve the property's structure. Current cosmetic repairs are not deductible.


Spanish tax legislation draws a strict line between the concepts of "improvement" (Mejora) and "maintenance" (Conservación). If you paint walls, replace broken windows with similar ones, or sand parquet, these are maintenance expenses. They do not increase the asset's acquisition value. If you demolish partitions, change the layout, install a central air conditioning system that was not there before, or structurally reinforce floors, this is capital renovation. Such expenses legally reduce the resale tax on apartments. The burden of proof lies with the taxpayer. You must keep not only invoices but also project documentation (Proyecto técnico), building permits (Licencia de obras mayores/menores), and "before/after" photos of the property.


Who pays Plusvalía municipal during a quick flip?


The municipal land value increase tax is always paid by the seller. When reselling in less than a year, the tax is calculated proportionally to the months of ownership.


Plusvalía municipal (Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana) is a local tax levied by the city hall (Ayuntamiento). It taxes not the profit from selling the apartment, but the hypothetical increase in the value of the land under the building during ownership. Following legislative reform, the seller has the right to choose one of two calculation methods. These are the objective method (based on cadastral land value and city hall coefficients) or the real method (based on the actual difference between purchase and sale price). If real estate flipping in Spain proved unprofitable (sale price is lower than purchase price), the tax is not paid. When owning a property for less than one year (typical for flipping), the tax is calculated proportionally to the number of months of ownership. The Sujeto pasivo in this case is the seller.


Is it profitable to open an S.L. for a single flipping deal?


For a single transaction, creating a legal entity is economically unviable. The administrative costs of an S.L. will exceed the tax benefit.


Opening a Sociedad Limitada requires initial expenses: notary, registration in the Commercial Register (Registro Mercantil), and legal services (around 1000-1500 euros). Then monthly accounting service expenses (Gestoría) arise, ranging from 150 to 300 euros per month. Furthermore, the company administrator must pay social contributions (Cuota de autónomo societario), which is about 300-400 euros monthly. If only one deal is planned, these overhead costs will consume all tax savings. Creating an S.L. is justified only with a systematic approach, where the investor plans to conduct 3-4 deals a year and reinvest the capital.


How to avoid the 3% withholding (IRNR) if the investor is a non-resident?


Avoiding the 3% withholding from the sale price is impossible. This is a mandatory advance payment towards the non-resident's future income tax.


When the seller is a Spanish tax non-resident, the buyer is legally obliged to withhold 3% of the agreed sale price. They must transfer it to the tax office using Form Modelo 211 within one month. This is the AEAT's protection mechanism against situations where a non-resident sells an asset and leaves the country without paying income tax. This 3% is not the final tax. Within 4 months after the sale, the non-resident must file a Modelo 210 declaration. If the real income tax (24% of Ganancia patrimonial) is less than the withheld 3%, the investor has the right to request a refund of the difference. If it is more, they must pay the balance. The refund procedure can take up to 10-12 months. The tax office often initiates an audit of the provided renovation invoices before disbursing funds.


Is flipping considered an economic activity (Actividad económica)?


Systematic buying and selling of properties to extract profit qualifies as an economic activity. This requires registration as an individual entrepreneur (Autónomo) or creating a company.


The line between managing personal property and economic activity in Spain is very thin. If an individual buys and sells one apartment every few years, it is classified as a capital gain and taxed with IRPF. However, if real estate flipping in Spain acquires a systematic character (e.g., 3-4 properties a year), the AEAT can reclassify this into an economic activity. The criteria include having a dedicated office, hiring employees, transaction regularity, and the intention to extract profit as a primary income source. In this case, the individual must register as an Autónomo, pay VAT (IVA) on certain services, and maintain full accounting records. Fines for conducting unregistered economic activity are extremely high.


What receipts for building materials does the tax office accept?


The tax office exclusively accepts official invoices (Facturas) containing buyer and seller details, work descriptions, and separated VAT.


Regular cash register receipts (Tickets) from hardware stores (like Leroy Merlin or Bricomart), which do not specify buyer details (name, surname, NIE/NIF, address), have no legal force for tax deduction. For renovation for sale taxes to actually decrease, the investor must request a full Factura. The document must contain the number, date, full details of the issuer and recipient, and a detailed description of purchased materials or services rendered. It must also show the tax base (Base imponible), VAT rate (IVA), and total amount. Furthermore, the AEAT requires proof of payment. Cash payments over 1000 euros are prohibited in Spain. All settlements with builders must be conducted exclusively by bank transfer. The payment purpose must indicate the corresponding invoice number. Any discrepancy between the invoice and the bank statement is grounds for refusing to recognize the expenses. Proper documentation is the only way to ensure the resale tax on apartments is calculated fairly.



Double taxation and strict requirements for documentary proof of expenses make independent flipping a high-risk enterprise. Optimizing ITP upon purchase and IRPF/IS upon sale requires a deep understanding of regional legislation and current AEAT practice. Comprehensive legal and tax support for real estate investments in Barcelona and other regions from VissumLex experts guarantees the protection of your capital. It ensures legal reduction of the fiscal burden and maximization of net profit from every realized project. We conduct a full audit of the deal even before signing the deposit agreement (Arras), forming a safe and profitable financial model.

 
 
bottom of page