Criminal law
Published on September 17th, 2026
For a foreign resident, the question that arrives with a criminal case is rarely about the sentence but about whether this will cost them the right to stay, and that question has an answer more precise than the fear behind it.
Two procedures are running, on different clocks, before different authorities, and what you do in one has consequences in the other, so treating them as a single conversation is how avoidable problems become permanent ones.
An arrest does not create a record, and neither does a summons or being an investigado while the investigation is still running.
Since a criminal record arises from a conviction, everything before that point is a procedure and not a record. It matters in practice, as people volunteer information they do not have to give, on the assumption that an open case is already a stain.
It also means a case that ends in dismissal, acquittal, or one that never proceeds beyond the investigation, leaves no record behind. A conformidad, by contrast, produces a conviction, which is why the two decisions are connected.
Most of the confusion comes from mixing two situations that the law treats very differently. For an initial residence authorization, having no criminal record is a strict requirement rather than a factor to be weighed. The applicant must "have no criminal record in Spain or in their previous countries of residence, for offenses that exist under Spanish law" (article 31.5 of Organic Act 4/2000).
For a renewal it is a weighing exercise, since the law says the authorities "shall assess, where applicable, criminal records, taking into account any pardons, or situations of conditional remission of the sentence or suspension of a custodial sentence" (article 31.7). Under that wording a suspended sentence is expressly something the administration must take into account, not something it may ignore.
A third provision sets the outer limit, under which a conviction, in Spain or abroad, for an intentional offense punishable here by more than one year of imprisonment is a ground for expulsion, "unless the criminal record has been canceled" (article 57.2), a last clause that is the reason the next section is not administrative housekeeping.
Article 136 of the Criminal Code sets the periods, counted from the day after the sentence is extinguished, provided no further offense is committed: six months for minor penalties; two years for penalties not exceeding twelve months and for those imposed for negligent offenses; three years for other less serious penalties under three years; five years for other less serious penalties of three years or more; and ten years for serious penalties.
Cancellation is a right once the period has run, but in practice it does not happen on its own, since it has to be applied for and takes time. Where the sentence was suspended and later remitted, the count is brought forward to the day the sentence would have been served, which can move the date considerably.
A record that will be cancelable in eight months, on a permit that expires in three, is a very different problem from the same record with the dates the other way round, and that timing is a calculation to do early, not when the renewal form is in front of you.
The document is the certificado de antecedentes penales, which you will be asked for in residence and nationality applications, for certain jobs, and for some procedures abroad.
Here cancellation is what makes the difference, connecting back to the expulsion provision above. Once the record is canceled, the ground under article 57.2 no longer applies.
The criminal case is with the court, while the residence file is with the Oficina de Extranjería, a different administration on a different schedule.
What that office actually sees is narrower than most people assume, and the distinction is the practical heart of this guide. It sees what is entered in the register of convictions, held within the judicial records system, the SIRAJ. Anything that is not in that register does not exist for it: an open investigation, a summons, a case that was dismissed, while a conviction does appear and a canceled record does not.
That distinction cuts both ways, in that a favorable outcome in the criminal case does not update your immigration file on its own and the immigration file can be decided on an incomplete picture, and both deserve to be managed rather than left to chance.
I start by establishing which of the two procedures is the urgent one, and it is usually not the one the client is worried about. A renewal deadline can be closer than a trial date, and the order in which they fall changes the strategy entirely.
Then I look at the criminal case with the residence consequence in view: whether an early resolution helps or hurts, what the record will look like when it exists, and when it can be canceled. Those are questions to answer before deciding how to conduct the defense, not afterwards. Where the immigration side needs its own specialist, I say so and coordinate rather than improvise. You can read how I work, or what I do in criminal defense in Barcelona.
Editorial responsibility: Carles Jiménez, Spanish lawyer (Barcelona Bar No. 34.946). This note was prepared with the assistance of artificial-intelligence tools and reviewed and approved by the author before publication.
Tell me about your situation and I will tell you, frankly, how I can help.
Get in touch