Quick answer: Yes. At U.S. airports, land crossings and seaports, Customs and Border Protection (CBP) officers can look through your phone without a warrant, and federal appeals courts have upheld basic manual searches without any suspicion. A more invasive “advanced” forensic search requires reasonable suspicion or a national security concern under CBP’s own policy. U.S. citizens cannot be refused entry for declining to unlock a phone, but the device can be held; green card holders and visitors face more serious consequences, so know your status before you travel.

Richard T. Herman, Esq.
Founder of Herman Legal Group, with more than 30 years of immigration-law experience. Richard’s profile · Why trust Richard Herman
What CBP can do, by traveler type
| Traveler | Can CBP search the phone? | If you refuse to unlock it |
|---|---|---|
| U.S. citizen | Yes, under the border search exception | You must be admitted, but CBP can detain the device and you may face a long secondary inspection |
| Green card holder | Yes | The device can be held. If CBP treats you as seeking admission (for example after a long trip or certain offenses), a refusal can complicate admission; see below |
| Visa holder or visitor (including ESTA) | Yes | CBP can refuse admission, cancel the visa or ESTA, and detain the device |
These powers apply at the border and its “functional equivalent,” such as an international arrivals hall. They come from CBP’s customs and immigration authority, including 8 U.S.C. 1357 and 19 U.S.C. 1582, and the long-standing border search exception to the Fourth Amendment warrant rule.
Basic and advanced searches of electronic devices
CBP’s public directive on border searches of electronic devices (Directive 3340-049A, issued in January 2018) sets two levels:
- Basic search: an officer manually scrolls through the phone, opening photos, messages, apps and files. No suspicion is required.
- Advanced search: the officer connects external equipment to review, copy or analyze the contents. This requires reasonable suspicion of a violation of law CBP enforces, or a national security concern, and supervisory approval.
Under the directive, officers may examine only information stored on the device, not content held only in the cloud, and should disconnect the phone from networks (for example, airplane mode) before searching. CBP may retain information related to immigration, customs or other enforcement matters. CBP’s website and the DHS privacy page on border device searches carry the published policy; check them for any newer version before you travel.
CBP data reported in March 2026 showed about 55,318 device searches in fiscal year 2025, up from earlier years, with roughly 13,590 involving U.S. citizens. Most were basic searches. Searches remain a small share of all travelers, but they are rising.
What the courts have said
The Supreme Court has not decided how the Fourth Amendment applies to phone searches at the border. The federal appeals courts are split on the details:
- Manual searches: courts that have addressed them, including the Seventh Circuit in United States v. Eta (July 6, 2026), treat them as routine border searches needing no warrant or suspicion.
- Forensic searches: the Fourth and Ninth Circuits have required at least reasonable suspicion, and the Ninth limits forensic searches to looking for digital contraband. The Eleventh Circuit requires no suspicion. The First Circuit upheld CBP’s policy in 2021.
- Warrants: a few district courts have required a warrant for some border phone searches, but no appeals court has adopted that rule, and lawsuits challenging CBP’s policy are pending.
Away from the border, the rule is different: in Riley v. California (2014), the Supreme Court held that police generally need a warrant, based on probable cause, to search a phone seized during an arrest. That is why an ICE officer stopping you inside the country does not have the same phone-search power CBP has at a port of entry. See what to say if ICE stops you.
Passwords, refusals and detained devices
CBP can ask for your passcode. Whether it can legally force you to give it is unsettled, but refusing has practical consequences. Officers can hold the phone for further inspection, generally up to five days under the directive and longer with supervisory approval, and should give you a Detention Notice and Custody Receipt (CBP Form 6051D). Never lie to an officer, never delete data in front of them and never physically resist; false statements and obstruction create far worse problems than the search itself.
Green card holders. A returning permanent resident generally is not treated as seeking admission unless an exception in INA 101(a)(13)(C) applies, such as an absence over 180 days or certain criminal offenses. In Blanche v. Lau (June 23, 2026), the Supreme Court held that border officers need not have clear and convincing evidence of an offense at the airport before treating a returning resident as seeking admission. If you have any criminal history or a long absence, get advice before you travel; see our Blanche v. Lau travel guide.
Visitors and visa holders. Content found on a phone, including messages or social media, has led to refused admission and visa cancellation. Admission is discretionary, and a refusal at the airport can affect future visas.
Lawyer, medical and work information
If your phone holds attorney-client communications, tell the officer. CBP’s directive requires special handling, including coordination with legal counsel, before privileged material is searched. Medical records, journalists’ work product and confidential business information must be handled according to applicable law and policy, but they are not automatically off limits. Employers who send staff abroad with company devices should set travel policies in advance.
How to protect your data before you travel
- Carry less. Travel with only the data you need, or a separate travel phone.
- Log out of cloud apps and turn off automatic sync; officers are supposed to examine only what is stored on the device.
- Power the phone off before inspection; strong passcodes protect more than face or fingerprint unlock.
- Back up your data in case the phone is detained.
- Carry your documents and a lawyer’s number, and know your status, including any past arrests, before you reach the counter.
- If something goes wrong, ask for the officer’s name and the receipt, write down what happened, and file a complaint through DHS TRIP or the CBP Information Center.
For other parts of the inspection, see our guides on CBP secondary inspection and your rights entering through an airport. For how agencies use online activity in immigration cases, read Can USCIS use your digital footprint against you?
Frequently asked questions
Can border patrol search my phone without a warrant?
Yes, at a port of entry. Basic manual searches need no warrant or suspicion; forensic searches need reasonable suspicion or a national security concern under CBP policy, and some circuits require it by law.
Can CBP force me to unlock my phone?
CBP can ask, and refusing can lead to device detention and, for noncitizens, refused admission. Whether you can be legally compelled to give a passcode is not settled.
Can CBP search the phone of a U.S. citizen?
Yes. Citizens are subject to the same border search authority, but a citizen cannot be denied entry for refusing to unlock a device.
Can ICE go through my phone?
Inside the United States, ICE generally needs your consent or a warrant to search a phone. Border search authority applies at the border and its functional equivalent.
Can CBP see my cloud data?
CBP policy limits searches to data stored on the device, and officers should disconnect it from networks first. Data synced to the phone can still be seen.
How long can CBP keep my phone?
CBP policy generally expects detentions to last no more than five days, with supervisory approval needed for longer; ask for a receipt and follow up in writing.
Herman Legal Group advises travelers, green card holders and employers on border inspection risks from Cleveland and Columbus and remotely nationwide. See our CBP border and airport entry page if you have a problem at a port of entry.
Updated October 27, 2026. General information, not legal advice for a specific case. Border search law is unsettled and CBP policy can change; check current CBP and DHS guidance before you travel.