Tax residency disputes with the Tax Agency: proof of permanence and avenues of defense

August 5, 2026

Proving tax residency to the Spanish Tax Agency has become critical for taxpayers with ties to more than one country. Simply stating that one lives outside of Spain, showing plane tickets, or providing a foreign rental agreement is no longer sufficient. The Tax Agency cross-references international banking information, third-party data, real estate, utilities, credit cards, tax returns, and family relationships to determine the taxpayer's actual primary residence.

At Resitax, a boutique firm based in Palma de Mallorca specializing in international taxation, tax defense, and advising families with cross-border assets, we help taxpayers who need to prepare, justify, or defend their tax residency before the Spanish Tax Agency. This article explains the criteria the Tax Agency applies, which evidence carries the most weight, what mistakes can undermine a defense, and how to act before the procedure turns into a multi-million euro tax assessment.

What does it mean to prove tax residency to the Tax Office?

Establishing tax residency is not simply a matter of proving where you've spent the most time. It involves a much broader legal and evidentiary analysis, especially when you have real estate, companies, bank accounts, family ties, or business activities in multiple countries. Tax residency determines which country a person must pay taxes on their worldwide income in and what formal obligations they must fulfill.

In Spain, an individual may be considered a tax resident if they meet any of the criteria provided for in the Personal Income Tax Law: remaining in Spanish territory for more than 183 days during the calendar year, having in Spain the main center or base of their economic activities or interests, or being affected by the family presumption when the legally unseparated spouse and dependent minor children reside here.

Therefore, the conflict is not always resolved with a simple spreadsheet of entries and exits. A taxpayer may have spent less than 183 days in Spain and still be considered a Spanish tax resident if the tax authorities conclude that their economic or family center is located there. The opposite can also occur: a significant physical presence in Spain, but a double taxation agreement may shift residency to the other state based on its tie-breaking rules.

Quick summary: To prove tax residency to the Spanish Tax Agency, you need to combine three pieces of evidence: documented physical presence, economic ties, and personal/family ties. A foreign tax residency certificate is very important, but it must be integrated into a strategy consistent with the applicable double taxation treaty and the documentation generated during the tax year in question.

Why is the tax authorities increasingly checking tax residency?

Tax residency cases have increased because the tax authorities have more information, better data matching tools, and greater tax collection pressure on taxpayers with international assets. In areas like Mallorca, where it is common to find foreign owners with homes, companies, bank accounts, family, or other financial interests on the island, the risk of being flagged is particularly high.

Automatic exchange of financial information

The Common Reporting Standard (CRS) allows tax authorities to receive information on financial accounts held in other countries: ownership, balances, returns, and certain transactions. If a taxpayer declares residency outside of Spain but maintains significant assets or recurring transactions linked to Spanish territory, this information may trigger an audit.

This automatic exchange does not, in itself, prove tax residency, but it provides the Tax Agency with an initial basis for forming hypotheses. From there, the taxpayer must respond with organized, dated, and consistent documentation.

Internal data: real estate, utilities, banks and declarations

In addition to international information, the Tax Agency has internal data from public registries, the Land Registry, notaries, financial institutions, resident payers, information returns, supply contracts, rental agreements, vehicle records, insurance policies, schools, and economic activity. The combination of these elements can paint a much more accurate picture of a taxpayer's life than a single tax return alone.

A common example in Mallorca is that of a person who declares tax residency in another country but maintains a primary residence on the island, has constant electricity consumption, active Spanish bank accounts, vehicles registered in Spain, and family members who spend a large part of the year in Spain. In this scenario, the defense requires much more than simply presenting round-trip flight tickets.

The European entry and exit system

From 2026, the European system for entry and exit at the external borders of the Schengen Area will add an additional layer of information for certain third-country nationals. This system electronically records the entry and exit of non-EU travelers on short stays, gradually replacing manual passport stamping.

Its usefulness in tax residency applications should be interpreted with caution. It can help prove certain movements to or from the Schengen Area, but it does not resolve issues of internal movement within the European Union, nor does it replace comprehensive proof of daily presence. For European taxpayers with ties to Mallorca, traceability still relies heavily on private documents and contemporaneous records.

The three criteria that Spain uses to consider a person a tax resident

The key to any defense is knowing exactly what criteria the Tax Agency intends to apply. Not all cases are the same: some focus on the number of days, others on the center of economic interests, and others on the presumption of family ties. Confusing the criteria for attack leads to preparing insufficient evidence.

1. Staying in Spain for more than 183 days

The most widely accepted criterion is physical presence in Spanish territory for more than 183 days within the calendar year. These days do not need to be consecutive. The authorities can add up separate stays and consider any fraction of a day as presence in Spain if there is sufficient evidence.

Furthermore, the rule includes sporadic absences in the calculation, unless the taxpayer proves their tax residency in another country. This means that leaving Spain temporarily does not always break the tax residency requirement if the departure is considered temporary.

Is spending less than 183 days in Spain enough to not be considered a tax resident?

Not necessarily. Staying less than 183 days helps, but Spain can also consider someone a tax resident if their main center of economic interests is located here or if the family presumption applies. Therefore, the defense must analyze all the criteria of the Personal Income Tax Law and the applicable tax treaty.

2. Main core or base of economic activities or interests

The second criterion is more complex because it doesn't depend on a specific number of days. The Tax Agency analyzes whether the taxpayer's economic center is located in Spain: where their main income is generated, where their most significant investments are located, where their most valuable properties are situated, where their business activity is directed, and which companies, accounts, or assets hold their wealth.

This criterion is especially relevant for business owners, investors, international professionals, and those with real estate holdings in the Balearic Islands. Owning a villa in Mallorca does not automatically make anyone a Spanish tax resident, but if that property is combined with consistent spending, Spanish companies, rental income, bank accounts, and decision-making from Spain, the risk increases.

3. Family presumption

The law presumes, unless proven otherwise, that a person is a tax resident in Spain if their legally married spouse and dependent minor children habitually reside there. This presumption is very strong because it links tax residency to the center of family life.

In practice, the Spanish Tax Agency reviews schools, registration at the local municipality, health insurance, family home, spouse's professional activity, and spending patterns. When the family is established in Mallorca and the taxpayer claims to reside in another country, the defense must explain precisely how family life is organized and why the actual tax residence is located outside of Spain.

CriterionWhat the Treasury is analyzingRoutine tests
183 daysPhysical presence in Spain during the calendar year, including sporadic absences where applicable.Flights, boarding passes, hotels, passports, EES records, statements, tolls, agendas and documented locations.
Economic interestsWhere income, assets, investments, companies, and professional or business activity are concentrated.Tax returns, asset charts, annual accounts, contracts, deeds, bank certificates and corporate documentation.
Family presumptionWhere the spouse and dependent minor children live and where ordinary family life takes place.Schooling, registration, housing, insurance, medical assistance, family expenses and documentation of effective residence.

What evidence is truly useful to prove tax residency?

Proof of tax residency must be current, complete, and consistent. Documentation created during the year in question carries much more weight than a later reconstruction made after the tax authorities have already issued a request.

What evidence is most important to prove tax residency outside of Spain?

A tax residency certificate issued by the other country is essential proof, especially if a double taxation agreement exists. However, it must be accompanied by evidence of physical presence, personal ties, economic activity, and consistent documentation. The tax authorities will assess the entire file, not a single isolated document.

Proof of physical presence

To defend the criteria based on days, a detailed calendar supported by documentation is necessary. A list prepared by the taxpayer is insufficient. Each relevant period must be linked to external data.

  • Tickets, boarding passes and reservations actually used: help to prove travel, but it is also advisable to keep proof of subsequent stay.
  • Hotel bills, temporary rentals or accommodation receipts: prove permanence in a certain place when they are correctly dated.
  • Bank statements and card payments: allow the taxpayer to be located in a territory if the transactions are in person and not merely online.
  • Medical records, professional appointments, contracts or attendance at meetings: these can strengthen a presence in a specific country.
  • Tolls, transport, personalized tickets and travel documents: these are useful when integrated into a global timeline.

The most frequent problem is that the documents do not cover all periods. A gap of several weeks can be used by the Tax Authorities to argue that the taxpayer remained in Spain, especially if there are consumption records or internal evidence to support this.

Economic center tests

When the debate focuses on the core economic interests, the number of days becomes secondary. The defense must demonstrate where the true basis of the taxpayer's economic activity and assets lies.

  • Origin and volume of income obtained in each country.
  • Location of the investee companies and place of effective management.
  • Real estate assets and actual use of each property.
  • Main bank accounts and country from which investments are managed.
  • Professional, business or asset management contracts.
  • Documentation that demonstrates that relevant economic decisions are made outside of Spain, when that is the position defended.

Personal and family tests

Tax residency is not determined solely by money. Personal ties can play a decisive role, especially when a double taxation treaty exists and the center of vital interests must be analyzed.

In these cases, the following become important: the schooling of children, the effective residence of the spouse, regular doctors, associations, clubs, social life, domestic contracts, family insurance, and any evidence that ordinary life develops in a stable manner in one or the other country.

The foreign tax residency certificate: value and limits

A tax residency certificate issued by another country is one of the most important documents in an international residency application. If a double taxation agreement exists between Spain and that country, the certificate can trigger a genuine conflict of dual residency that must be resolved according to the agreement, not solely according to Spanish domestic law.

Recent Supreme Court jurisprudence has reinforced the value of these certificates when issued by the competent tax authority for the purposes of the applicable treaty. In practical terms, the Tax Authorities cannot automatically disregard a valid certificate nor simply substitute their own unilateral interpretation for that of the other State.

How to use it correctly

For the certificate to have defensive force, it is advisable to request it for each potentially verifiable period, ensuring that it clearly identifies the tax year, that it is issued by the competent authority, and that it serves the purposes of the double taxation agreement when necessary.

A certificate requested late, when proceedings are already underway, may still be useful, but it loses some of its strategic value. Preventive defense requires obtaining it in advance and keeping it in an annual file.

Why the certificate shouldn't go alone

The certificate is essential, but it doesn't replace proof of residence. If all the material evidence points to Spain—primary residence, family, expenses, economic activity, credit cards, vehicles, social life—the Tax Inspectorate can attempt to challenge the certified residency. Therefore, the certificate must be accompanied by documentation demonstrating that the foreign residency is not merely formal, but actual.

Can the tax authorities ignore a foreign tax residency certificate?

Supreme Court jurisprudence has reinforced the value of certificates issued by other countries with double taxation treaties. The tax authorities should not automatically disregard a valid certificate. Even so, if there are indications of fraudulent activity or purely formal residency, the case must be supported with additional documentation.

What happens if two countries claim tax residency?

When Spain and another country consider the same person to be a tax resident, a conflict of dual residency may arise. If both countries have a double taxation treaty, the conflict is resolved by applying tie-breaking rules.

Agreement tie-breaking rules

Conventions inspired by the OECD Model typically apply a sequence of criteria:

  1. Permanent housing available: in which country does the taxpayer have a permanently available home.
  2. Center of vital interests: where your closest personal and economic relationships are located.
  3. Usual residence: where you live most often if the previous criterion does not resolve the conflict.
  4. Nationality: subsidiary criterion when the previous ones are not conclusive.
  5. Agreement between competent authorities: final solution through amicable procedure when the conflict persists.

The order matters. One cannot jump directly to the economic criterion without first analyzing the primary residence or the center of vital interests. A legal defense must review the specific applicable agreement, because not all texts are identical.

Center of vital interests is not the same as economic interests

A common mistake is to confuse the center of vital interests under the agreement with the core economic interests under the Personal Income Tax Law. These are not identical concepts. The former incorporates personal, family, social, and economic ties; the latter focuses on the base of economic activities or interests in Spain.

This distinction is key to a defense. If the tax authorities use internal economic criteria to resolve a conventional dispute without adequately considering personal and social ties, there may be a strong ground for appeal.

Common mistakes when defending tax residency

Most weak defenses fail not due to a complete lack of documentation, but due to a lack of strategy. There are cases with extensive documentation that still fail to prove what they need to prove.

Reconstructing the evidence when the request has already arrived

Trying to reconstruct three or four years of transactions once the tax authorities have already begun an audit is much more difficult than documenting the situation in real time. Calendars created after the fact, unsupported lists, or generic explanations are less valuable than documents generated during the audited period.

Provide reservations instead of proof of stay

A flight reservation demonstrates an intention to travel, but it doesn't always prove the trip actually took place. A hotel reservation can be canceled. An invoice paid online doesn't physically locate the taxpayer. The defense must distinguish between proof of booking and proof of actual presence.

Failure to coordinate information communicated to banks, administrations and third parties

A person may declare tax residency in another country while simultaneously maintaining a Spanish address in bank statements, insurance policies, supply contracts, or administrative records. These inconsistencies are used as evidence against them. The tax domicile, bank address, and address used in relevant contracts should be thoroughly reviewed.

Ignoring the weight of the family

Many taxpayers focus their entire defense on their days of presence in Spain and forget that a spouse and children can trigger a presumption of residency. In cases involving children attending school in Mallorca, a family home on the island, or a couple with local business activities, this aspect must be addressed from the outset.

Confusing civil residence, residence permit, and tax residence

Having a NIE (Foreigner Identification Number), a residence permit, registration with the local council, or a home in Spain does not automatically equate to being a tax resident. However, these factors cannot be ignored. They are indicators that must be interpreted within the context of the overall evidence. The legal defense consists of organizing all these elements and explaining their true significance.

How to prepare a preventive evidentiary file

The best defense against the tax authorities is prepared before receiving a notification. A taxpayer with international ties should compile a tax residency file each year to allow for a swift response should the tax authorities open an audit.

Documentary blockWhat should it include?Evidentiary objective
Attendance CalendarDaily record of countries, trips, media, flights, stays and relevant movements.Defend the counting of days and anticipate gaps.
Foreign tax certificateAnnual certificate of residence issued by the competent authority of the declared country.Activate the double taxation agreement and strengthen the declared residence.
Economic linksIncome by country, companies, contracts, investments, accounts and asset documentation.Demonstrate where the real economic core is located.
Family and personal tiesSchooling, family housing, insurance, doctors, social life, membership in clubs or associations.Defend the center of life and the conventional tie-breaking rules.
Administrative consistencyTax domicile, banks, supplies, records, contracts, insurance and public documentation.Avoid contradictions used as evidence by the tax authorities.

For clients with assets in Mallorca and declared residence in another country, this file must be reviewed annually. A seemingly minor change—a new property, a child starting school, a spouse moving, an increase in Spanish income—can alter the tax risk for the year.

How a tax residency check is carried out

The procedure can begin with a request for information, a limited verification, or directly with inspection actions. The way in which the first request is answered determines the entire subsequent process.

Initial phase: limited requirement or verification

The authorities typically request documentation regarding length of stay, declared residence, tax certificates, economic activity, real estate holdings, and family ties. The temptation to respond quickly and incompletely is dangerous. An incomplete answer can establish a version of events that is difficult to correct later.

What should I do if I receive a request from the Tax Office regarding my tax residency?

Before responding, it's advisable to analyze the criteria the Tax Agency might be using, organize the available documentation, and define a strategy. Responding incompletely or without proper guidance could jeopardize the entire subsequent process. It's recommended to consult a tax lawyer specializing in international residency.

Inspection procedure and regularization proposal

If the Tax Agency believes there is sufficient evidence, it can open an inspection procedure. This phase involves analyzing non-time-barred tax years, requesting further documentation, carrying out investigations, and ultimately issuing a report with a proposed adjustment.

The regularization may imply that the taxpayer is treated as a Spanish tax resident for one or more years, with taxation on worldwide income, late payment interest and, where applicable, penalties.

How many years can the Tax Office review in a tax residency check?

The general statute of limitations for tax purposes is four years, so it is common for the Tax Agency to review tax years that have not yet expired. In practice, a residency application can cover several years simultaneously, especially when there is repeated evidence of presence, assets, or economic activity in Spain.

Administrative and judicial resources

An appeal against the tax assessment may be filed with the competent court. Once the administrative appeal process has been exhausted, recourse may be had to the contentious-administrative jurisdiction. In certain cases, if there is a dispute with another State, the mutual agreement procedure provided for in the double taxation treaty may also be considered.

The strategy should not be decided at the end of the proceedings, but rather from the very first response. What is not presented or argued in the early stages can lose its impact in later proceedings.

Consequences of the Spanish Tax Agency declaring your tax residence in Spain

When the Spanish Tax Agency concludes that a person was a tax resident in Spain, the consequences can be very significant. It's not just a matter of changing an administrative label: it changes the entire scope of taxation.

  • Taxation of worldwide income in personal income tax: Spain may require the declaration of income obtained in any country, without prejudice to the mechanisms to avoid double taxation.
  • Review of capital gains, dividends, interest and real estate income: especially in taxpayers with international investments.
  • Reporting obligations regarding assets abroad: forms such as 720 or 721 may come into play depending on the type of asset and fiscal year.
  • Possible impact on Wealth Tax or Temporary Solidarity Tax on Large Fortunes: especially on high net worths with real estate or significant assets.
  • Late payment interest and penalties: if the Administration finds guilt or lack of diligence.

The amount can be particularly high when several tax years are reviewed simultaneously. Therefore, for high-net-worth individuals, tax residency should not be treated as a mere formality, but rather as a core element of tax planning and defense.

Tax residency in Mallorca: why the risk is specific

Mallorca has a very specific profile of international taxpayer: European families with high-value homes, businesspeople with companies in several countries, real estate investors, people with long stays on the island and assets distributed between Spain, Germany, Switzerland, the United Kingdom, France, Austria or other territories.

This context gives tax residency applications in the Balearic Islands their own unique characteristics. The property is not always a second home for occasional use; in many cases, it is the true center of family life for significant periods of the year. Utilities may remain active year-round. Children may be enrolled in international schools. Real estate investments may generate income in Spain. All of this forms a set of indicators that the Tax Agency can use.

The defense requires knowledge not only of Spanish law, but also of the applicable convention, recent case law, the functioning of the Inspection and the asset reality of international families established on the island.

What happens if I own a house in Mallorca but live for tax purposes in another country?

Owning a property in Mallorca does not automatically imply tax residency in Spain, but it is a relevant indicator. The Spanish Tax Agency may analyze the actual use of the property, consumption, physical presence, family, Spanish income, and total assets. It is advisable to accurately document the use of the property and the actual residence in the other country.

How Resitax helps in a tax residency dispute

At Resitax, we approach these cases from a legal, tax, and evidentiary perspective. Our goal is not to accumulate documents without a clear rationale, but to build a defensible and coherent position aligned with domestic regulations, the applicable double taxation treaty, and the most recent administrative and judicial precedents.

Initial risk assessment

We analyze days of presence, real estate, family, companies, income, assets, tax certificates, reported addresses, and available documentation. This assessment allows us to identify which criteria the Tax Agency might use and which weaknesses need to be addressed.

Construction of the documentary file

We organize the evidence by exercises, countries, and residency criteria. When documentation is insufficient, we identify which supporting documents can be obtained and which must be legally explained to minimize their negative impact.

Defense before the Tax Authorities and appeals

We prepare responses to requests, allegations, economic-administrative claims, and contentious-administrative appeals. When there is dual actual residence, we also assess the advisability of initiating the mutual agreement procedure to avoid double taxation that is not in accordance with the treaty.

Checklist to prove tax residency to the Tax Office

  • Request annually the tax residency certificate from the country in which residency is declared.
  • Keep flight tickets, boarding passes, accommodation invoices and proof of actual stay.
  • Create an annual calendar of physical presence with supporting documentation.
  • Check that the address communicated to banks, insurance companies, utilities and administrations is consistent.
  • Document where the main income is generated and where the relevant assets are managed.
  • Analyze the situation of the spouse and minor children, especially if they live or study in Spain.
  • Review the applicable double taxation agreement before responding to the Tax Office.
  • Not responding to a request without first defining the legal strategy.
  • Prepare the defense against the sanction from the beginning, not just the liquidation.
  • Take preventative action if you have assets or family ties in Mallorca and declared residence in another country.

Conclusion

Proving tax residency to the Spanish Tax Agency is a technical task that requires much more than simply counting days. The Tax Agency analyzes physical presence, economic ties, family relationships, international documentation, administrative records, and the overall consistency of the taxpayer. A single piece of evidence doesn't always decide the case, but the accumulation of poorly managed indicators can decisively tip the scales.

The key is to anticipate. A body of evidence built throughout the year is far more valuable than a defense reconstructed after the fact. Obtaining residency certificates, documenting travel arrangements, reviewing reported addresses, documenting financial ties, and preparing a strategy in accordance with the applicable agreement can make the difference between a controlled inspection and a regularization process with significant financial repercussions.

For taxpayers with assets, a home, or a family in Mallorca, preventative planning isn't a secondary option: it's a real necessity. The most effective defense begins before the first notification.

For a personalized analysis of your eligibility for the expatriate regime, the firm offers an initial consultation.

Initial consultation

The firm offers an initial consultation during which the client's situation is analyzed and the scope of the necessary advice is precisely determined, without further commitment.