On 3 August 2026, the Conseil d’État — France’s supreme administrative court — handed down a ruling that every foreign national facing administrative detention should know about. In its decision n° 499895, delivered by the 6th and 5th combined chambers and published in the court’s official Bulletin, the Conseil d’État held that a claim for damages based on the unlawfulness of a placement in rétention administrative (administrative detention) must be brought before the judicial courts, not the administrative courts. The applicant, an Algerian national whose detention had been declared irregular by the Bordeaux cour d’appel (court of appeal), had sued the State for €5,000 in moral damages before the administrative tribunal. His claim was rejected: he had filed in the wrong court.
The ruling is far more than a procedural detail. It draws a clear dividing line between two parallel systems of remedies in French immigration law: the administrative courts, which review decisions such as refusals of residence permits and OQTF (orders to leave French territory), and the judicial courts, which alone review the decisions that deprive a foreign national of liberty. Knowing which court to file in, with which documents and within which timeframes, determines whether a compensation claim will ever be examined on the merits.
This article sets out the legal framework of administrative detention in France, the role of the judicial magistrate who controls it, and — in light of the ruling of 3 August 2026 — the concrete steps to claim damages when a court has found the detention unlawful. Every decision and statutory provision cited below comes from the official case-law and legislative sources published by the French courts and Legifrance.
I. Administrative Detention in France: A Framework Anchored in Judicial Control
A. When the Préfet May Place a Foreign National in Detention
Administrative detention is a measure of last resort: it is designed to make sure a removal decision is actually enforced. Under article L. 731-1 of the CESEDA (Code de l’entrée et du séjour des étrangers et du droit d’asile, the immigration code), the situations covered include an OQTF for which the voluntary-departure period has expired or was never granted, an interdiction de retour sur le territoire français (a ban on re-entering French territory), a transfer to another State under the Dublin rules, an expulsion order, and a judicial or administrative ban from French territory. The same article provides that, in many of these situations, the préfet (the State’s local representative) may instead impose an assignation à résidence (residence assignment), a lighter measure involving reporting obligations, when removal remains a reasonable prospect but cannot take place immediately.
The conditions of placement are strict. Article L. 741-1 of the CESEDA, in the version in force since 11 November 2025, provides that the administrative authority “peut placer en rétention, pour une durée de quatre-vingt-seize heures, l’étranger qui se trouve dans l’un des cas prévus à l’article L. 731-1 lorsqu’il ne présente pas de garanties de représentation effectives propres à prévenir un risque de soustraction à l’exécution de la décision d’éloignement et qu’aucune autre mesure n’apparaît suffisante à garantir efficacement l’exécution effective de cette décision.” In plain terms: the initial placement is limited to ninety-six hours (four days), and it requires both a risk of flight — assessed under the same criteria as article L. 612-3 of the CESEDA or by reference to the public-order threat the person represents — and the absence of any other measure sufficient to guarantee that the removal will actually take place.
Where detention takes place is also framed by statute. Article L. 744-1 of the CESEDA states: “Lorsqu’il est fait application du présent titre, l’étranger est placé en rétention dans des locaux ne relevant pas de l’administration pénitentiaire.” Detention therefore occurs in facilities that are not part of the prison administration. The Conseil d’État described the framework in detail in its ruling of 22 May 2024 on the Mayotte detention sites: “Les étrangers faisant l’objet d’une rétention administrative sont, en application de l’article R. 744-1 du code de l’entrée et du séjour des étrangers et du droit d’asile, placés ou maintenus dans des établissements dénommés « centres de rétention administrative »” — foreign nationals subject to administrative detention are placed in establishments called centres de rétention administrative (administrative detention centres, or CRA). When, because of particular circumstances, immediate placement in a CRA is impossible, the préfet may use locaux de rétention administrative (holding areas), and a person may not be kept in such a local after the judicial magistrate has extended the detention — a safeguard the court recalled in Conseil d’État, 22 mai 2024, n° 465883.
B. The Judicial Magistrate: Guardian of the 96-Hour Rule and of Liberty
The central feature of the system is that the legality of the deprivation of liberty is not left to the administration itself: it is reviewed by the judicial order. Article L. 741-10 of the CESEDA, in force since 11 November 2025, provides: “L’étranger qui fait l’objet d’une décision de placement en rétention peut la contester devant le magistrat du siège du tribunal judiciaire, dans un délai de quatre-vingt-seize heures à compter de sa notification.” The placement decision may thus be challenged within ninety-six hours before a magistrate of the bench of the tribunal judiciaire (the judicial court of first instance), under the specific procedure laid down in articles L. 743-3 to L. 743-18 of the CESEDA. The deadline has changed over time — when the applicant in the August 2026 ruling was detained in June 2022, the applicable version of article L. 741-10 spoke of the juge des libertés et de la détention (judge of liberties and detention) and of a forty-eight-hour period — but the principle has never varied: the legality of the placement is for the judicial judge, not the administrative judge.
The same magistrate controls the duration of the detention. Article L. 742-1 of the CESEDA provides that the maintenance of a person in detention beyond the initial ninety-six hours “peut être autorisé, dans les conditions prévues au présent titre, par le magistrat du siège du tribunal judiciaire saisi à cette fin par l’autorité administrative” — any continuation of the detention beyond ninety-six hours requires the prior authorization of the judicial magistrate, applied for by the administration. The first extension, if ordered, runs for twenty-six days: article L. 742-3 states that “Si le juge ordonne la prolongation de la rétention, celle-ci court pour une période de vingt-six jours à compter de l’expiration du délai de quatre-vingt-seize heures mentionné à l’article L. 741-1.” Further extensions are subject to the same judicial authorizations, within the maximum durations set by the code.
The magistrate can also put an end to the detention at any time. Article L. 743-2 of the CESEDA provides: “A tout moment, le magistrat du siège du tribunal judiciaire peut, après avoir mis l’autorité administrative en mesure de présenter ses observations, de sa propre initiative ou à la demande du ministère public, décider la mise en liberté de l’étranger maintenu en rétention lorsque les circonstances de droit ou de fait le justifient, sous réserve de la compétence exclusive du juge administratif sur la décision de maintien en rétention d’un demandeur d’asile.” At any moment — on his or her own initiative, or at the request of the public prosecutor — the magistrate may order the release of a detained foreign national where the legal or factual circumstances justify it, with one express reservation: the decision to keep an asylum seeker in detention remains the exclusive province of the administrative judge.
This is exactly what happened in the case that gave rise to the ruling of 3 August 2026. The facts, as recounted in Conseil d’État, 3 août 2026, n° 499895, are simple: placed in administrative detention on 3 June 2022 to enforce an OQTF issued three days earlier, the applicant was released on 9 June 2022, when the judge delegated by the first president of the Bordeaux cour d’appel, hearing the appeal, “a jugé que la décision de rétention était entachée d’irrégularité et ordonné la remise en liberté” — found the detention decision irregular and ordered his release. The irregularity of the placement was thus judicially established, which is the necessary foundation for any compensation claim.
II. Claiming Damages After an Unlawful Placement: One Rule, Two Courts
A. The Jurisdiction Rule Confirmed on 3 August 2026
After his release, the applicant asked the administrative tribunal of Bordeaux to order the State to pay him €5,000 in moral damages for the unlawful placement. The tribunal rejected the claim on the merits on 27 June 2024. On cassation, the Conseil d’État informed the parties, under article R. 611-7 of the code de justice administrative, that it was considering raising on its own motion a ground that nobody had pleaded: the administrative tribunal had ruled on claims brought before a court of a different order, which had no jurisdiction to hear them. The applicant left the matter to the court.
The Conseil d’État ruled against him on that ground alone. Its reasoning is the heart of the decision: “Les décisions de placement en rétention administrative étant susceptibles de recours devant le juge judiciaire, celui-ci est, dès lors, compétent pour connaître des demandes d’indemnité fondées sur l’illégalité dont elles seraient entachées.” Because decisions to place a foreign national in administrative detention are challengeable before the judicial judge, that judge — and only that judge — is competent to hear damages claims based on the unlawfulness of such decisions. The court added: “la demande de M. A… tendant à ce que l’Etat soit condamné à lui verser une indemnité en réparation des préjudices résultant, selon lui, de la faute commise en le plaçant en rétention administrative, ne ressortit pas à la compétence de la juridiction administrative” — the claim for compensation based on a fault allegedly committed by placing him in detention does not fall within the jurisdiction of the administrative courts. Applying article L. 821-2 of the code de justice administrative, the Conseil d’État settled the case itself: it annulled the judgment of the administrative tribunal of Bordeaux and rejected the claim “comme portée devant un ordre de juridiction incompétent pour en connaître” — as brought before an incompetent court. No judge ever examined whether the applicant deserved the €5,000; the claim died on the doorstep of the wrong court.
The rule was already being applied by the lower courts. In CAA de Lyon, 30 avril 2025, n° 24LY03028, a Bangladeshi national who had been placed in detention on 18 July 2023 and who sought €20,000 in damages after his OQTF had been annulled by the administrative court, saw his claim rejected by the administrative tribunals. The court of appeal recalled the general principle — “Si la responsabilité qui peut incomber à l’Etat ou aux autres personnes morales de droit public en raison des dommages imputés à leurs services publics administratifs est soumise à un régime de droit public et relève en conséquence de la juridiction administrative, il en va autrement si la loi, par une disposition expresse, a dérogé à ces principes”: as a rule, damage caused by a public service is compensated before the administrative courts, unless a statute expressly derogates — and then stated the conclusion: “les décisions de placement en rétention administrative sont susceptibles de recours devant le seul juge judiciaire, lequel est également compétent pour connaître d’éventuelles actions en responsabilité engagées à l’encontre de l’Etat à raison de telles décisions.” The placement decisions are challengeable only before the judicial judge, who is therefore also competent for liability claims brought against the State in respect of those decisions.
The publication of n° 499895 in the Bulletin gives this rule the authority of the highest administrative court. Two practical consequences follow. First, a foreign national whose placement has been declared unlawful must direct his compensation claim to the judicial courts — in practice, the tribunal judiciaire — and not to the administrative tribunals. Second, filing before the administrative courts is not merely useless: it consumes time and money, and the rejection on jurisdictional grounds, while it does not decide the claim on the merits, forces the claimant to start over. The August 2026 ruling is therefore, above all, a warning about forum.
B. What the Administrative Courts Do Decide — and How to Prepare a Claim
The other half of the picture is just as important: when the fault alleged relates to administrative decisions such as a refusal of a residence permit or an OQTF — not to the placement decision itself — the administrative courts are fully competent, and they decide these claims on the merits, sometimes with substantial awards. The contrast is instructive.
In CAA de Nantes, 17 septembre 2024, n° 23NT00838, a Comorian national whose application for a residence permit had been unlawfully refused on 10 September 2015, a decision annulled by the administrative tribunal on 14 June 2017, obtained compensation from the State of €30,900 in total: €3,400 for the loss of a serious job opportunity, €26,000 in lost earnings over the periods when he could not lawfully work, and €1,500 in moral damages for the 643 days he spent in irregular status. The court held, as a matter of principle: “L’illégalité de cette décision constitue une faute de nature à engager la responsabilité de l’Etat” — the unlawfulness of the decision constitutes a fault capable of engaging the liability of the State. The award carried interest from 28 February 2018, the date on which the administration had received his prior claim.
In CAA de Paris, 17 octobre 2025, n° 25PA00348, a Malagasy national whose renewal of his residence permit had been unlawfully refused on 6 July 2020 — a decision annulled on 24 June 2021 — obtained €5,775.10 from the State: €4,275.10 corresponding to six months of lost disability allowance (€699.02 per month) and housing benefit (€156 per month), which he could no longer receive while holding only short-term provisional papers, plus €1,500 in moral damages. The administrative court compensated the moral harm even though the applicant had never been in irregular status, precisely because the refusal had left him in a precarious and uncertain situation that his state of health did not justify.
Smaller awards also illustrate the same mechanism. In CAA de Versailles, 14 février 2023, n° 21VE01248, the administrative courts awarded €800 in moral damages to a Malian national for the nine months and eight days he spent in irregular status following an unlawful refusal of renewal accompanied by an OQTF, both annulled on 15 September 2017. And in CAA de Marseille, 21 mai 2024, n° 23MA01564, a Senegalese national whose refusal of renewal was annulled on 27 March 2020 obtained €10,961.96 in total: €8,000 for his moral harm and the disruption of his conditions of existence — the court noting that, on the basis of the unlawful order, he had been placed under residence assignment and then held in administrative detention centres on two separate occasions — plus €2,961.96 representing the interest on a personal loan he had been forced to take out, €1,000 for his wife, whose naturalisation application had been rejected because of her husband’s irregular situation, and €500 for each of their children.
The Marseille case contains an important nuance. The administrative court compensated periods actually spent in detention centres — but it did so because the fault it was asked to repair was the unlawful refusal/OQTF, annulled by the administrative judge, of which the detention was one of the consequences. When the fault alleged is the placement decision itself, the Conseil d’État‘s ruling of 3 August 2026 directs the claim to the judicial courts. Identifying the faulty decision is therefore the first step of any strategy.
For a foreign national who has been unlawfully detained, the practical roadmap is as follows:
First, secure the decision that establishes the unlawfulness. The essential document is the order of the magistrate of the tribunal judiciaire, of the judge delegated by the first president of the cour d’appel, or of any court finding the placement irregular and ordering release — as in the August 2026 case — or, on the administrative side, the judgment annulling the OQTF or the refusal of the permit. Without such a decision, there is no fault to compensate.
Second, preserve every piece of evidence: the placement decision and its notification, the detention records, medical certificates, and any observations of the Contrôleur général des lieux de privation de liberté (the independent authority supervising places of deprivation of liberty). The amount of compensation depends on proof of the prejudice: the number of days of unlawful deprivation of liberty, the material losses, the impact on family members.
Third, address a formal prior claim (réclamation préalable) to the competent authority before going to court. In the administrative-track cases above, interest on the awards ran from the date of receipt of that prior claim — 28 February 2018 in the Nantes case, 19 October 2020 in the Marseille case — which makes it both a procedural requirement and a financial lever.
Fourth, choose the right court. Claims based on the unlawfulness of the placement belong to the judicial courts, under the rule confirmed on 3 August 2026. Claims based on an unlawful OQTF or refusal of a permit belong to the administrative tribunals, whose judges decide them on the merits. A claim filed before the wrong court is rejected without examination of the merits, and the time spent is lost.
Fifth, quantify with documents: moral harm linked to the duration of the unlawful deprivation of liberty or of the irregular status; material losses, such as lost earnings (compensated in the Nantes case at €26,000), the interest on loans contracted because of the situation (compensated in the Marseille case), or the loss of social benefits; and the harm suffered by close family members, who have been compensated in several of the decisions cited above.
Finally, where the detention is still ongoing and the violation concerns the conditions of detention rather than the placement itself, the emergency track remains available: the référé (emergency proceedings) under article L. 521-2 of the code de justice administrative, through which a judge must rule within forty-eight hours on measures necessary to safeguard a fundamental freedom. This was the avenue used, with success, in the summer of 2026 regarding the psychiatric infirmary of the Paris police prefecture: in Conseil d’État, ordonnance du 4 août 2026, n° 518094, the emergency judge confirmed that “Ce dépassement des délais impartis par les dispositions rappelées au point 18 est susceptible de constituer une atteinte grave et manifestement illégale à la liberté fondamentale que constitue le droit à la liberté et à la sûreté” — stays at the infirmary exceeding the prescribed time limits could constitute a serious and manifestly unlawful infringement of the fundamental right to liberty and security. The Contrôleur général des lieux de privation de liberté had reported that in 2025 nearly a quarter of the 1,456 people placed in that establishment had stayed there more than forty-eight hours, around 10% more than seventy-two hours, and a non-negligible share from four to seven days. The Conseil d’État ordered the police prefect to ensure the earliest possible orientation of the people held and to widen, without delay, the range of hospital facilities able to receive those requiring involuntary psychiatric care. The ruling shows the full range of levers available: urgent measures to stop an ongoing violation, and damages claims to repair one that is over — each before its own court.
Conclusion
The Conseil d’État‘s ruling of 3 August 2026 completes the map of remedies for foreign nationals detained in France. The placement decision, and any claim for damages based on its unlawfulness, belongs to the judicial courts; the administrative decisions — OQTF, refusals of permits, and the consequences of their unlawfulness — belong to the administrative courts, which have repeatedly condemned the State on the merits. The practical takeaways are concrete: keep the court order that declared the detention irregular, preserve the evidence of prejudice, file the formal prior claim, and sue in the right court. Where detention is ongoing and its conditions violate fundamental rights, the forty-eight-hour emergency judge remains the immediate line of defence. None of this guarantees a specific outcome — every case depends on its facts and on the evidence — but these are the steps that determine whether a claim will at least be examined on the merits. Foreign nationals facing these situations can find in-depth guidance on residence permits, OQTF appeals and detention remedies in our immigration law practice in Paris.