Yes, the government can read your texts, but in most criminal investigations it needs a search warrant supported by probable cause before it can look at what your messages actually say. The Supreme Court has held that cell phones hold so much personal information that searching one without a warrant is almost never reasonable. The picture changes, though, depending on whether investigators want the content of your messages or just the metadata around them, whether you are inside the country or at a border, who owns the phone, and whether the messages still exist somewhere the government can reach.
The Default Rule: A Warrant for Content
The Fourth Amendment protects people from unreasonable government searches, and that protection covers digital data on cell phones.1Cornell Law School. Fourth Amendment Two Supreme Court decisions set the baseline.
In Riley v. California (2014), the Court unanimously held that police cannot search the digital contents of a cell phone during an arrest without first getting a warrant. Chief Justice Roberts wrote that modern phones hold “millions of pages of text, thousands of pictures, or hundreds of videos” and reveal far more about a person than anything previously found in a pocket.2Justia Law. Riley v California, 573 US 373 (2014) Four years later, in Carpenter v. United States (2018), the Court extended warrant protection to historical cell-site location records held by wireless carriers, recognizing that people keep a legitimate privacy interest in the record of their movements even when a company holds the data.3Supreme Court of the United States. Carpenter v United States, 585 US 296 (2018)
To read the actual words of your texts, prosecutors typically apply to a judge for a search warrant. Probable cause means investigators must show enough evidence to convince the judge that a crime occurred and that your texts likely contain relevant evidence. A hunch is not enough.2Justia Law. Riley v California, 573 US 373 (2014)
Once investigators go looking for stored messages held by a carrier or messaging service, the Stored Communications Act takes over. Under 18 U.S.C. § 2703, messages stored for 180 days or less require a warrant. Older messages can technically be obtained through a subpoena or court order with prior notice, a lower bar, though most federal prosecutors now seek warrants for stored content regardless of age.4Office of the Law Revision Counsel. 18 USC 2703 – Required Disclosure of Customer Communications or Records
Whether the Messages Still Exist
A warrant only helps the government get messages that are still stored somewhere. Where your texts live, and for how long, often matters more than the legal standard.
Carriers vary dramatically. AT&T has stated it does not store message content at all. Verizon reportedly keeps content for just three to five days. Metadata (who you texted and when) is generally retained much longer, often a year or more, but the actual words of your conversations may already be gone before investigators start.
Cloud backups usually last far longer. If your phone backs up to iCloud, Google, or a similar service, copies of your texts may sit on company servers indefinitely. Apple’s legal process guidelines confirm that the company can provide iCloud content, including messages and device backups, in response to a search warrant or customer consent, unless the user has enabled Advanced Data Protection. When Advanced Data Protection is on, Apple uses end-to-end encryption for backups and cannot decrypt the content even if ordered to.5Apple. Legal Process Guidelines – Apple
For data stored directly on a passcode-locked iPhone running iOS 8 or later, Apple states it cannot perform a data extraction because the encryption key lives on the device, not with Apple.5Apple. Legal Process Guidelines – Apple The government has legal authority but no practical way to get the data from Apple. The same is true of end-to-end encrypted messaging apps like Signal and WhatsApp: only the sender and recipient hold the keys, so the provider cannot hand over readable content in response to a warrant.
Metadata Is Easier for the Government to Get
Metadata means everything about a text except the words themselves: sender, recipient, timestamp, and sometimes location. The bar for obtaining it is significantly lower.
The reason traces to Smith v. Maryland (1979), where the Supreme Court held that people have no reasonable expectation of privacy in phone numbers they dial because they voluntarily share that information with the phone company.6Justia Law. Smith v Maryland, 442 US 735 (1979) Under this third-party doctrine, information you hand to a company can be shared with the government. The same logic covers text metadata: your carrier needs the sender, recipient, and timestamp to deliver the message.
The Stored Communications Act lets the government obtain metadata through a subpoena or court order. A court order requires only “specific and articulable facts” showing the records are relevant to an ongoing criminal investigation, a lower standard than probable cause.4Office of the Law Revision Counsel. 18 USC 2703 – Required Disclosure of Customer Communications or Records
Carpenter narrowed the third-party doctrine by requiring a warrant for historical cell-site location data despite it being held by carriers.3Supreme Court of the United States. Carpenter v United States, 585 US 296 (2018) The decision was explicitly narrow, and basic sender-recipient-timestamp metadata remains available under the lower court-order standard.
When No Warrant Is Needed
Several exceptions let the government access text messages without a warrant. They are supposed to be narrow, but they come up often.
Exigent Circumstances
If someone’s life is in immediate danger, evidence is about to be destroyed, or a suspect is actively fleeing, officers can search a phone without a warrant. Courts scrutinize these claims after the fact, and an officer who invokes an emergency that did not exist risks having the evidence thrown out.
Consent
If you hand over your phone and say officers can look, no warrant is needed. Consent must be voluntary, but officers are not required to tell you that you can refuse. Feeling pressured during a traffic stop or at your front door is not, on its own, legal coercion, and courts regularly uphold consent given in uncomfortable settings. You can decline and ask officers to get a warrant.
Plain View
If a message notification appears on a locked screen while an officer is lawfully holding the phone, courts have generally found that seeing what shows up is not a “search.” The officer did not unlock the phone or open an app. Using what appeared as a basis to then search the rest of the phone still requires a warrant under Riley.
Borders and Airports
The rules shift at international entry points. U.S. Customs and Border Protection has long-standing authority to search travelers and their belongings without a warrant, and its official policy extends this to electronic devices.7U.S. Customs and Border Protection. Border Search of Electronic Devices at Ports of Entry CBP divides these searches in two:
- A basic search, in which an officer manually scrolls through the device without connecting it to any equipment. No suspicion of wrongdoing is required.
- An advanced search, in which the device is connected to equipment to copy or analyze contents. This requires reasonable suspicion of a law violation or a national security concern, plus approval from a senior manager.
Most federal appeals courts have rejected the argument that Riley requires a full warrant for border device searches. If you cross an international border, CBP can read through your texts during a basic manual inspection without a warrant and without any suspicion at all.7U.S. Customs and Border Protection. Border Search of Electronic Devices at Ports of Entry
Foreign Intelligence Surveillance
Criminal investigations are not the only path. The Foreign Intelligence Surveillance Act creates a separate framework that operates largely outside the normal warrant process. Section 702 authorizes the government to collect communications of non-U.S. persons reasonably believed to be located outside the United States, targeting categories such as international terrorism and weapons proliferation.8Intelligence.gov. FISA Section 702
The concern for Americans is incidental collection. When a foreign target exchanges messages with a U.S. person, the American’s side of the conversation is swept up too. Congress has required minimization procedures to limit how much U.S. person data is retained and shared, and amendments now require that queries of Section 702 data comply with Fourth Amendment standards.8Intelligence.gov. FISA Section 702
Surveillance of U.S. persons for foreign intelligence purposes requires a separate order from the Foreign Intelligence Surveillance Court under 50 U.S.C. § 1801.9Office of the Law Revision Counsel. 50 USC 1801 – Definitions These proceedings are classified, and targets typically never learn they were surveilled unless evidence surfaces later in a criminal case.
Can the Government Force You to Unlock Your Phone?
When encryption blocks the provider route, investigators sometimes try to make the suspect unlock the device. That raises a separate Fifth Amendment question about compelled self-incrimination.
Courts are split. For passcodes, the issue is whether forcing someone to recall and enter a memorized code amounts to compelled testimony. High courts in some states have said yes and blocked the practice; courts in others have allowed it. For biometrics like fingerprints or face recognition, federal appeals courts have gone different ways. The D.C. Circuit has held that compelled thumbprint unlocking is testimonial and violates the Fifth Amendment; the Ninth Circuit reached the opposite conclusion, comparing it to submitting to a blood draw. The Supreme Court has not resolved either question, so whether you can be forced to unlock your phone depends on where you live and which court hears the case.
Work Phones Get Less Protection
If you text on a company-owned device, your privacy shrinks. Under the Electronic Communications Privacy Act, an employer can monitor communications on its own equipment when one party has consented or there is a legitimate business reason. Most employers satisfy the consent requirement through workplace policies stating that use of company devices means consent to monitoring. If you acknowledged that policy, courts will generally treat your consent as established.
The Fourth Amendment still applies when the government itself does the searching. But when an employer monitors its own equipment and then voluntarily shares what it finds with law enforcement, the initial search was by a private party, not the government, and the constitutional analysis changes. Treat anything you type on a work phone as potentially visible to your employer and to anyone your employer decides to share it with.
Practical Steps to Reduce Exposure
Understanding the law is useful, but so is understanding where your messages actually live.
- Use end-to-end encrypted apps. Signal, WhatsApp, and iMessage between Apple devices encrypt content so the provider cannot read it. Standard SMS travels through your carrier with no encryption.
- Check your cloud backup settings. If your phone backs up to iCloud or Google without Advanced Data Protection or equivalent end-to-end encryption, your messages exist in a form the provider can decrypt and hand over with a warrant.
- Think before crossing a border. CBP can conduct a basic manual search of your device without any suspicion.
- Know how consent works. You can refuse a request to search your phone and ask officers to get a warrant. Once you say yes, the warrant requirement disappears.
Text messages get strong protection in ordinary criminal investigations, but that protection has real gaps at borders, on work devices, and wherever cloud backups or carrier records create copies outside your direct control. Encryption closes some of those gaps. The legal fight over compelled unlocking has not been settled at the highest level.