Short answer: To secure your phone before a border crossing, back it up, update it, and reduce what is stored locally, because border searches generally look at data on the device rather than in the cloud. Sign out of apps you do not need on the trip, remove sensitive files you can access later, and consider a separate travel phone for high-risk work. Use a strong passcode and know how to switch off Face ID or fingerprint unlock quickly. Understand the rules of the country you are entering: in the United States, CBP can conduct basic manual searches and, with reasonable suspicion and supervisor approval, advanced searches that copy data. Refusing to unlock can lead to the device being detained. Never lie to officers; plan ahead instead.
Why border searches are different
At an international border, the usual expectations about device privacy are weaker in many countries. Customs and immigration officers may ask to inspect phones, laptops and storage devices as part of deciding whether people and goods can enter. Rules differ from country to country, and they change, so check official guidance for your destination before you travel. This article uses US Customs and Border Protection (CBP) rules as a detailed example because CBP publishes them openly.

The numbers put the risk in perspective. CBP says that in fiscal year 2024 it processed over 420 million travelers at ports of entry and searched the devices of 47,047 travelers, less than 0.01 percent of arriving international travelers. About 90 percent of those searches were basic. Most travelers will never be asked, but journalists, lawyers, activists, researchers and business travelers carrying confidential data have good reason to prepare.
What US border officers can and cannot do
| Topic | CBP policy (as published) |
|---|---|
| Basic search | An officer manually reviews the device without external equipment |
| Advanced search | External equipment copies or analyzes data; requires reasonable suspicion or a national security concern and senior manager approval |
| Cloud data | Searches cover data on the device; officers disable network connections and may not access remotely stored information |
| Passcodes | Travelers must present devices in a state that allows examination; passcodes provided are deleted after use |
| Refusal, US citizens | Cannot be denied entry for refusing, but the device may be detained |
| Refusal, foreign nationals | May face adverse consideration in admissibility decisions |
| Retention | Copies may be kept with probable cause or for enforcement matters |
Two points matter most for preparation. First, the search is limited to what is physically on the device, which is why reducing local data works. Second, a locked device can be detained, which is why a backup at home is essential.
The week before you travel
1. Make a full backup and test it
If your phone is detained, damaged or lost, a recent backup means you lose time, not data. Back up to your computer or cloud service, then confirm the backup completed. Keep any recovery keys at home or in a password manager you can reach from another device.
2. Update the operating system and apps
Updates fix security flaws that forensic tools and criminals both exploit. Install them a few days before departure so you are not troubleshooting at the airport. Our smartphone security checklist lists the settings worth confirming at the same time.
3. Reduce what lives on the phone
Ask what you truly need during the trip. Offload confidential work files, old photos and message archives to encrypted storage at home or in the cloud. Sign out of email accounts, cloud drives and messaging apps you will not use while traveling, and turn off message syncing for apps that store years of history locally. You can sign back in after you arrive.
Do not try to hide data or wipe a phone at the checkpoint. Deleting evidence or lying to officers can create legal trouble in itself. The goal is honest minimization done in advance.
4. Consider a travel phone
For high-risk trips, many organizations issue a clean phone with only the apps and accounts needed for the journey. Lawyers and journalists with privileged or source material should talk to their employer or legal counsel about professional obligations before traveling.

5. Strengthen the lock screen
Use a long alphanumeric passcode rather than a short PIN, hide notification previews on the lock screen, and disable lock-screen access to features such as replies and control center items. Turn on the phone’s find and remote-erase features so you can act if it is stolen on the trip.
At the checkpoint
Biometric unlock can be triggered by holding a phone up to your face. Before you reach the officer, many travelers switch to passcode-only mode. On an iPhone, pressing and holding the side button with either volume button until the power-off screen appears requires the passcode for the next unlock. Many Android phones offer a Lockdown option in the power menu that does the same. Powering the phone off completely also returns it to its most protected state.
Stay calm and polite. If officers ask to inspect a device, you can ask what kind of search it is and request a receipt if it is detained. If you carry privileged material, say so clearly; CBP has special handling procedures for claimed attorney-client material. Write down officers’ names, badge numbers and what was examined.
After the crossing
If your device was taken out of your sight or connected to equipment, treat it as potentially compromised. Change passwords for the accounts that were signed in, review active sessions in your email and cloud accounts, and consider restoring the phone from your pre-trip backup. Turn syncing and sign-ins back on once you are on a network you trust; our guide to staying safe on public Wi-Fi covers hotel and airport networks.
Protect your phone number too. Travel is a common time for SIM swap fraud because victims notice late. A carrier account PIN and moving two-factor authentication off text messages, as described in our SIM swap protection guide, help keep your accounts safe while you are away.
Quick pre-trip checklist
- Backup completed and verified.
- System and apps updated.
- Unneeded accounts signed out; sensitive files offloaded.
- Strong passcode set; notification previews hidden.
- You know how to disable biometrics quickly.
- Find My or Find Hub turned on; recovery details stored at home.
- Destination rules checked on the official government site.
Frequently asked questions
Can US border officers look at my cloud accounts?
CBP’s published policy says searches cover only data on the device at the time, that officers disable network connections, and that they may not access information stored only remotely.
What happens if I refuse to unlock my phone?
Under CBP policy, US citizens cannot be denied entry for refusing, but the device may be detained. Foreign nationals who refuse may face consequences for admission. Other countries have their own rules.
Should I factory reset my phone before flying?
Some high-risk travelers use a freshly reset travel phone. For most people, a verified backup plus signing out of sensitive apps is enough. Resetting at the checkpoint is a bad idea.
Does turning the phone off help?
A powered-off modern phone is in its most protected state and requires the passcode to unlock, so it is a reasonable habit before inspection areas.



