Habeas Corpus: When It Applies and How It Works
This page is a translation of the original Portuguese text, provided for convenience. It deals with Brazilian law. If there is any discrepancy, the Portuguese version prevails. Read the original in Portuguese
Habeas corpus is the constitutional safeguard that protects freedom of movement against unlawful arrest and coercion. Provided for in Article 5, item LXVIII, of the Constitution, it allows anyone to turn to the courts when a person is suffering, or is threatened with, an improper restriction on the right to come, go, and stay.
What Habeas Corpus Is
Habeas corpus is a constitutional action designed to protect freedom of movement: the right to come, go, stay, and travel without unlawful interference. The Latin expression means, loosely, “that you have the body,” and it captures the central idea of the remedy: ensuring that no one is deprived of liberty outside the circumstances the law allows.
It is one of the oldest and most important tools citizens have against the power of the state. Whenever an arrest, detention, or any other form of physical restraint is carried out unlawfully or through abuse of power, this remedy is available to end the violation or the imminent risk to that fundamental right.
The purpose is not to debate the full merits of a case, but to check whether the restriction on liberty is lawful. For that reason, habeas corpus requires that the violation be shown on the face of the filing, with evidence already in hand and no need for extended fact-finding. The court’s review is summary and aimed at the immediate correction of an evident illegality.
Constitutional and Statutory Basis
The remedy rests on Article 5, item LXVIII, of the Federal Constitution, which guarantees habeas corpus whenever someone suffers, or is under threat of suffering, violence or coercion against their freedom of movement through illegality or abuse of power. Article 5, item LXXVII, of the same Constitution makes the action free of charge, with no court costs to pay.
At the statutory level, the Code of Criminal Procedure governs the remedy in Articles 647 to 667. Article 647 provides that habeas corpus is available whenever someone suffers, or is on the verge of suffering, unlawful coercion of their freedom to come and go, except in cases of disciplinary punishment.
This combination of constitutional and procedural rules gives habeas corpus a dual nature. On one hand, it is a fundamental right that protects liberty. On the other, it is a court action with its own fast, informal procedure, designed to deliver quick results when the coercion cannot wait.
When Habeas Corpus Is Available
Article 648 of the Code of Criminal Procedure lists the situations in which coercion is considered unlawful. The list is objective and serves as a guide both for citizens and for professionals who defend liberty. Knowing these situations helps identify when this constitutional remedy is the right path.
Coercion is unlawful when there is no just cause for the arrest; when someone remains in custody longer than the law allows; or when the order came from an authority without the power to issue it. In these cases, the deprivation of liberty violates the legal system itself and calls for immediate correction.
Coercion is also unlawful when the reason that justified the arrest has ceased; when bail is denied in cases where the law permits it; when the proceeding is manifestly void; and when the possibility of punishment has already expired, whether through the statute of limitations or another cause. In each of these situations, maintaining the restriction means perpetuating an illegality.
It is important to note that the party imposing the coercion is not always a public official. Although the most common case involves an act by a police chief, a judge, or an administrative authority, habeas corpus is also allowed against restraint imposed by a private individual, such as the improper confinement of a person in a private facility.
Freedom of movement is the rule; deprivation of liberty is the exception, allowed only within the strict limits of the law.
It is worth keeping the limits of the remedy in mind. Case law has established that habeas corpus is not the proper vehicle for disputes that require an in-depth examination of evidence, or for issues with no direct effect on freedom of movement. Precedent Ruling (Súmula) 693 of the Supreme Federal Court, for example, rules out habeas corpus against a decision that imposes a fine alone.
Types of Habeas Corpus and Who Can File
There are two main types of habeas corpus, defined by when it comes into play. Repressive habeas corpus, also called liberatory, is used when the coercion has already taken place, and it seeks to end an arrest or unlawful restraint that is under way. Its goal is to restore lost liberty immediately.
Preventive habeas corpus, by contrast, applies when there is a concrete and imminent threat to freedom of movement, but the restriction has not yet occurred. In that case, a favorable ruling results in a safe-conduct order (salvo-conduto), a document that protects the person from the unlawful arrest that was looming.
One notable feature of this remedy is how broadly the right to file is granted. Unlike other legal actions, habeas corpus may be filed by anyone, on their own behalf or on behalf of another person, without a lawyer and without rigid formalities. The person affected, a family member, or even a stranger can bring the matter before the courts.
It helps to distinguish two roles that are often confused. The petitioner (impetrante) is the person who files the action, that is, the one who brings the matter before the court; the patient (paciente) is the person who is suffering, or is threatened with, the unlawful coercion and for whom the order is sought. Nothing prevents them from being the same person, when the person under threat files on their own behalf, or from being different people, as when a family member files on behalf of someone in custody.
The informality extends to the courts’ own conduct. A judge or court may grant the order on its own initiative when, in the course of a case, it finds unlawful coercion, even if no one asked for it. This possibility reinforces the nature of habeas corpus as a safeguard of rights rather than a mere procedural filing by the parties.
Jurisdiction depends on the authority named as the source of the coercion. When the act comes from a first-instance authority, the petition is generally directed to the corresponding appellate court. When it involves authorities with special jurisdiction, the matter may fall to the higher courts. Correctly identifying the authority responsible for the coercion is an essential step in directing the petition to the right court.
Frequently Asked Questions
Do I need a lawyer to file a habeas corpus petition?
No. Habeas corpus is one of the few legal actions that does not require a lawyer. Anyone can file it, on their own behalf or for someone else, and the action is free, with no court costs. Even so, professional legal help is usually advisable, because properly demonstrating the illegality and directing the petition to the correct court significantly improve the chances of success.
Is habeas corpus only available against an arrest that has already happened?
No. There are two types. Repressive habeas corpus applies when the arrest or unlawful restraint has already occurred, and it seeks to end it. Preventive habeas corpus applies when there is a concrete and imminent threat to liberty, before the restriction takes place, and it results in a safe-conduct order. The remedy thus protects both people whose liberty has already been restricted and people at real risk of unlawful coercion.
Can habeas corpus be filed against an act by a private individual?
Yes. Although the most common case involves an act by a public authority, legal scholarship and case law allow habeas corpus when the restraint on liberty comes from a private individual. The traditional example is the improper confinement of a person in a private facility. What matters is the existence of an unlawful restriction on freedom of movement, not whether the person imposing the coercion is public or private.
Receba novidades por e-mail
Cadastre-se gratuitamente para receber nossos novos artigos.
Seus dados estão protegidos conforme a LGPD.
Ficou com dúvidas? Fale com um advogado especialista.
📱 Falar pelo WhatsAppAs informações deste artigo são de caráter informativo e não substituem consulta jurídica individualizada. Cada caso possui particularidades que exigem análise específica.






