You have specific legal rights the moment an immigration officer stops you, and knowing them can change what happens next

If an immigration officer detains you, you do not have to answer questions beyond providing your name. You have the right to remain silent, the right to refuse a search of your belongings without a warrant, and the right to contact a lawyer or your consulate. These rights exist whether you are a citizen, a permanent resident, or undocumented. An officer can detain you based on suspicion of immigration violations, but they cannot hold you indefinitely without a hearing — federal law sets time limits, though they vary by your immigration status and the reason for detention.

What happens in the first hours matters most. The decisions you make — what you say, whether you sign documents, whether you consent to a search — affect everything that follows. This guide explains what immigration detention is, what officers can and cannot do, what your rights are at each stage, and what to do if you are detained.

Key Takeaways

  • You have the right to remain silent and refuse to answer questions beyond your name, even if an officer says you must cooperate.
  • You can refuse a search of your body, car, or belongings unless the officer has a warrant signed by a judge — verbal permission from you is not required.
  • You have the right to contact a lawyer or your country's consulate, and you should ask for one before answering any questions.
  • Immigration detention has time limits: officers must bring you before an immigration judge within a set number of days, or they must release you.
  • If you are detained, do not sign any documents without understanding what they say, and do not agree to "voluntary departure" without legal information.

What immigration detention is and when it can happen

Immigration detention is when an officer from U.S. Immigration and Customs Enforcement (ICE), U.S. Customs and Border Protection (CBP), or a state or local police officer working with immigration authorities holds you based on suspected immigration violations. This is different from criminal arrest. An immigration officer does not need a warrant to detain you if they have reasonable suspicion that you are in the country illegally or have violated immigration law. They can stop you at a border, an airport, a workplace, or the street.

The officer must have a reason — they cannot detain you solely because of your appearance, accent, or national origin. Common reasons include: you were found in a location known for undocumented immigrants, you cannot produce documents proving legal status, you were referred by another agency, or you match information in an immigration database. Once detained, you are held in a facility — often a local jail, a CBP processing center, or an ICE detention center — while your immigration case moves forward.

Your rights during the stop and initial detention

The moment an officer stops you, you have rights. You do not have to answer questions about where you were born, how you entered the country, or your immigration status. You can say: "I do not wish to answer questions." You must provide your name if asked, but beyond that, silence is your right. Anything you say can be used against you in immigration court, so speaking to an officer without a lawyer present is almost always a mistake.

You have the right to refuse a search of your body, your car, your bag, or your home unless the officer shows you a warrant signed by a judge. A warrant must name you or your property specifically. An officer cannot search you based on your verbal permission alone — they need either a warrant or an exception (such as a search incident to a lawful arrest for a crime). If an officer asks to search, you can say: "I do not consent to a search." Do not physically resist; straightforward state your refusal clearly.

You have the right to contact a lawyer or your country's consulate. Tell the officer: "I want to speak to a lawyer" or "I want to contact my consulate." Once you make this request, the officer must stop questioning you. They may continue to hold you, but they cannot interrogate you further. If you cannot afford a lawyer, you may be able to reach a legal aid organization or an immigration nonprofit that provides free or low-cost help.

What happens after detention: the timeline and your hearing rights

After you are detained, the officer must complete paperwork and decide where to hold you. Within 72 hours of arrest, ICE must either release you or bring you before an immigration judge for a hearing. This hearing is called a "probable cause" or "custody" hearing. At this hearing, the government must show that you are who they say you are and that they have reason to believe you violated immigration law. You have the right to be represented by a lawyer at this hearing, though the government does not have to provide one for free.

If you are not brought before a judge within 72 hours, you may be released, though this does not always happen automatically — you or a lawyer must request it. The 72-hour clock starts when you are taken into custody, not when you arrive at a facility. If you are detained over a weekend or holiday, the clock may pause, depending on the court's rules.

At the custody hearing, a judge decides whether to release you, set bond (money you pay to be released while your case continues), or keep you detained. The judge considers whether you are a flight risk, whether you are a danger to the community, and your ties to the United States. If you have family, a job, or a home here, tell your lawyer — these facts matter. If you cannot afford bond, you can ask the judge to lower it or release you on your own recognizance (a promise to return).

Documents you may be asked to sign and what they mean

Officers may ask you to sign several documents. Do not sign anything without understanding it or without a lawyer reviewing it first. Here are the most common ones:

Form I-867 (Record of Deportable/Removable Alien): This is a statement of facts about you. Anything you say on this form can be used against you. Do not sign it without a lawyer.

Form I-213 (Record of Arrest and Interview): This documents what the officer observed and what you said. Review it carefully — it often contains errors. You can request corrections before signing.

Voluntary Departure: This is an agreement to leave the country on your own instead of going through removal proceedings. It sounds straightforward, but it has serious consequences: you may be barred from returning to the United States for years, and you lose the chance to fight your case in court. Never agree to this without a lawyer.

Consent to Search: This gives the officer permission to search your property. Do not sign this. Your refusal to sign does not stop them if they have a warrant, but it protects your rights if they do not.

What to do if you are detained

If you are detained, follow these steps:

  1. Stay calm and do not resist. Resisting can lead to additional criminal charges. Comply with orders to move or sit, but do not answer questions.
  2. Say clearly: "I want to speak to a lawyer." Repeat this if asked questions. Do not answer anything else.
  3. Ask for your consulate. If you are not a U.S. citizen, you have the right to contact your country's embassy or consulate. The officer must allow this.
  4. Remember details. Try to remember the officer's name, badge number, the agency, the time, and the location. Write these down as soon as you can.
  5. Contact someone outside. You have the right to make a phone call. Call a family member, a lawyer, or a trusted friend. Give them your location and the officer's information.
  6. Do not sign documents. Ask to review any document with a lawyer first. If you cannot reach a lawyer, ask the officer to wait. Do not sign under pressure.
  7. Prepare for your hearing. Gather documents that show your ties to the United States: a job letter, a lease, school records, family relationships, medical records, or community involvement. These help a judge decide whether to release you.

Finding legal help during detention

You need a lawyer. Immigration law is complex, and mistakes made during detention can affect your case for years. Several organizations provide free or low-cost help:

Legal aid organizations: Search "immigration legal aid" plus your state or city name. Many nonprofits offer free consultations and representation based on income.

Your consulate: Your country's embassy or consulate can connect you with lawyers and may provide limited help. Ask the detention facility for the consulate's phone number.

Law school clinics: Many law schools run immigration clinics that represent detained people for free.

Immigration hotlines: Organizations like the American Immigration Council and the Immigrant Defenders Law Center run hotlines that answer questions and refer you to local lawyers.

If you are detained, the facility must provide you with a list of free and low-cost legal services. Ask for it. If you cannot reach a lawyer before your hearing, tell the judge you need time to find one. Judges can postpone hearings to allow you to get representation.

Your rights if you are a permanent resident or citizen

If you are a permanent resident (green card holder) or a U.S. citizen, you still have rights during a stop, but your situation is different. A permanent resident can be detained if there is reason to believe they committed a crime or violated immigration law, but the standard is higher than for other people. A U.S. citizen cannot be detained based on immigration violations — if an officer detains a citizen, it must be for a criminal reason, and the officer must follow criminal law procedures, not immigration law.

If you are a permanent resident, carry your green card. If you are a citizen, carry a passport or birth certificate. These documents can resolve the detention quickly. Even with documents, you have the right to remain silent and to speak to a lawyer. Do not assume that having legal status means you can safely answer questions — anything you say can still be used against you.

Frequently Asked Questions

Can an officer search my phone or computer without a warrant?

No. An officer needs a warrant signed by a judge to search your phone, computer, or other electronic device. If they ask, say: "I do not consent to a search of my phone." Do not unlock it or hand it over. If they have a warrant, you must comply, but without one, you can refuse.

What if I am detained at the border or airport?

Border and airport detention follows similar rules, but CBP (Customs and Border Protection) has slightly different procedures than ICE. You still have the right to remain silent and to contact a lawyer. CBP must bring you before a judge within 72 hours if you are held for immigration reasons. Tell an officer when ready if you want a lawyer.

Can they detain me if I am a victim of trafficking or domestic violence?

You may have special protections. If you are a victim of human trafficking, you may be may be able to access for a T visa. If you are a victim of domestic violence, sexual assault, or other crimes, you may be may be able to access for a U visa or VAWA protection. These statuses can prevent detention and provide a path to legal status. Tell an officer or a judge about your situation, and ask to speak to a lawyer who handles these cases.

How long can they hold me without a hearing?

ICE must bring you before an immigration judge within 72 hours of arrest, or they must release you. The 72 hours does not include weekends or holidays in some cases. If you are not brought before a judge within this time, you or a lawyer can request your release. After the initial hearing, detention can continue while your immigration case moves through the courts, which can take months or years.

What happens if I sign a voluntary departure agreement and then change my mind?

Once you sign, it is very difficult to undo. Voluntary departure means you agree to leave the country by a certain date. If you do not leave by that date, you are ordered removed and may be barred from returning for years. If you have already signed and want to withdraw, you need a lawyer when ready. Some judges will allow withdrawal if you ask quickly, but it is not may provide. This is why you should never sign without legal information.