For external links to the full text of relevant instruments or guidelines, click on the abbreviated title provided.  To continue your search, scroll up to the search box above.

Instrument
Provision
Text
4
Any form of detention or imprisonment and all measures affecting the human rights of a person under any form of detention or imprisonment shall be ordered by, or be subject to the effective control of, a judicial or other authority.
11
1. A person shall not be kept in detention without being given an effective opportunity to be heard promptly by a judicial or other authority. A detained person shall have the right to defend himself or to be assisted by counsel as prescribed by law.

2. A detained person and his counsel, if any, shall receive prompt and full communication of any order of detention, together with the reasons therefor.

3. A judicial or other authority shall be empowered to review as appropriate the continuance of detention.
P12
Any form of administrative detention or custody in the context of migration must be applied as an exceptional measure of last resort, for the shortest period and only if justified by a legitimate purpose, such as documenting entry and recording their claims or initial verification of identity if in doubt.
P13
Any form of detention, including detention in the course of migration proceedings, must be ordered and approved by a judge or other judicial authority. Anyone detained in the course of migration proceedings must be brought promptly before a judicial authority, before which they should have access to automatic, regular periodic reviews of their detention to ensure that it remains necessary, proportional, lawful and non-arbitrary. This does not exclude their right to bring proceedings before a court to challenge the lawfulness or arbitrariness of their detention.
I.9
A court shall review the arbitrariness and lawfulness of the deprivation of liberty. It shall be established by law and bear the full characteristics of a competent, independent and impartial judicial authority capable of exercising recognizable judicial powers, including the power to order immediate release if the detention is found to be arbitrary or unlawful.
I.43
Irrespective of the body responsible for their detention order, administrative or other, such non-nationals shall be guaranteed access to a court of law empowered to order immediate release or able to vary the conditions of release. They shall promptly be brought before a judicial authority before which they should have access to automatic, regular periodic reviews of their detention to ensure that it remains necessary, proportional, lawful and non-arbitrary. This does not exclude their right to bring proceedings before a court to challenge the lawfulness or arbitrariness of their detention.
II.53(c)
In undertaking the review of the detention, the court has the authority:

(c) To order immediate release if the detention is found to be arbitrary or unlawful. Any court order of release shall be respected and immediately implemented by the State authorities.
O13.29(f)
We commit to ensure that any detention in the context of international migration follows due process, is non-arbitrary, based on law, necessity, proportionality, and individual assessments, is carried out by authorized officials, and for the shortest possible period of time, irrespective of whether detention occurs at the moment of entry, in transit, or proceedings of return, and regardless of the type of place where the detention occurs. We further commit to prioritize non-custodial alternatives to detention that are in line with international law, and to take a human rights-based approach to any detention of migrants, using detention as a measure of last resort only.

To realize this commitment, we will draw from the following actions:

(f) Reduce the negative and potentially lasting effects of detention on migrants by guaranteeing due process and proportionality, that it is for the shortest period of time, that it safeguards physical and mental integrity, and that, at a minimum, access to food, basic health care, legal orientation and assistance, information and communication as well as adequate accommodation is granted, in accordance with international human rights law.
33
Reaffirming that all individuals who have crossed or are seeking to cross international borders are entitled to due process in the assessment of their legal status, entry and stay, we will consider reviewing policies that criminalize cross border movements. We will also pursue alternatives to detention while these assessments are under way. Furthermore, recognizing that detention for the purposes of determining migration status is seldom, if ever, in the best interest of the child, we will use it only as a measure of last resort, in the least restrictive setting, for the shortest possible period of time, under conditions that respect their human rights and in a manner that takes into account, as a primary consideration, the best interest of the child, and we will work towards the ending of this practice.
18
Detention in the course of proceedings for the control of immigration is not per se arbitrary, but the detention must be justified as reasonable, necessary and proportionate in the light of the circumstances and reassessed as it extends in time. Asylum seekers who unlawfully enter a State party’s territory may be detained for a brief initial period in order to document their entry, record their claims and determine their identity if it is in doubt. To detain them further while their claims are being resolved would be arbitrary in the absence of particular reasons specific to the individual, such as an individualized likelihood of absconding, a danger of crimes against others or a risk of acts against national security. The decision must consider relevant factors case by case and not be based on a mandatory rule for a broad category; must take into account less invasive means of achieving the same ends, such as reporting obligations, sureties or other conditions to prevent absconding; and must be subject to periodic re-evaluation and judicial review. Decisions regarding the detention of migrants must also take into account the effect of the detention on their physical or mental health. Any necessary detention should take place in appropriate, sanitary, non-punitive facilities and should not take place in prisons. The inability of a State party to carry out the expulsion of an individual because of statelessness or other obstacles does not justify indefinite detention. Children should not be deprived of liberty, except as a measure of last resort and for the shortest appropriate period of time, taking into account their best interests as a primary consideration with regard to the duration and conditions of detention, and also taking into account the extreme vulnerability and need for care of unaccompanied minors.