Your phone holds your whole life, so the idea of an officer scrolling through it at the airport is unsettling. The rules depend entirely on where you are: a domestic TSA checkpoint and an international border crossing are governed by very different law.
Domestic checkpoints: TSA is looking for weapons, not data
At a normal domestic TSA checkpoint, screening exists to catch weapons and explosives. TSA officers are not there to read your text messages, and they generally have no authority to search the contents of your phone. They can require your device to go through the X-ray and can swab it, but reviewing your photos and messages is outside the checkpoint’s safety purpose. You can decline a request to unlock your phone at a domestic checkpoint.
The border is different: the border-search exception
International arrivals and departures are another world. Under the long-standing border-search exception to the Fourth Amendment, Customs and Border Protection (CBP) can inspect travelers and their belongings, including electronic devices, without a warrant. CBP policy distinguishes two types of device searches:
Basic (manual) search: an officer scrolls through the device by hand. CBP takes the position it can do this without any suspicion.
Advanced (forensic) search: connecting the device to equipment that copies and analyzes its data. CBP policy, and several courts, require reasonable suspicion (and the law here is split and evolving, with some courts demanding more).
Can you refuse to unlock at the border?
Your leverage depends on your status. A U.S. citizen cannot be denied entry to the country for refusing to unlock a device, though officers may detain you, and seize the phone for days or weeks. A lawful permanent resident is in a stronger position than a visa holder but can still face pressure. A visa holder or tourist who refuses can be denied entry. In all cases, officers can copy data they can access.
How to protect your data when crossing
Power the device fully off before reaching the border; a powered-down, encrypted phone is in its most protected state.
Use a strong passcode, not biometrics. A memorized passcode gets stronger legal protection, and you can disable Face ID or fingerprint unlock with a quick button gesture.
Minimize what you carry. Consider traveling with a clean device, and back up and remove sensitive data before international trips.
Stay calm and do not lie to officers or physically resist; assert your choice not to provide a passcode and ask whether you are free to go.
This is general information, not legal advice. Border-device law is unsettled and varies by circuit and by your immigration status. For a specific situation, talk to an attorney.
Frequently asked questions
Can TSA search my phone at a domestic airport?
Generally no. Domestic TSA screening targets weapons and explosives, not data, so officers have no general authority to search your phone’s contents, and you can decline a request to unlock it at the checkpoint.
Can border agents search my phone without a warrant?
Yes. Under the border-search exception, CBP can inspect devices at international crossings without a warrant. A basic manual search needs no suspicion under CBP policy; a forensic search generally requires reasonable suspicion, and the law is split.
Can I refuse to unlock my phone at the border?
A U.S. citizen cannot be denied entry for refusing, but the phone may be detained. A visa holder or tourist who refuses can be denied entry. Officers can copy whatever data they can access.
How do I protect my phone when traveling internationally?
Power the device fully off before the border, use a strong passcode rather than biometrics, minimize the data you carry or bring a clean device, and stay calm without lying or physically resisting.
This article is general legal information, not legal advice, and may not reflect the most current law or the law in your jurisdiction. Laws vary by state and change over time. For advice about your specific situation, consult a licensed attorney.
Knowing your rights is the first step
Join thousands committing to calmly and consistently exercise their constitutional rights.