
Me he mudado a España y sigo pagando impuestos fuera. ¿Tengo un problema?
Vives en España y cobras de una empresa extranjera. Cuándo eres residente fiscal aquí, qué mira Hacienda y cómo se arregla si ya ha pasado.
Marta llegó a Barcelona en enero de 2023. Alquiló un piso cerca de la playa, se trajo al perro y siguió trabajando para la misma empresa de Nueva York que la contrató cinco años antes. Misma nómina, mismos impuestos, misma declaración de siempre.
Nadie le dijo que tuviera que hacer nada distinto. Ella tampoco preguntó: no había cambiado de trabajo, solo de ciudad.
Dos años después llegó la carta.
Lo que dice la norma, y lo que la gente entiende
Hay dos criterios de residencia, y una presunción que se puede desmontar:
- Pasas más de 183 días del año en territorio español.
- Tienes aquí el núcleo principal de tus intereses económicos.
- Y además se presume que resides aquí si viven en España tu cónyuge no separado legalmente y tus hijos menores dependientes. Esa presunción admite prueba en contrario.
Con que se cumpla uno de los dos primeros, eres residente. El tercero no es un criterio más: es un punto de partida que se puede rebatir.
Y ninguna de ellas dice nada sobre quién te paga. Esa es la confusión más común: mucha gente da por hecho que, si la empresa está fuera y la nómina se emite fuera, tributa fuera. No funciona así. El criterio es dónde estás tú y dónde está tu vida, no dónde está tu empleador.
Qué mira Hacienda de verdad
En la práctica, la Agencia Tributaria no persigue intenciones: persigue señales. Y las señales son bastante domésticas.
- El consumo eléctrico y de agua de tu vivienda.
- Los movimientos de tu tarjeta.
- La matrícula de los niños en un colegio.
- El contrato de alquiler y las entradas y salidas registradas.
- La dirección que das al banco. Incluso el gimnasio.
Con eso se construye una presunción razonable de que vives aquí. Y a partir de ahí, la carga de demostrar lo contrario es tuya, no suya.
En el caso de Marta, la factura de la luz de dos inviernos seguidos pesó más que cualquier argumento sobre su contrato laboral.
El criterio es dónde estás tú y dónde está tu vida, no dónde está tu empleador.
Qué pasa cuando ya han pasado dos años
Lo primero: casi nunca es tan grave como parece en la primera lectura. Lo segundo: cuesta más que si se hubiera mirado antes.
Hay dos frentes. Uno es regularizar lo que no se declaró aquí, con sus recargos o su sanción según el caso. El otro es resolver lo que ya se pagó fuera, y ahí no hay una respuesta única.
En el caso de Marta, que no es ciudadana estadounidense, el impuesto retenido allí por un trabajo realizado físicamente en España habría que reclamarlo en Estados Unidos. Si lo fuera, el país puede seguir gravándola por ciudadanía, y el alivio llegaría por la vía del crédito por impuesto extranjero en su declaración americana.
No es lo mismo y no se resuelve igual. Por eso el orden en que se hacen las cosas importa tanto como lo que se hace.
Lo que habría cambiado una llamada en 2023
Tres cosas, y ninguna complicada:
- Decidir con criterio si convenía o no ser residente fiscal aquí. A veces sí conviene.
- Mirar la Ley Beckham a tiempo: tiene un plazo de solicitud corto y, pasado, ya no se puede pedir.
- Avisar a la empresa para revisar la retención en origen y no adelantar dinero que luego hay que reclamar.
Coste de esa conversación: media mañana. Coste de no tenerla: lo que acabó costando.
Entonces, ¿tu residencia fiscal está donde crees?
Si vives en España y pagas impuestos en otro sitio, hazte estas tres preguntas: ¿cuántos días pasaste aquí el año pasado?, ¿dónde está tu familia?, ¿desde dónde se toman las decisiones sobre tu dinero?
Si alguna respuesta apunta a España, conviene mirarlo. Mejor en enero que en junio, y mucho mejor antes de que llegue la carta.
Un apunte que conviene separar: esto va de impuestos, no de Seguridad Social. Mudarte por tu cuenta y teletrabajar para una empresa extranjera no te convierte en trabajador desplazado a efectos de los convenios de Seguridad Social. Son dos conversaciones distintas y con reglas distintas.
Catorce años al otro lado del teléfono me han enseñado una cosa: los problemas caros casi nunca empiezan el día de la firma. Empiezan antes, cuando nadie hizo la llamada.
Marta arrived in Barcelona in January 2023. She rented a flat near the beach, brought her dog over and kept working for the same New York company that had hired her five years earlier. Same payroll, same taxes, same tax return as always.
Nobody told her she had to do anything differently. She didn't ask either: she hadn't changed jobs, only cities.
Two years later, the letter arrived.
What the rule says, and what people think it says
There are two tests for residence, plus a presumption that can be rebutted:
- You spend more than 183 days of the year in Spain.
- Spain is home to the main hub of your economic interests.
- On top of that, you're presumed to be resident here if your non-legally-separated spouse and your dependent minor children live in Spain. That presumption can be rebutted.
Meeting just one of the first two makes you a resident. The third isn't another test: it's a starting point that can be challenged.
And none of them says anything about who pays you. That's the most common confusion: many people assume that if the company is abroad and the payslip is issued abroad, they're taxed abroad. It doesn't work that way. What matters is where you are and where your life is, not where your employer is.
What the tax office actually looks at
In practice, the Agencia Tributaria doesn't chase intentions: it chases signals. And the signals are quite domestic.
- Your home's electricity and water usage.
- Your card transactions.
- Your children's school enrolment.
- Your rental contract and your recorded entries and exits.
- The address you gave your bank. Even your gym.
That's enough to build a reasonable presumption that you live here. And from then on, the burden of proving otherwise is yours, not theirs.
In Marta's case, the electricity bills of two consecutive winters weighed more than any argument about her employment contract.
What matters is where you are and where your life is, not where your employer is.
What happens when two years have already gone by
First: it's almost never as bad as it looks on first reading. Second: it costs more than if it had been looked at earlier.
There are two fronts. One is regularising what wasn't declared here, with its surcharges or its penalty as the case may be. The other is sorting out what was already paid abroad, and there's no single answer there.
In Marta's case — she's not a US citizen — the tax withheld over there for work physically performed in Spain would have to be claimed back in the United States. If she were, the US can keep taxing her by citizenship, and the relief would come through the foreign tax credit on her American return.
They're not the same thing and they're not solved the same way. That's why the order you do things in matters as much as what you do.
What one phone call in 2023 would have changed
Three things, none of them complicated:
- Deciding deliberately whether becoming a tax resident here suited her or not. Sometimes it does.
- Looking at the Beckham Law in time: the application window is short and, once it closes, you can no longer apply.
- Telling the company so they could review withholding at source rather than advancing money that later has to be claimed back.
Cost of that conversation: half a morning. Cost of not having it: what it ended up costing.
So, is your tax residence where you think it is?
If you live in Spain and pay taxes somewhere else, ask yourself three questions: how many days did you spend here last year? Where is your family? Where are the decisions about your money made from?
If any answer points to Spain, it's worth looking into. Better in January than in June, and much better before the letter arrives.
One point worth keeping separate: this is about taxes, not Social Security. Moving on your own initiative and teleworking for a foreign company doesn't make you a posted worker for the purposes of Social Security agreements. They're two different conversations with different rules.
Fourteen years on the other end of the phone have taught me one thing: expensive problems almost never start on signing day. They start earlier, when nobody made the call.
Cuéntanoslo y lo miramos con tus números delante.