Embassies & Consulates

Foreigners in Spanish prisons: what families need to know

A guide for families of a foreigner arrested or jailed in Spain: key figures, arrest rights, lawyers, transfer home, visits, money and the consulate.

Published

on

Updated: October 2026

When a foreign national is arrested in Spain, the family often finds out late, from far away and in a language they do not understand. This guide is for parents, partners and friends of a foreigner who has been arrested or imprisoned in Spain. It explains how common this situation is, what happens in the first days, why the choice of lawyer matters so much for foreigners, and how to stay in contact with someone inside a Spanish prison.

Foreign prisoners in Spain: the numbers

You are not alone. Spain’s prison population reached 62,522 people at the end of 2025, according to year-end figures from the prison administrations reported in January 2026. Spain has two main prison systems: the state system run by the Ministry of the Interior’s Secretaría General de Instituciones Penitenciarias (SGIP), and Catalonia, which runs its own prisons. The Basque Country has also managed its own three prisons since 2021.

Foreigners make up around one in three prisoners. Instituciones Penitenciarias data for 2025 counted 20,524 foreign inmates, or 33.2% of the prison population, while foreigners are about 14.5% of the general population. Moroccan nationals are by far the largest group (6,188 in August 2025, about 10% of all prisoners), followed by Colombians and Algerians. Romania, the Dominican Republic, Ecuador, Peru, Senegal, Brazil and Albania are also among the most common nationalities. In Catalonia the share is even higher: the Council of Europe’s SPACE I report found that 52% of prisoners in Catalan prisons were foreign nationals in early 2025, against 29% in the state system.

IndicatorFigureSource and date
Total prison population62,522Prison administrations, end of 2025
State system (SGIP, 80 centres)51,559End of 2025
Catalonia (13 centres)9,186End of 2025
Basque Country (3 centres)1,777End of 2025
Foreign inmates20,524 (33.2%)Instituciones Penitenciarias, 2025
Moroccan inmates6,188 (about 10%)Instituciones Penitenciarias, August 2025
Foreign share in Catalan prisons52%Council of Europe SPACE I, January 2025
Foreign share in state prisons29%Council of Europe SPACE I, January 2025
Pre-trial detainees (all prisoners)17.6%World Prison Brief / Council of Europe, 31 January 2025
Imprisonment rate121 per 100,000 inhabitantsWorld Prison Brief, January 2025

Statistics count nationality, not country of birth, so people who have become Spanish citizens are counted as Spanish. Foreigners are also more likely to be held in pre-trial detention, because judges often see a higher risk that a person without strong ties to Spain will leave the country.

What happens after an arrest

After an arrest, the police (Policía Nacional, Guardia Civil, Mossos d’Esquadra in Catalonia or Ertzaintza in the Basque Country) may hold a person only for the time strictly needed to investigate, and never more than 72 hours. Within that time the person must be released or brought before a judge. In practice most people see the duty judge within one or two days.

During police custody a foreign detainee has the right to:

  • A lawyer: a private lawyer of their choice or a free duty lawyer (abogado de oficio) appointed by the bar association.
  • A free interpreter: for interviews, the court hearing and key documents, if they do not understand Spanish.
  • Information: to be told the reason for the arrest and their rights in a language they understand.
  • Contact: to have a relative or another person told about the arrest and where they are held, and to have their consulate informed.
  • Silence: to stay silent, not to make a statement and not to sign anything they do not understand.

At the court hearing the judge decides between release, release with conditions (for example handing in the passport and reporting to court regularly), release on bail (fianza), or prisión provisional (pre-trial detention). Pre-trial detention is meant to be the exception, but for a foreigner with no address, job or family in Spain the risk of flight weighs heavily. This is the first moment where a well-prepared lawyer can make a real difference, for example by showing an address, a job offer or family ties in Spain.

Why a specialised lawyer matters for foreigners

A free duty lawyer is always available, and people with limited income can apply for justicia gratuita (free legal aid) for the whole case. Many duty lawyers do good work, but they are assigned by rota, handle many cases and may not speak your language. For foreigners the case is rarely only about the criminal charge. A lawyer who knows both criminal and penitentiary law, and the immigration side, can protect options that are easily lost.

What a specialised lawyer can do:

  • Challenge detention: appeal pre-trial detention and ask for release with conditions or bail.
  • Defend the case: review the evidence, the interpretation and the legality of searches, and negotiate where this is in the client’s interest.
  • Prison life: request leave (permisos de salida), progression to open regime (tercer grado) and conditional release (libertad condicional), and appeal refusals before the prison supervisory judge (juez de vigilancia penitenciaria).
  • Transfer home: prepare a request to serve the sentence in the home country. Within the EU this works under Framework Decision 2008/909/JHA. For many other countries it works under the Council of Europe Convention on the Transfer of Sentenced Persons or bilateral treaties.
  • Expulsion instead of prison: under Article 89 of the Spanish Criminal Code, prison sentences of more than one year imposed on a foreign national can be replaced, fully or partly, by expulsion from Spain with a ban on returning. Whether this is good or bad depends entirely on the person’s life and family in Spain, so it needs careful advice. EU citizens can only be expelled on stricter public security grounds.
  • Immigration consequences: a conviction and criminal record can affect residence permits, renewals, long-term residence and citizenship applications. A good lawyer looks at these from day one.

For families abroad, GC Libertad specialises in legal help for foreigners in Spanish prisons and their families. The team works with experienced criminal and penitentiary lawyers on the Costa del Sol, in Madrid and in Seville, speaks your language, and helps with the practical side too: finding out where your loved one is held, getting money and documents to the prison, arranging bail payments and keeping you informed. It is a good first call if you want to understand your options before you commit to a lawyer.

Whoever you choose, check that the lawyer is registered with a Spanish bar association (Colegio de Abogados), ask for a written fee agreement (hoja de encargo) and be careful with large payments in advance. Our guide to lawyers in Spain explains how to check credentials.

Finding the prisoner and staying in contact

Families are often not told directly where someone has been taken. Collect the full name, date of birth, nationality, passport or NIE number, and if possible the court and case number (número de diligencias or procedimiento). Then try:

  1. The lawyer who attended the court hearing: they know the decision and usually the prison.
  2. Your consulate: if the detainee agreed, the consulate is informed and can confirm the detention to family.
  3. The duty court (juzgado de guardia) where the arrest took place.
  4. The prisons themselves: state prisons, Catalan prisons and Basque prisons are run separately, so contact the administration for the region where the arrest happened.

Once you know the prison, contact works in much the same way across Spain, although timetables and booking systems differ:

  • Authorised list: the prisoner must put you on their list of visitors and phone numbers. Relatives may need to prove the relationship, and foreign certificates may need translation.
  • Comunicaciones orales: short visits through glass (locutorio), normally every week, booked in advance. Bring a valid passport or ID card.
  • Vis a vis: longer visits in a private room, either family visits, intimate visits with a partner, or longer “convivencia” visits with a partner and young children. These are usually monthly and must be requested.
  • Phone calls: prisoners cannot receive calls. They call authorised numbers a limited number of times per week, so give a number you will always answer, including an international one.
  • Letters: you can write freely. Add the full name and, if known, the module.
  • Money (peculio): prisoners use an internal account for phone calls, shop items and hygiene products. Families can usually pay in by bank transfer or at the prison. Ask the prison for the current method and limits.
  • Parcels and clothes: rules are strict and vary by prison, so check before you send anything.

Every prison also has a social worker (trabajador social) who can help with family contact, documents and preparing for release. Ask the prisoner to request an appointment.

What the consulate can and cannot do

A consulate can visit or contact the prisoner, check on their health and treatment, pass on messages with their consent, give a list of local lawyers and interpreters, and explain how a transfer home works. It cannot get anyone released, interfere in the court case, give legal advice, or pay for lawyers, bail or fines. Services differ a lot between countries, so check your foreign ministry’s pages on prisoners abroad. Our guide to embassies and consulates in Spain helps you find yours.

WhoWhat they doWhat they do not do
LawyerDefends the case, appeals detention, requests bail, leave, tercer grado, conditional release and transfer, advises on expulsion and immigrationCannot guarantee an outcome
ConsulateWelfare visits, contact with family, lists of lawyers, information on transferNo legal advice, no payment of fees, bail or fines
Prison social workerFamily contact, documents, social reports, release planningDoes not handle the criminal case
FamilyFinds a lawyer, sends money, visits, writes, gathers documents showing ties to Spain or homeShould not discuss case details on prison phone lines

Practical tips for families abroad

  • Keep one file: case number, court, prison, lawyer, consulate contact and a log of every call and payment.
  • Get documents ready: proof of address, work, family and income can help with bail, legal aid, leave and transfer. Official documents from abroad may need an apostille and a sworn translation.
  • Language: ask for a lawyer or helper who speaks your language, and do not sign fee agreements you do not understand.
  • Plan visits: book before you travel and confirm that you are on the authorised list.
  • Look after yourself: cases can take months or years. Our guide to mental health support for expats in Spain lists where to find help.

If your relative lived in Spain, a sentence can also affect their right to stay. Read our overview of immigration rules in Spain and residency in Spain for background.

Get help

If someone close to you has been arrested or is in prison in Spain, contact GC Libertad for specialised legal and practical help for foreign prisoners and their families.

Useful links

FAQ: foreigners in Spanish prisons

How long can the police hold a foreigner before they see a judge?

No longer than strictly necessary and never more than 72 hours. The person must then be released or brought before a judge.

Does a foreigner get a free lawyer and interpreter in Spain?

Yes. A duty lawyer is appointed if the person does not choose their own, and an interpreter is free. Legal aid for the whole case depends on income.

Can a foreign prisoner serve the sentence in their home country?

Often yes, once the sentence is final. EU transfers follow Framework Decision 2008/909/JHA, others follow the Council of Europe convention or bilateral treaties. Both countries must agree and it takes time.

Can a prison sentence be replaced by expulsion from Spain?

Under Article 89 of the Criminal Code, sentences over one year for foreign nationals can be replaced fully or partly by expulsion and a re-entry ban. A lawyer should assess whether this is in the person’s interest.

Will the consulate pay for a lawyer or bail?

No. Consulates can provide lists of lawyers and check on welfare, but they do not pay legal fees, bail or fines.

Disclaimer: This article is general information only and is not legal advice. Laws, prison rules and procedures can change and vary by prison – always get advice from a qualified criminal lawyer about a specific case.

Trending

Exit mobile version