CBP Device Searches at the Border: Basic vs. Advanced Under Directive 3340-049B
CBP can search your phone at the border without a warrant. Here is exactly where a basic search ends, an advanced search begins, and what the 2026 directive requires.

You land, your passport gets scanned, and instead of walking to baggage claim you're waved into a side room. An officer asks for your phone and your passcode. If you're on F-1, OPT, or H-1B, your mind immediately jumps to your SEVIS record, your job offer, your visa stamp — and whether handing over your phone can put any of that at risk.
Here's the governing framework as of this writing: CBP officers can refer any traveler to secondary inspection as routine screening, no suspicion required, and can conduct a basic manual search of a device on that same low bar. A more invasive advanced search — plugging your phone into forensic equipment — needs supervisory sign-off and either reasonable suspicion of a law CBP enforces or a national security concern. That line, and the procedures around it, come from CBP Directive No. 3340-049B, updated in January 2026. This is not legal advice about your specific situation; it's a walkthrough of the rule so you know what's actually happening if you're the one in that room.
The legal reality: the border is not the interior
US courts have long treated the border, and the "functional equivalent" of the border (a major international airport, for example), as a place where the government's authority to search is broader than almost anywhere else in the country. CBP doesn't need a warrant, and it doesn't need individualized suspicion to send you to secondary inspection or to conduct a basic search of an electronic device there. That's true whether you're a US citizen, a green card holder, or a visa holder on F-1 or H-1B.
This is different from a phone search during a traffic stop or a workplace investigation, where the Fourth Amendment's warrant requirement generally applies. At the border, the standard is much lower. CBP's own public guidance on this authority is published on cbp.gov, and it's worth reading once before you travel rather than during an encounter.
Basic search vs. advanced search, side by side
Directive 3340-049B (Jan. 2026) draws one clear line inside "device search," and the two sides of that line come with very different rules.
| Basic search | Advanced search | |
|---|---|---|
| What it is | An officer manually reviews content already on the device, using the device's own screen and interface | The device is connected to external equipment to copy content or run forensic analysis |
| Suspicion required | None — CBP discretion, same as the decision to refer someone to secondary inspection | Reasonable suspicion of a violation of a law CBP enforces, or a national security concern |
| Approval needed | Officer-level | Supervisory approval required |
| Typical scope | Scrolling through apps, photos, messages visible on the open device | Extracting and retaining data, sometimes including deleted content, for later analysis |
| What travelers should know | Can happen to anyone referred to secondary inspection | Is the higher bar — it does not happen just because you were sent to secondary inspection |
The practical takeaway: being sent to secondary inspection, by itself, only exposes you to a basic search. An advanced search is a separate, higher-threshold decision that a supervisor has to authorize for an articulable reason.
If you decline to unlock the device
Every traveler eventually asks the same question: what if I just say no? Under the directive, CBP's response to a refusal (or to a device it simply can't access — a forgotten passcode, an encrypted phone) is not to force entry. It's to detain the device.
- The officer requests access. This can happen as part of an otherwise routine secondary inspection.
- You decline, or the device can't be unlocked. CBP does not have unlimited authority to compel a passcode from every traveler, and the directive contemplates this scenario directly.
- CBP may detain the device. Detention generally should not exceed five calendar days under the directive, though extensions are possible in some cases.
- You should receive a written custody receipt documenting that the device was taken, so you have a record of what happened and can follow up.
- The device is eventually returned, or you're notified of next steps if the matter escalates beyond a routine inspection.
Two things worth being precise about. First, refusing to unlock a device is not, on its own, the "reasonable suspicion" that authorizes an advanced search — those are separate legal triggers. Second, a five-day detention window with possible extensions is meaningfully different from "you'll never see your phone again," but it is also not nothing if that phone has your boarding pass for a connecting flight, your two-factor authentication apps, or your only copy of an offer letter. Plan for the possibility, not just the best case.
What happens to privileged or sensitive material
If you're a graduate student with faculty correspondence, a professional with attorney communications about your case, or simply someone with medical information on your phone, Directive 3340-049B includes a specific procedure for that. When a traveler asserts that privileged material — attorney-client communications, medical records, or journalistic material are the categories named in the directive — is on the device, the officer is required to consult CBP's Office of Chief Counsel before reviewing that material further.
Asserting privilege doesn't stop the search of the rest of the device, and it's not a shortcut around a basic or advanced search generally. It's a narrower safeguard for a specific category of content, and it only works if you actually say something at the time — CBP officers have no way of knowing what's privileged unless you tell them.
Where this intersects with your visa status
A device search is a CBP matter. It doesn't automatically become a SEVIS or USCIS matter. But secondary inspection is also where officers sometimes ask about your program of study, your employer, or your travel purpose, and international students and workers understandably worry about the overlap. If an officer's questions in that room start touching on your F-1 program or OPT employer, it helps to already know what CBP officers commonly ask at the port of entry so you're not improvising answers about your own status for the first time under pressure.
It's also worth knowing the difference between what happens at a port of entry and what happens to your underlying immigration record. A rough secondary inspection experience is not the same thing as a SEVIS termination or a visa revocation — those are separate actions with separate triggers and separate remedies, and conflating them in the moment can lead to panicked decisions. If your status is ever affected by something that happens around a border crossing, reinstatement after a status violation follows its own USCIS process, and it starts with your DSO, not with anything you do at the airport.
Before you travel: the broader entry landscape
A device search is one piece of a bigger picture of border risk that's shifted a lot recently, and it's worth knowing the current state of a few adjacent rules so you're not relying on outdated advice from a friend who traveled a few years ago.
- Visa interview waivers ("dropbox") are gone for H-1B, H-4, L-1, F-1 and J-1 applicants — sources differ on the exact effective date, but the waiver option itself is no longer available, so plan for an in-person interview.
- Third-country stamping ended September 6, 2025. The old strategy of getting a visa stamped in a third country to skip a home-country queue no longer works — apply in your country of nationality or legal residence.
- Domestic stateside H-1B renewal is not back. That pilot ran only from January to April 2024.
- Don't travel while an OPT or STEM OPT I-765 is pending. Leaving the country during that window creates real risk to the pending application.
- Automatic visa revalidation has real exclusions — a pending or denied visa application, a terminated SEVIS record, or a trip over 30 days all take you outside it.
None of this changes the device-search rules above, but it's the same trip, and a border officer's device inquiry is rarely the only thing at stake when you travel internationally on F-1, OPT, or H-1B status. Check current visa interview wait times directly on travel.state.gov before you book anything, since they vary by post and change often.
Common mistakes
- Assuming a lawyer can be present during a CBP inspection. Unlike many domestic legal processes, there is generally no right to have an attorney physically present during CBP secondary inspection. Know the rules before you're in the room, not once you're in it.
- Deleting content right before travel. Scrubbing a phone in the days before a trip can itself read as suspicious and invites more scrutiny, not less. It also does nothing about content already backed up or synced elsewhere.
- Treating a basic search question as an invitation to over-explain. Officers are trained to notice inconsistency. Answer what's asked; don't volunteer a narrative about your job search, your employer's finances, or your visa timeline that isn't relevant to the question.
- Forgetting to mention privileged material. If you have attorney-client communications or medical records on the device and you want the directive's segregation procedure to apply, you have to say so — it isn't automatic.
- Confusing a rough CBP encounter with a status problem. A hard secondary inspection is not the same as a SEVIS termination or a visa revocation. Don't assume the worst outcome before you've actually confirmed anything with your DSO or an attorney.
- Not having a backup plan for a detained device. If your boarding pass, hotel confirmation, or two-factor codes live only on your phone, a multi-day detention can strand you logistically, not just legally. Keep a backup way to access critical travel documents.
Frequently asked questions
Can CBP search my phone even if I have done nothing wrong? Yes. CBP treats a referral to secondary inspection as routine border screening that any officer can make without individualized suspicion, and a basic manual search of your device falls within that same discretion under Directive 3340-049B. You do not need to have triggered any specific flag for an officer to ask you to unlock your phone.
What is the difference between a basic and an advanced CBP device search? A basic search is an officer manually scrolling through your device using its own interface, which CBP may do at its discretion. An advanced search means connecting your device to external equipment to copy data or run forensic analysis, and it requires supervisory approval plus either reasonable suspicion of a violation of a law CBP enforces or a national security concern.
What happens if I refuse to unlock my phone for CBP? CBP may detain the device if you decline to provide the password or if officers cannot otherwise access it. Under Directive 3340-049B, detention generally should not exceed five calendar days, though extensions are possible, and you should receive a written custody receipt documenting what was taken. Refusal itself does not automatically trigger an advanced search, but it can extend how long the encounter takes.
Can CBP look at privileged attorney-client or medical information on my phone? The directive includes procedures for segregating privileged material, including attorney-client communications, medical records and journalistic content. If you tell the officer that privileged material is on the device, the directive requires the officer to consult CBP's Associate or Assistant Chief Counsel before reviewing it, though you should still expect the device itself may be searched.
Does a CBP device search affect my F-1 or H-1B status? A device search by itself is a CBP border-inspection matter, not a SEVIS or USCIS status action. But what happens in secondary inspection can intersect with your status in serious ways, so if you are questioned about your F-1 program, OPT employer, or SEVIS record during the same encounter, that is a question for your DSO or an immigration attorney, not something to resolve on the spot.
Sources
- CBP, Border Search of Electronic Devices
- US Department of State, US Visas
None of this is legal advice, and CBP's discretion at the border is genuinely broad — a good encounter and a bad one can turn on details this guide can't anticipate for your situation. If a border experience or anything else in your job search timeline has you unsure what to do next, talk to the F1Jobs team about where you actually stand.
Frequently asked questions
Can CBP search my phone even if I have done nothing wrong
Yes. CBP treats a referral to secondary inspection as routine border screening that any officer can make without individualized suspicion, and a basic manual search of your device falls within that same discretion under Directive 3340-049B. You do not need to have triggered any specific flag for an officer to ask you to unlock your phone.
What is the difference between a basic and an advanced CBP device search
A basic search is an officer manually scrolling through your device using its own interface, which CBP may do at its discretion. An advanced search means connecting your device to external equipment to copy data or run forensic analysis, and it requires supervisory approval plus either reasonable suspicion of a violation of a law CBP enforces or a national security concern.
What happens if I refuse to unlock my phone for CBP
CBP may detain the device if you decline to provide the password or if officers cannot otherwise access it. Under Directive 3340-049B, detention generally should not exceed five calendar days, though extensions are possible, and you should receive a written custody receipt documenting what was taken. Refusal itself does not automatically trigger an advanced search, but it can extend how long the encounter takes.
Can CBP look at privileged attorney-client or medical information on my phone
The directive includes procedures for segregating privileged material, including attorney-client communications, medical records and journalistic content. If you tell the officer that privileged material is on the device, the directive requires the officer to consult CBP's Associate or Assistant Chief Counsel before reviewing it, though you should still expect the device itself may be searched.
Does a CBP device search affect my F-1 or H-1B status
A device search by itself is a CBP border-inspection matter, not a SEVIS or USCIS status action. But what happens in secondary inspection can intersect with your status in serious ways, so if you are questioned about your F-1 program, OPT employer, or SEVIS record during the same encounter, that is a question for your DSO or an immigration attorney, not something to resolve on the spot.