Loading Page...

Can customs force you to unlock your phone?

Could CBP agents ask for my thumbprint or passcode/PIN to unlock my electronic de- vice, or for my email or social media passwords? Yes, even if you are a U.S. citizen or a lawful permanent resident (LPR, or “green card” holder). The law on whether you are legally required to comply is unsettled.



As of 2026, the power of customs officers to force you to unlock your phone varies significantly by country, but in the United States, Canada, and Australia, they have broad authorities. Under the "border search exception," U.S. Customs and Border Protection (CBP) can generally search electronic devices without a warrant. While they cannot physically "force" your finger onto a sensor, they can detain your device for weeks, mirror its contents, or deny entry to non-citizens who refuse to comply. In the UK and Australia, refusing to provide a passcode can result in criminal prosecution or heavy fines under specific "TOLRP" or "SCCA" laws. However, there are evolving legal protections regarding "cloud data"; in many jurisdictions, officers can only search what is physically stored on the device, not your remote Google Drive or iCloud, unless they obtain a separate warrant. To protect privacy, many international travelers in 2026 use "Travel Mode" on their devices or perform a full backup and wipe before crossing sensitive borders, reinstalling their data only after they have successfully cleared customs.

People Also Ask

U.S. citizens cannot be denied entry to the United States for refusing to provide passwords or unlocking devices. Refusal to do so might lead to delay, additional questioning, and/or officers seizing your device for further inspection.

MORE DETAILS

The Immigration Officer can search for any relevant documents which establish the person's immigration status and ID, meaning the person's belongings – including electronic devices - could be searched.

MORE DETAILS

Officials at customs and immigration are checking travelers for things like whether they have the right documents to be in the country, whether they're legally allowed to be there, and whether they're bringing anything illegal with them.

MORE DETAILS

Everything written in your passport, including identifying details and any travel history it contains. Biometric information stored on the chip. Any information linked to your passport on their system (previous entries, visa applications, deportations, etc.).

MORE DETAILS

They don't put their entire trust in people's good character, of course; customs performs a thorough search of some percentage of all travelers. Some customs agencies decide which travellers to search based on random chance. You are asked to press a button on a machine that activates a random number generator.

MORE DETAILS

U.S. Customs and Border Protection (CBP) is taking your photograph in order to verify that each person presenting a travel document for entry into the U.S. is the true bearer of that document.

MORE DETAILS

Pursuant to this authority, customs officers may generally stop and search the property of any traveler entering the United States at random, or even based largely on ethnic profiles.

MORE DETAILS

162.6, which states that, All persons, baggage and merchandise arriving in the Customs territory of the United States from places outside thereof are liable to inspection by a CBP officer. Unless exempt by diplomatic status, all persons entering the United States, including U.S. citizens, are subject to examination ...

MORE DETAILS

Unlock Your Phone Before you can swap out your SIM card, make sure to “unlock” your mobile phone so it can work in the foreign country's wireless network. An unlocked phone isn't tied to a specific mobile carrier and will work with any carrier that uses the same wireless network.

MORE DETAILS

Passport details: The officer can view the passport's issue and expiry dates, the country that issued the passport, and the authority that issued it. Biometric data: Some passports contain a microchip that stores biometric data, such as a digital image of your face, which can be used for facial recognition purposes.

MORE DETAILS

It might not be scanning because: you haven't aligned the NFC reader on your phone with your passport; or. your passport chip might not be working.

MORE DETAILS

All in all, Airport scanners cannot see tampons, but they can detect items on your body; if agents are suspicious of you, they can tap down the search. Groping in front of others can be traumatizing, so better ask them to take you somewhere private to inspect your intimate body parts.

MORE DETAILS

For most travellers going through customs is simply a matter of answering a few questions and then being sent on your way. But certain things can make customs officials more suspicious and may get you flagged for a more thorough inspection.

MORE DETAILS

If a violation does occur, U.S. Customs will seize the merchandise and transport it from the Centralized Examination Station to an official property warehouse. The merchan- dise will remain in the warehouse until Customs authorizes its release.

MORE DETAILS