US Customs and Border Protection (CBP) has the authority to search electronic devices — including phones, laptops, tablets, and other electronic devices — of anyone entering the United States, including US citizens and non-citizens. These searches can happen at US land crossings, airports, seaports, and even at CBP preclearance locations abroad, such as Dublin, Ireland, or Toronto, Canada. These searches can occur without a warrant or suspicion.
[View source.]