Legal remedies and actions after an airport detention: how to challenge a refusal of entry in Spain

Toy plane over passports on a map to illustrate legal defense and remedies against refusal of entry at Spanish airports.

You have been returned from the airport. Or you have been notified of an entry ban. You may think there is nothing you can do, that the decision is final and that you have no choice but to accept it.

Even after a refusal of entry at the border, even after you have been returned to your country, there are legal avenues to challenge that decision, have it annulled, remove entry bans from your record, and protect your immigration future.

This article explains what legal remedies are available to you after an airport detention or refusal of entry, when and how to file them, and why the involvement of a specialist lawyer makes the difference between a successful challenge and an appeal that will be dismissed.

At IN DIEM Abogados, we have been handling these situations for years, defending people refused entry at Spanish and European airports. Our experience shows that a refusal of entry is not the end of the road: it is the start of a well-designed legal strategy. We have managed to annul refusals of entry, lift entry bans, and clear immigration records even when the affected person had already been returned to their country of origin.

Why is it possible to appeal even after being returned?

Many people believe that once the authorities have returned you to your country, the case is definitively closed. This belief is false and can cost you dearly in the future.

A refusal of entry at the border is an administrative act, i.e., a decision taken by an administrative authority (the National Police, under the direction of the Ministry of the Interior). And all administrative acts in Spain can be challenged if you consider them unlawful, unfair, or adopted in breach of your rights.

This is guaranteed by the Spanish Constitution, Law 39/2015 on the Common Administrative Procedure, the Law on the Contentious-Administrative Jurisdiction, and the Schengen Borders Code

At IN DIEM, we analyse each refusal of entry as an administrative act subject to thorough legal scrutiny. We do not limit ourselves to filing generic appeals: we identify procedural defects, reasoning errors, and violations of fundamental rights which, when properly argued, make the difference between a rejected appeal and a successful challenge.

  • Annulment of the refusal of entry: A declaration that the refusal of entry was unlawful and its removal from your record, erasing the negative entry that makes future visas more difficult.
  • Removal of the entry ban: If you were given an entry ban to the Schengen Area (usually between 1 and 5 years), you may be able to have it annulled.
  • Recognition of irregularities: Even if the refusal of entry is not annulled on the merits, procedural irregularities may be recognised, which is useful for future cases.
  • Financial compensation: In exceptional cases, if there have been serious violations of fundamental rights during your detention, compensation may be obtained.

The three avenues of challenge: when to use each one

The Spanish legal system offers different avenues to challenge an airport refusal of entry. It is not a matter of choosing one at random, but of knowing which applies at each stage and how to combine them strategically.

Important note: If you haven’t yet read the previous articles in this series, we recommend checking out our article on immediate action following detention and on procedures in the detention holding area, to understand the full context.

General overview of remedies

1. Administrative appeal (administrative route): The first appeal to the administration itself.

2. Contentious-administrative appeal (judicial route): Filed before the courts that review the legality of administrative decisions.

3. Habeas corpus: An urgent judicial action only when there is unlawful deprivation of liberty.

Administrative appeal: the first opportunity

The administrative appeal is the first step in the administrative route to challenge a refusal of entry. It is filed with the hierarchical superior of the authority that made the decision.

Deadline and filing

Deadline: One month from the date you were notified of the refusal-of-entry decision. This deadline is non-extendable: if you miss it, you lose this avenue.

Where is it filed? Usually with the Government Sub-delegation of the province where the airport is located (for example, the Government Sub-delegation in Madrid for Barajas). Your lawyer knows exactly which body it must be filed with depending on your specific case.

What is argued?

The administrative appeal is not a simple complaint letter. It is a technical legal submission in which your lawyer argues:

Formal defects: Errors in the procedure:

  • Failure to provide proper notification
  • Absence of the right-to-be-heard stage
  • Insufficient reasoning
  • Failure to provide an interpreter when necessary

Substantive defects: The decision is substantively incorrect:

  • The facts do not justify the refusal of entry
  • There is documentation proving the requirements were met
  • Incorrect interpretation of the regulations
  • Relevant personal circumstances ignored

Supporting documentation: Bank certificates, employment contracts, verified bookings, invitation letters, medical reports, or any document proving you met the requirements.

Effects and practical reality

It does not automatically suspend the enforcement of the return, which is why it is crucial to file it quickly and expressly request interim suspension.

The administration must decide within three months. If it does not, the appeal is deemed dismissed by “administrative silence”, opening the contentious-administrative route.

Most appeals filed without legal representation are dismissed because:

  • Lack of adequate legal grounds (citing legal provisions, case law)
  • Insufficient or poorly presented documentation
  • Lack of knowledge of the administration’s actual criteria
  • Formal errors that lead to the appeal being declared inadmissible

Contentious-administrative appeal: judicial review

If the administrative appeal is dismissed, the next step is the contentious-administrative appeal before the contentious-administrative courts (Judiciary).

Deadline and jurisdiction

Deadline: Two months from notification of the final administrative decision. This is also non-extendable.

Where is it filed? Usually before the Contentious-Administrative Court of the place where the airport is located. Correctly determining territorial jurisdiction is crucial to avoid inadmissibility.

What is challenged?

The judge reviews whether the administrative decision is lawful. Grounds for challenge include:

  • Procedural defects: Irregularities that make it voidable
  • Formal defects: Defects in the decision that invalidate it
  • Substantive defects: The decision is contrary to substantive law

You may request that the judge suspend the effects of the refusal of entry while the appeal is decided:

  • Suspend an entry ban
  • Prevent a return from being enforced
  • Suspend any harmful effect

For them to be granted, the judge must find that your arguments are serious and that you will suffer harm that is difficult to remedy if enforcement is not suspended.

Obtaining interim measures requires solid legal argument supported by documentation and case law. A specialist lawyer knows how to maximise the chances of them being granted.

Procedure and duration

The procedure includes: filing and admission, request for the administrative file, claim and defence, evidence (if necessary), conclusions, and judgment. It may last between 12 and 24 months.

That is why interim measures are so important: even if you ultimately win, if the ban was in force for two years, you have lost that time.

Possible outcomes

Upheld (you win): The refusal of entry is annulled, removed from your record, and the entry ban is set aside.

Dismissed (you lose): The judge confirms that the decision is lawful. You may appeal.

Partially upheld: It is annulled due to formal defects, requiring the administration to roll back the procedure, but without guaranteeing a different outcome.

The contentious-administrative appeal requires:

  • Mandatory representation by a court agent
  • Technical knowledge of administrative and immigration law
  • Experience drafting contentious-administrative claims
  • Ability to analyse the administrative file (it may run to hundreds of pages)
  • Knowledge of case law of the Supreme Court and the Court of Justice of the European Union

A non-specialist lawyer will face enormous difficulties in handling this process with any guarantee of success.

Habeas corpus: when your liberty is unlawfully at stake

Habeas corpus is an urgent judicial procedure that can be activated when a person is unlawfully deprived of liberty.

When does it apply?

Habeas corpus does not challenge the refusal of entry; rather, it reviews whether your deprivation of liberty is lawful:

  • Detention at the airport without legal grounds
  • Excessive time in the inadmissibles room (more than 72 hours without a decision or judicial oversight)
  • Detention in a CIE without judicial authorisation
  • Violation of safeguards during detention
  • Extension of detention beyond the authorised period

Urgent processing

It is filed with the duty Investigating Court. The judge must act immediately (usually within 24 hours):

  • Requests urgent information from the authorities
  • Orders that the detainee be brought before the court
  • Holds an urgent hearing where the detainee, with their lawyer, explains their situation
  • Decides whether the deprivation of liberty is lawful

If it is unlawful, orders immediate release. If it is lawful, it is confirmed.

Habeas corpus as a strategic tool

Although it does not resolve the merits of your immigration situation, it is powerful when used correctly:

  • Provides immediate judicial oversight
  • Documents irregularities useful for subsequent appeals
  • Puts pressure on the administration to act properly
  • Can buy valuable time

Important: Only review the legality of the detention; do not review the denial of entry. The review must be well-founded so as not to raise false expectations.

Strategic coordination between the different avenues

What distinguishes a specialist lawyer is the ability to strategically coordinate the different avenues to maximise the chances of success.

Simultaneous and Planned Use

Practical example: You have been refused entry and transferred to a CIE. Your lawyer can:

  1. File habeas corpus if you have been detained for days without judicial oversight
  2. At the same time, file an administrative appeal with documentation proving you met the requirements
  3. If the administrative appeal is dismissed, prepare a contentious-administrative appeal with interim measures
  4. Document violations of rights for a possible claim for state liability

Each avenue has its timing, objective, and strategy. It is not about “firing in all directions”, but about designing a coherent plan.

Complex Cases: Simultaneous Criminal and Administrative Proceedings

If there are criminal implications (false documentation, judicial alerts, resisting authority), you need coordination between criminal defence and administrative defence so that strategies do not conflict.

Deadlines: your worst enemy if you do not act

In administrative law, deadlines are unforgiving. If you miss the established deadline, you definitively lose the right to appeal.

Critical deadlines

  • Administrative appeal: 1 month from notification
  • Contentious-administrative appeal: 2 months from the final decision
  • Habeas corpus: No deadline, but it must be filed when the unlawful deprivation of liberty occurs
  • Interim measures: Must be requested when filing the appeal

What happens if you miss a deadline?

The decision becomes final:

  • You lose the opportunity for the administration to reconsider
  • You lose the possibility of judicial review
  • The refusal of entry and ban are consolidated in your record
  • They will affect you for years in future attempts to travel or apply for visas

A specialist lawyer monitors all these aspects to ensure you do not miss any deadline.

Consequences of not appealing or appealing incorrectly

1. Consolidation of the negative record

If you do not appeal, the refusal of entry becomes final and consolidated in your record:

  • In future visa applications, it creates a very strong negative presumption
  • In future entry attempts, the authorities will be much stricter
  • In residence procedures, it will work against you

2. Entry ban in force

If you were given an entry ban (1–5 years) and you do not appeal it:

  • You cannot apply for a Schengen visa
  • You cannot travel to any of the 27 countries in the Schengen Area
  • If you try to enter, you will be refused again

Even after the period expires, the record continues to harm you.

3. Knock-on effects in other countries

The Schengen Information System (SIS) is shared by all Schengen countries and consulted by associated countries. A ban in Spain affects all of Europe.

4. Poorly drafted appeals: worse than not appealing

  • Unfounded appeals consolidate unfavourable decisions
  • False documentation may trigger criminal proceedings
  • Out-of-time appeals are declared inadmissible without examining the merits
  • Contradictions destroy your credibility

Why does specialisation make the difference?

Convergence of Legal Disciplines

A specialist lawyer masters:

  • Administrative law
  • Immigration law (Organic Law 4/2000, implementing regulations, police instructions)
  • European law (Schengen Borders Code, directives, CJEU case law)
  • Contentious-administrative procedural law
  • International and constitutional law

It is virtually impossible for a non-specialist lawyer to master all these areas with the necessary depth.

Irreplaceable practical experience

  • Knowledge of specific case law on airport refusals of entry
  • Court criteria depending on each court
  • Experience obtaining interim measures
  • Network of professional contacts (lawyers in other countries, experts, institutions)

Statistics show that appeals filed by specialist lawyers have a significantly higher success rate because they:

  • Identify procedural defects others do not see
  • Know what documentation can change the outcome
  • Know applicable case-law precedents
  • Avoid formal errors that lead to inadmissibility

At IN DIEM Abogados, we know the real criteria applied by the Government Sub-delegations and the most frequent mistakes made by the administration in airport refusals of entry. This practical experience allows us to file administrative appeals that are technically robust, well documented, and strategically focused, significantly increasing the chances of success compared to generic or poorly drafted appeals.

When is it realistic to appeal?

Cases with a high likelihood of success

  • Serious procedural defects (lack of notification, hearing, interpreter)
  • Demonstrable error in the assessment of the facts
  • Documentation that changes the assessment
  • Disproportionality of the measure

Cases with limited prospects

  • Confirmed false documentation
  • History of prior refusals of entry or expulsions
  • Well-founded security alerts
  • Formally correct and well-reasoned procedure

At IN DIEM, we will tell you from the outset the real prospects of your case so that you can make an informed decision.

Conclusion: your rights do not end at the airport

Being refused entry does not mean everything is over. You have rights, and those rights include the right to appeal.

Administrative and judicial remedies, when used correctly with proper advice, can:

  • Annul unlawful or unfair refusals of entry
  • Remove entry bans from your record
  • Prevent a mistake from following you for years
  • Protect your fundamental rights
  • Open the door to future travel and opportunities in Europe

For them to work, you need three essential things:

1. Act quickly: Deadlines are unforgiving

2. Solid documentation: An appeal without documentation has no chance

3. Specialist advice: These procedures are technically complex

If you have been refused entry, if you have been given an entry ban, if you believe your rights were violated, do not write the case off.

Consult a specialist lawyer. Have them explain the real options in your case. Have them design a strategy tailored to your circumstances. Have them defend you with the professional rigour these cases require.

Your future can change. But only if you act.

How can we help you at IN DIEM Abogados?

In situations of retention, inadmissibility, or detention of foreign nationals at Spanish airports, time is a decisive factor. Rapid and specialized legal action can make the difference between reversing the denial of entry or being returned to the country of origin with lasting administrative consequences.

At IN DIEM Abogados, we provide urgent legal assistance at airports to foreign nationals and their families, acting from the very first moment of the border procedure.

We can help you with:

  • Immediate legal assistance at the airport, both in retentions and in inadmissibility or administrative detention procedures.
  • Direct dialogue with the National Police at border controls and inadmitted persons’ rooms.
  • Review of the legality of the procedure, checking that all your rights are respected (legal assistance, interpreter, communication, motivation of the resolution).
  • Submission of urgent allegations and provision of documentation to try to reverse the denial of entry before the return.
  • Filing of appeals and urgent actions, including habeas corpus when there are irregularities in the deprivation of liberty.
  • Advice and coordination with family members and consulates, facilitating the rapid collection of documents and communication with the authorities.
  • Legal defense after return, analyzing the administrative consequences of the inadmissibility and the possibilities for appeal or lifting of entry bans.

We have specific experience in immigration procedures at the border, which allows us to act with speed, legal judgment, and practical knowledge of how airport controls work in Spain.

If you or a family member are held at an airport or facing a denial of entry, it is fundamental to contact a specialized lawyer immediately.
Early action can prevent serious consequences and protect your right to enter Spain legally.

Consult IN DIEM Abogados. We will analyse your case rigorously, tell you the real prospects and, if there is legal viability, design the appropriate strategy to defend your rights.


Preguntas frecuentes sobre recursos frente a inadmisión en aeropuerto

¿Se puede recurrir una inadmisión en aeropuerto?

Sí. La inadmisión en frontera es un acto administrativo y puede ser impugnada si existen errores de procedimiento, falta de motivación, vulneración de derechos o documentación que demuestre que se cumplían los requisitos de entrada.

¿Puedo recurrir aunque ya me hayan devuelto a mi país?

Sí. La devolución no impide necesariamente recurrir la resolución de inadmisión. Es importante actuar dentro de plazo para intentar anular la decisión, evitar efectos negativos futuros y proteger el historial migratorio.

¿Qué plazo hay para presentar recurso de alzada?

Con carácter general, el recurso de alzada debe presentarse en el plazo de un mes desde la notificación de la resolución de inadmisión. Dejar pasar el plazo puede hacer que la resolución quede firme.

¿Qué se puede alegar contra una inadmisión?

Pueden alegarse defectos de notificación, falta de intérprete, ausencia de trámite de audiencia, motivación insuficiente, errores en la valoración de los hechos, documentación no tenida en cuenta o desproporción de la medida adoptada.

¿Qué es el recurso contencioso-administrativo?

Es la vía judicial para que un juez revise si la inadmisión, la devolución o la prohibición de entrada se ajustan a derecho. Normalmente se utiliza tras la desestimación del recurso administrativo o cuando la resolución ya es firme en vía administrativa.

¿Qué plazo hay para acudir a la vía judicial?

El recurso contencioso-administrativo suele presentarse en el plazo de dos meses desde la notificación de la resolución administrativa firme. Es un plazo relevante y debe revisarse cuidadosamente en cada caso concreto.

¿Puede suspenderse una prohibición de entrada?

En determinados casos, puede solicitarse la suspensión cautelar de los efectos de la resolución, especialmente si existe una prohibición de entrada o un perjuicio difícilmente reparable. La concesión dependerá de la solidez jurídica del caso y de la documentación aportada.

¿Cuándo procede el habeas corpus?

El habeas corpus puede utilizarse cuando existe una privación de libertad ilegal o desproporcionada, por ejemplo, una permanencia excesiva sin control judicial o un internamiento irregular. No sirve para recurrir el fondo de la inadmisión, sino para controlar la legalidad de la privación de libertad.

¿Qué consecuencias tiene no recurrir la inadmisión?

Si no se recurre dentro de plazo, la resolución puede quedar firme y generar efectos negativos en futuras solicitudes de visado, nuevos intentos de entrada, procedimientos de residencia o alertas vinculadas al espacio Schengen.


Lawyers Specializing in Immigration Law: European Union, Latin America, Spain, and International Services

Abogados IN DIEM has a team with experience in roles such as magistrate, state attorney, prosecutor, and university professor, which will give you peace of mind and confidence, knowing you have the best team—one that is competitive and highly qualified to achieve your goals and meet your needs.

Residence Permits and Visas: We advise individuals and companies on obtaining residence permits, whether for work, studies, family reunification, or non-lucrative residence. We ensure that all procedures are carried out in accordance with current regulations and efficiently.

Work Permits and Self-Employment Authorisations: We guide foreign nationals through the process of obtaining employed or self-employed work permits, both for EU citizens and non-EU citizens, providing the necessary support to ensure the legality of their work activity in Spain.

Spanish Nationality: We provide legal advice throughout the process of obtaining Spanish nationality, whether by residence, marriage, or other means, ensuring comprehensive support at every step.

Family Reunification: We manage the family reunification process, both for immediate family members of resident foreign nationals and for those who wish to reunite with their family in Spain, ensuring compliance with legal requirements.

Immigration and Expulsion: We defend the rights of foreign nationals against administrative decisions that may affect their situation in Spain, including appeals against permit refusals and expulsion proceedings.

Advice to Companies: We advise companies that need to manage the hiring of foreign staff or wish to establish subsidiaries in Spain, ensuring compliance with labour and immigration regulations.

We are at your disposal for anything you need. You can reach us via IN DIEM Lawyers Phone (+34) 916 353 892. For urgent cases, you can contact us on IN DIEM 24-Hour Emergency Lawyers Phone: (+34) 610 667 452.


Did you know that Abogados IN DIEM offers online and expedited services?

We offer our clients the option of receiving assistance via video call or videoconference, as well as by phone, depending on their preference, so that the assistance is as personalized as possible, provided immediately, and without the need to travel. This service is complemented by communication via email, which facilitates the review and delivery of documentation.

In addition, for businesses and individuals, IN DIEM Abogados offers urgent services and 24-hour support for matters that require a quick response.


Would you like to know more about IN DIEM Abogados? Here is this short introductory video…

To acknowledge some of you, here’s this link.

You can find us in Seville, Madrid, Las Palmas de Gran Canaria, Málaga, Tomares, Coria del Río, Dos Hermanas, Mairena del Alcor, Estepona, Marbella, and Mairena del Aljarafe. We look forward to serving you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Legal Vision

Other posts on our blog that might interest you

Legal Assistance for Foreigners in Airport Inadmissibility Rooms or Detention in Spain: Rights and Procedures

Visas in Spain: legal framework for residing, working, or investing

Denial of Entry at the Airport: Most Common Grounds and Recommendations

What to do if you are held or detained at the airport due to denial of entry into Spain: legal assistance and first steps

Residency and Visas in Costa Rica: Taxation and Estate Planning for Spaniards