Skip to main content  



About
Contact

Press

People

Opportunities

EFF's 35th Anniversary


Issues
Free Speech

Privacy

Creativity and Innovation

Transparency

International

Security


Our Work
Deeplinks Blog

Press Releases

Events

Legal Cases

Whitepapers

Podcast

Annual Reports


Take Action
Action Center

Electronic Frontier Alliance

Volunteer


Tools
Privacy Badger

Surveillance Self-Defense

Certbot

Atlas of Surveillance

Cover Your Tracks

Street Level Surveillance

apkeep


Donate
Donate to EFF

Giving Societies

Shop

Sponsorships

Other Ways to Give

Membership FAQ


Donate
Donate to EFF

Shop

Other Ways to Give


 



Email updates on news, actions,
 and events in your area.  

Join EFF Lists  



Copyright (CC BY)

Trademark

Privacy Policy

Thanks

 






Electronic Frontier Foundation 



Donate  









Electronic Frontier Foundation 





About
Contact

Press

People

Opportunities

EFF's 35th Anniversary


Issues
Free Speech

Privacy

Creativity and Innovation

Transparency

International

Security


Our Work
Deeplinks Blog

Press Releases

Events

Legal Cases

Whitepapers

Podcast

Annual Reports


Take Action
Action Center

Electronic Frontier Alliance

Volunteer


Tools
Privacy Badger

Surveillance Self-Defense

Certbot

Atlas of Surveillance

Cover Your Tracks

Street Level Surveillance

apkeep


Donate
Donate to EFF

Giving Societies

Shop

Sponsorships

Other Ways to Give

Membership FAQ


Donate
Donate to EFF

Shop

Other Ways to Give


 











Know Your Rights

 




Officer Friendly Asks: "May I Search Your Digital Device?"






Know Your Rights



Digital Privacy at the U.S. Border: Protecting the Data On Your Devices

EFF Border search pocket guide (printable PDF)

Digital Privacy at the U.S. Border (printable PDF)

Guía de bolsillo de EFF sobre búsqueda en la frontera (PDF)

 



Know Your Rights

 












Last Updated October 2014.   ByHanni Fakhoury and Dia Kayyali

Your computer, phone, and other digital devices hold vast amounts of personal information about you and your family. This sensitive data is worth protecting from prying eyes, including those of the government.

The Fourth Amendment to the U.S. Constitution protects you from unreasonable government searches and seizures, and this protection extends to your computer and portable devices. But how does this work in the real world? What should you do if the police or other law enforcement officers show up at your door and want to search your computer?

EFF has designed this guide to help you understand your rights if officers try to search the data stored on your computer or portable electronic device, or seize it for further examination somewhere else. Keep in mind that the Fourth Amendment is the minimum standard, and your specific state may have stronger protections.

Because anything you say can be used against you in a criminal or civil case, before speaking to any law enforcement official, you should consult with an attorney. Remember generally the fact that you assert your rights cannot legally be used against you in court. You can always state: "I do not want to talk to you or answer any questions without my attorney present." If they continue to ask you questions after that point, you can say:Please dont ask me any further questions until my attorney is present.And if the police violate your rights and conduct an illegal search, often the evidence they obtain as a result of that search cant be used against you.

Weve organized this guide into three sections:


Overview: When can the police search my devices?

The police have a warrant. Now what? 

The police cant get in to my computer. Now what? 


Overview: When can the police search my devices?



If you consent to a search, the police dont need a warrant. 

Law enforcement may show up at your door. Apart from a few exceptions, police need a warrant to enter your home. 

Be aware that the police can ask your roommate/guest/spouse/partner for access to your computer if they dont have a warrant.

Even if you're arrested, police can only search your phone under limited circumstances. 

Police can search your computer or portable devices at the border without a warrant.


If you consent to a search, the police dont need a warrant.

The most frequent way police are able to search is by asking you for permission. If you say yes and consent to the search, then police dont need a warrant. You can limit the scope of that consent and even revoke or take it back after the officers begin searching, but by then it may be too late.1 Thats why its better not consent to a search--police may drop the matter. If not, then they will generally need to get a search warrant to search.

Law enforcement may show up at your door. Apart from a few exceptions, police need a warrant to enter your home. 

The police cant simply enter your home to search it or any electronic device inside, like a laptop or cell phone, without a warrant.

When the police knock on your door, you do not have to let them in unless they have in their possession and show you a valid search warrant. The safest thing to do is step outside and shut the door behind you. They may or may not indicate right away why they are there. If they have a warrant, ask to see it. If they offer to simply interview you, it is better to decline to speak until your attorney can be present. You can do this by telling the officer: I do not want to talk to you. I do not consent to a search. I want to speak to my attorney.

There are two major exceptions to the warrant requirement. First, if you consent to a search, then the police can search within the scope of your consent.2 Thats why it is usually better to not consent to a search.

Second, if police have probable cause to believe there is incriminating evidence in the house or on an electronic device that is under immediate threat of destruction, they can immediately search it without a warrant.3

Be aware that the police can ask your roommate/guest/spouse/partner for access to your computer if they dont have a warrant.

The rules around who can consent to a search are fuzzy. The key is who has control over an item. Anyone can consent to a search as long as the officers reasonably believe the third person has control over the thing to be searched.4 However, the police cannot search if one person with control (for example a spouse) consents, but another individual (the other spouse) with control explicitly refuses.5 It's unclear, however, whether this rule applies to items like a hard drive placed into someone elses computer.6 And even where two people have control over an item or place, police can remove the non-consenting person and return to get the other's consent to search.7

You may want to share this know your rights guide with everyone in your home and ask them not to consent to a search by law enforcement.

 Even if you're arrested, police can only search your phone under limited circumstances. 

After a person has been arrested, the police generally may search the items on her person and in her pockets, as well as anything within her immediate control, automatically and without a warrant. But the Supreme Court has ruled that police cannot search the data on a cell phone under this warrant exception.8 Police can, however, search the physical aspects of the phone (like removing the phone from its case or removing the battery) and in situations where they actually believe evidence on the phone is likely to be immediately destroyed, police can search the cell phone without a warrant.

 Police can search your computer or portable devices at the border without a warrant. 

Fourth Amendment protection is not as strong at the border as it is in your home or office.9 This means that law enforcement can inspect your computer or electronic equipment, even if they have no reason to suspect there is anything illegal on it.10 An international airport, even if many miles from the actual border, is considered the functional equivalent of a border.11 However, border officials in Alaska, Arizona, California, Guam, Hawaii, Idaho, Montana, Northern Mariana Islands, Oregon and Washington can only confiscate an electronic device and conduct a more thorough forensic examination of it if they have reasonable suspicion youve engaged in criminal behavior.12

The police have a warrant. Now what?



Ask to see the warrant. 

The warrant limits what the police can do. 

Although the warrant limits what the police can look for, if they see something illegal while executing a warrant they can take it.

If the police want to search your computer, it doesn't matter whether youre the subject of their investigation. 

You do not have to assist law enforcement when they are conducting their search.

You do not have to answer questions while law enforcement is searching. 


Ask to see the warrant. 

A warrant is a document signed by a judge giving the police permission to either arrest you or search your property and take certain items from that property. You have the right to see the warrant and should check to make sure it is valid.

A warrant should contain:


The correct name of the person arrested or the correct address of the specific place to be searched;

A list of the items that can be seized or taken by the police;

The judges signature;

A deadline for when the arrest or search must take place


The police must take the warrant with them when executing it and give you a copy of it.13 They must also knock and announce their entry before they try to forcefully enter your home,14 and must serve the warrant during the day in most circumstances.15

The warrant limits what the police can do. 

The purpose of the warrant is to give the judge, not the police, the discretion to decide what places can be searched and which items can be taken.16 Thats why a warrant is supposed to state exactly what the police can search and seize.17 However, if the warrant authorizes the police to search for evidence of a particular crime, and such evidence is likely to be found on your computer, some courts have allowed the police to search the computer without a warrant.18

And remember, if you consent to a search, it doesnt matter if the police have a warrant; any search is permissible as long as the search is consistent with the scope of your consent.

Although the warrant limits what the police can look for, if they see something illegal while executing a warrant they can take it. 

While the police are searching your home, if they observe something in "plain view" that is suspicious or incriminating, they may take it for further examination and can rely on their observation to later get a search warrant.19 For example, if police see an open laptop with something obviously illegal on the screen, they could seize that laptop.

If the police want to search your computer, it doesnt matter whether youre the subject of their investigation.

It typically doesnt matter whether the police are investigating you, or think there is evidence they want to use against someone else located on your computer. If they have a warrant, if you consent to the search, or they think there is something incriminating on your computer that may be immediately destroyed, the police can search it. But remember, regardless of whether youre the subject of an investigation, you can always seek the assistance of the lawyer.

You do not have to assist law enforcement when they are conducting their search.

You do not have to help the police conduct the search. But you should not physically interfere with them, obstruct the search or try to destroy evidence, since that can lead to your arrest. This is true even if the police dont have a warrant and you do not consent to the search, but the police insist on searching anyway. In that instance, do not interfere but write down the names and badge numbers of the officers and immediately call a lawyer.

You do not have to answer questions while law enforcement is searching.

You do not have to answer any questions. In fact, because anything you say can be used against you and other individuals, it is best to say nothing at all other than I do not want to talk to you. I do not consent to a search. I want to speak to my attorney. However, if you do decide to answer questions, be sure to tell the truth. In many contexts, it is a crime to lie to a police officer and you may find yourself in more trouble for lying to law enforcement than for whatever it was on your computer they wanted.20

The police cant get in to my computer. Now what?



The police can take your computer with them and search it somewhere else.

 You do not have to hand over your encryption keys or passwords to law enforcement. 

You may be able to get your computer back if it is taken and searched. 

There is less protection against a search at a place of employment.


 The police can take your computer with them and search it somewhere else.

As long as the police have a warrant, they can seize the computer and take it somewhere else to search it more thoroughly. As part of that inspection, the police may make a copy of media or other files stored on your computer.21

You do not have to hand over your encryption keys or passwords to law enforcement.

The Fifth Amendment protects you from being forced to give the government self-incriminating testimony. Courts have generally accepted that telling the government a password or encryption key is testimony. A police officer cannot force or threaten you into giving up your password or unlocking your electronic devices. However, a judge or a grand jury may be able to force you to decrypt your devices in some circumstances. Because this is a legally complicated issue, if you find yourself in a situation where the police, a judge or grand jury are demanding you turn over encryption keys or passwords, you should let EFF know right away and seek legal help.

 You may be able to get your computer back if it is taken and searched.

If your computer was illegally taken, then you can file a motion with the court to have it returned.22 If the police believe that evidence of a crime has been found on your computer (such as possessing digital contraband like pirated music and movies, or digital images of child pornography), the police can keep the computer as evidence. They may also attempt to keep the computer permanently, a legal process known as forfeiture, but you can challenge forfeiture in court.23

There is less protection against a search at a place of employment.

Generally, you have some Fourth Amendment protection in your office or workspace.24 This means the police need a warrant to search your office and work computer unless one of the exceptions described above apply. But the extent of Fourth Amendment protection depends on the physical details of your work environment, as well as any employer policies. For example, the police will have difficulty justifying a warrantless search of a private office with doors and a lock and a private computer that you have exclusive access to. On the other hand, if you share a computer with other co-workers, you will have a weaker expectation of privacy in that computer, and thus less Fourth Amendment protection.25 However, be aware that your employer can consent to a police request to search an office or workspace in your absence.26 Plus, if you work for a public entity or government agency, no warrant is required to search your computer or office as long as the search is for a non-investigative, work-related matter.27

Want to learn more about how to protect yourself from unreasonable government searches and surveillance on your computer or portable electronic devices?




EFFs newly relaunched Surveillance Self-Defense (SSD) is a guide to defending yourself and your friends from digital surveillance by using encryption tools and developing appropriate privacy and security practices.

EFFs recently updated Cell Phone Guide for U.S. Protestors explains your rights, and how best to protect the data on your phone, at protests.



1. Florida v. Jimeno, 500 U.S. 248, 252 (1991).

2. Schneckloth v. Bustamonte,412 U.S. 218, 219 (1973); United States v. Lopez-Cruz, 730 F.3d 803, 809 (9th Cir. 2013); United States v. Vanvliet, 542 F.3d 259, 264 (1st Cir. 2008).

3. Ker v. California, 374 U.S. 23, 39 (1963).

4. Illinois v. Rodriguez, 497 U.S. 177, 181 (1990); United States v. Stabile, 633 F.3d 219, 230-31 (3d Cir. 2011); United States v. Andrus, 483 F.3d 711, 716 (10th Cir. 2007).

5. Georgia v. Randolph, 547 U.S. 103, 106 (2006).

6. United States v. King, 604 F.3d 125, 137 (3d Cir. 2010).

7. Fernandez v. California, 134 S.Ct. 1126, 1134 (2014).

8. Riley v. California, 134 S.Ct. 2473, 2493 (2014).

9. United States v. Flores-Montano, 541 U.S. 149, 152-53 (2004).

10. United States v. Arnold, 533 F.3d 1003, 1009 (9th Cir. 2008); United States v. Ickes, 393 F.3d 501, 507 (4th Cir. 2005).

11. Almeida-Sanchez v. United States, 413 U.S. 266, 273 (1973); Arnold, 533 F.3d at 1006 (9th Cir. 2008); United States v. Romm, 455 F.3d 990, 996 (9th Cir. 2006); United States v. Roberts, 274 F.3d 1007, 1011 (5th Cir. 2001).

12. United States v. Cotterman, 709 F.3d 952, 957 (9th Cir. 2013)(en banc).

13. Federal Rule of Criminal Procedure 41(f)(1)(C).

14. Wilson v. Arkansas, 514 U.S. 927, 929 (1995).

15. Federal Rule of Criminal Procedure 41(e)(2)(A)(ii).

16. Marron v. United States, 275 U.S. 192, 196 (1927).

17. Andresen v. Maryland, 427 U.S. 463, 480 (1976).

18. United States v. Mann, 592 F.3d 779, 786 (7th Cir. 2010); Brown v. City of Fort Wayne, 752 F.Supp.2d 925, 939 (N.D. Ind. 2010).

19. Horton v. California, 496 U.S. 128, 133 (1990); United States v. Walser, 275 F.3d 981, 986 (10th Cir. 2001); United States v. Carey, 172 F.3d 1268, 1272 (10th Cir. 1999).

20. Compare 18 U.S.C. § 1001(a) (maximum punishment for first offense of lying to federal officer is 5 or 8 years) with 18 U.S.C. §§ 1030(a)(2) and (c)(2)(A) (maximum punishment for first offense of exceeding authorized computer access is 1 year).

21. United States v. Hill, 459 F.3d 966, 974 (9th Cir. 2006); In re Search of 3817 W. West End, First Floor Chicago, Illinois 60621, 321 F.Supp.2d 953, 958 (N.D. Ill. 2004); see also Federal Rule of Criminal Procedure 41(e)(2)(B).

22. Federal Rule of Criminal Procedure 41(g).

23. See 18 U.S.C. §§ 982, 983; Federal Rule of Criminal Procedure 32.2.

24. Mancusi v. DeForte, 392 U.S. 364, 369 (1968); United States v. Ziegler, 474 F.3d 1184, 1189 (9th Cir. 2007).

25. Schowengerdt v. United States, 944 F.2d 483, 488-89 (9th Cir. 1991).

26. Ziegler, 474 F.3d at 1191.

27. City of Ontario v. Quon, 560 U.S. 746, 748 (2010); OConnor v. Ortega, 480 U.S. 709, 722 (1987).

 


Protect digital privacy and free expression. EFF's public interest legal work, activism, and software development preserve fundamental rights.
Protect digital privacy and free expression. EFF's public interest legal work, activism, and software development preserve fundamental rights. DONATE TO EFF
 






EFF Related Content: Know Your Rights






Deeplinks Blog byHayley Tsukayama  | August 4, 2025

Data Brokers Are Ignoring Privacy Law. We Deserve Better.

 

Español

Of the many principles EFF fights for in consumer data privacy legislation, one of the most basic is a right to access the data companies have about you. Its only fair. So many companies collect information about us without our knowledge or consent. We at least should have a...
 



 


Deeplinks Blog  by Naomi Gilens, Dave Maass  | June 9, 2020

Digital Security Advice for Journalists Covering the Protests Against Police Violence

 

This guide is an overview of digital security considerations specific to journalists covering protests. For EFFs comprehensive guide to digital security, including advice for activists and protesters, visit ssd.eff.org. Legal advice in this post is specific to the United States.As the international protests against police killings enter their third week,...
 



 


Privacy issue banner, a colorful graphical representation of a padlock Deeplinks Blog byAndrew Crocker  | February 4, 2019

Highest Court in Indiana Set to Decide If You Can Be Forced to Unlock Your Phone

 

When EFF preaches about the benefits of using device encryption on smartphones, one of the most frequent questions we get is whether the police can force you to turn over your passcode or unlock the device. The answer should be no. The Fifth Amendment states that no one can...
 



 


Deeplinks Blog  by Shahid Buttar  | April 20, 2017

A Municipal Vote in Providence for Police Reform Carries National Implications

 

After three years of sustained community mobilization and advocacy, the Providence City Council in Rhode Island voted this Thursday to unanimously approve among the most visionary set of policing reforms proposed around the country to protect civil rights and civil liberties, including digital liberties. EFF supported...
 



 


Deeplinks Blog  by Stephanie Lacambra  | April 19, 2017

The Bill of Rights at the Border: Fifth Amendment Protections for Account Passwords and Device Passcodes

 

This is the third and final installment in our series on the Constitution at the border. Today, well focus on the Fifth Amendment and passwords. Click here for Part 1 on the First AmendmentorPart 2 on the Fourth Amendment.
 Lately, a big question on everyone's...
 



 

Pages

1

2

3

4

5

6

7

8

9

next 

last »

 








Back to top
 


EFF Home

Follow EFF:



mastodon

facebook

instagram

x

Blue Sky

youtube

flicker

linkedin

tiktok

threads

 


Check out our 4-star rating on Charity Navigator.
 

Contact


General

Legal

Security

Membership

Press

 

About


Calendar

Volunteer

Victories

History

Internships

Jobs

Staff

Diversity & Inclusion

 

Issues


Free Speech

Privacy

Creativity & Innovation

Transparency

International

Security

 

Updates


Blog

Press Releases

Events

Legal Cases

Whitepapers

EFFector Newsletter

 

Press


Press Contact

 

Donate


Join or Renew Membership Online

One-Time Donation Online

Giving Societies

Corporate Giving and Sponsorship

Shop

Other Ways to Give

 




Copyright (CC BY)

Trademark

Privacy Policy

Thanks

 

JavaScript license information