Yes, customs and border agents in the United States (CBP) and many other countries have the legal authority to search your electronic devices, including phones, tablets, and laptops, without a warrant. In 2026, this "border search exception" remains a standard practice intended to prevent the entry of illegal materials or to investigate national security concerns. While U.S. citizens cannot be denied entry for refusing to unlock their phone, the device itself can be seized and detained for an "advanced search" using external forensic equipment for days or even weeks. For non-citizens and visa holders, refusing to provide a passcode can lead to a formal denial of entry or the revocation of a visa. Border agents distinguish between a "basic" manual search and an "advanced" search; the latter requires "reasonable suspicion" under current policy but does not require the high bar of "probable cause." To protect your privacy in 2026, experts suggest traveling with a "clean" device, using cloud-only storage, or powering down the phone completely before the checkpoint to trigger encryption features.