Charging from a public USB port is low risk but not risk-free, because USB carries both power and data. A tampered port or cable could try to open a data connection, a trick called juice jacking. Modern phones block data while locked and ask before trusting a new device, and no large-scale attack on ordinary users has been documented. Your own wall charger or a power bank is safest.
Key takeaways
- Juice jacking is real in research but no large-scale attack on ordinary users has been publicly documented.
- Modern phones block USB data while locked and ask before trusting a new device — never tap Trust at a public port.
- Your own wall charger in an AC outlet, a power bank, or a USB data blocker removes the risk entirely.
Your phone is at 4% at the airport, and the only free port is a public USB socket in the wall. It feels harmless — it is just power, after all. But a USB cable carries data as well as power, and that is where the risk lives.
Is it safe to charge your phone in public?
Charging from a public USB port is low risk, but not risk-free. A tampered port or cable could try to open a data connection to your phone, an attack called juice jacking. Your safest options are your own wall charger, a power bank, or wireless charging.
That short answer needs context. No large-scale juice jacking attack on ordinary users has been publicly documented, and modern phones have strong built-in defenses. The risk is real enough to change one habit, but not real enough to panic about.
What is juice jacking?
Juice jacking is an attack that exploits a USB charging connection to try to access a connected device. Because USB carries both power and data on the same cable, a compromised port or cable can attempt a data connection while it charges your phone.
The term was coined in 2011, when researcher Brian Markus set up a free charging kiosk at the DEF CON hacker conference to warn people about the risk. Since then, researchers have repeated the demonstration at security conferences, and the idea has resurfaced in the news every few years.
An attacker who succeeds could copy files, install malware, or use the connection to control the phone. In practice, that requires the phone to accept a data connection, which modern phones resist by default, as Kaspersky explains in its juice jacking guide.
How likely is juice jacking in real life?
Very unlikely for an ordinary traveler. Juice jacking has been demonstrated in research, but no large-scale attack on real users has been publicly documented, and security researchers note that most reported examples come from demonstrations rather than victim reports.
That does not make the warning empty. In April 2023, the FBI Denver field office advised people to avoid free charging stations in airports, hotels and shopping centers, saying bad actors had found ways to use public USB ports to introduce malware. The TSA gave similar advice in March 2025.
Research also keeps moving. In 2025, researchers at Graz University of Technology published ChoiceJacking, showing a malicious charger could approve its own data prompts on some phones by posing as a keyboard. Vendors patched the issue, but it shows why keeping your phone updated matters, as this research summary describes.
Think of it this way: the chance a given airport port is rigged is very low, but the cost of the safe habit — carrying your own charger — is also very low.
How do modern phones protect you from juice jacking?
Modern iPhones and Android phones restrict what an unfamiliar USB connection can do. On iPhone and iPad, Apple requires the device to be unlocked before a new USB accessory can communicate with it under default settings.
Apple also asks you to trust a computer the first time you connect to it, and trusting requires your passcode. If your iPhone stays locked for more than an hour, USB Restricted Mode blocks data through the port while still allowing charging. Newer iOS versions add a Wired Accessories setting where you can choose Always Ask for new accessories.
On Android, many supported devices block new USB data connections while the screen is locked and require you to unlock the phone before data transfer is allowed. Both platforms also encrypt your data, so a brief connection does not automatically expose everything.
These protections are strong, but they depend on you. Unlocking your phone and tapping Trust at a public port removes the protection your phone was giving you.
What is the safest way to charge your phone in public?
Use your own wall charger plugged into a standard power outlet. An AC outlet has no data connection at all, so there is nothing for an attacker to exploit. A power bank you charged at home is equally safe.
- Carry your own charger and cable. A small USB wall charger and your own cable fit in any bag.
- Use a power bank. Charge the bank at home or from a wall outlet, then charge your phone from the bank.
- Use wireless charging. Public wireless pads transfer power only, with no USB data connection.
- Use a USB data blocker. This small adapter passes power only and blocks the data pins in the cable.
- Keep your phone locked while charging. Do not unlock it or tap Trust at a public port.
- Keep your software updated. Updates close the USB flaws researchers find, including the 2025 ChoiceJacking issue.
If you must use a public USB port, keep the phone locked, decline any Trust or Allow prompt, and unplug if anything unexpected appears. If you think your phone may have been compromised, check our guide on how to know if your phone is hacked.
Which public charging methods are safest?
Not all public charging is equal. A wall outlet is safest because it carries no data. Wireless charging is next, because it has no cable and no data link. A public USB port is the only option that can carry data.
| Method | Data connection? | Juice jacking risk | Speed |
|---|---|---|---|
| Your wall charger in an AC outlet | No | None | Fast |
| Power bank | No | None | Fast |
| Wireless charging pad | No | None | Slower |
| Public USB port with data blocker | Blocked | Very low | Fast |
| Public USB port, phone locked | Blocked by phone | Low | Fast |
| Public USB port, phone unlocked | Possible | Higher | Fast |
Hotel rooms deserve the same care. The USB port built into a hotel lamp or bedside table is still a public USB port — you do not know what is behind it. Use the wall outlet instead, and keep your home Wi-Fi safe too with our guide to how to secure your Wi-Fi.
What are the warning signs after using a public charger?
Watch for prompts and behavior you did not expect. If your phone asks to trust a computer, allow an accessory, or share data while charging, that is a warning sign, not a normal part of charging.
- An unexpected Trust This Computer or Allow Accessory prompt.
- Your phone opens files, a browser, or an app on its own.
- New apps, profiles or settings you did not install.
- Unusual battery drain, heat, or data use after charging.
- Your phone charges very slowly or not at all from a port that should work.
If you see any of these, unplug immediately, do not tap Trust, and restart your phone. If you entered a password or saw files open, change that password from a trusted device and check for unfamiliar logins.
Can a charging cable itself be dangerous?
Yes, in theory. A tampered cable can contain hidden electronics that act as a keyboard or storage device when plugged in. This is rarer than a tampered port, but it is why you should use your own cable and be wary of free cables left in public places.
Buy cables from reputable brands, inspect them for unusual thickness or extra parts, and do not use a cable you found lying around. A cable that feels heavier than normal or has a bulky connector deserves a second look.
Public charging stations in airports and malls are usually legitimate, but you cannot tell a safe one from a tampered one by looking at it. That is the whole point of the safe habits above: they work whether or not the port is rigged.
The bottom line
Public USB charging is low risk, not no risk. Modern phones protect you well while locked, and no large-scale attack has been documented, but a tampered port only needs you to unlock and trust it once.
Make the safe habit the easy habit: pack your own charger and cable, or a power bank. You can check your own security basics in seconds with our free password strength checker before your next trip.
Frequently asked questions
Is it safe to charge my phone at the airport?
Yes, if you use your own wall charger in a power outlet or a power bank. Avoid plugging directly into a public USB port, and never tap Trust if a prompt appears.
What is juice jacking?
Juice jacking is an attack that uses a tampered public USB charging port or cable to try to open a data connection to your phone, so it can copy data or install malware. USB carries both power and data on the same cable.
Has anyone actually been juice jacked?
No large-scale juice jacking attack on ordinary users has been publicly documented. The risk has been shown in research demonstrations, including a 2025 study that bypassed some phone prompts, but real-world cases remain unconfirmed.
Is wireless charging safe in public?
Yes. Wireless charging transfers power only, with no USB data connection, so it cannot be used for juice jacking. It is slower than wired charging, but it is a safe option at airports and hotels.
Should I use a USB data blocker?
Yes, if you often charge from public USB ports. A data blocker, also called a USB condom, passes power only and blocks the data pins, so no data connection can be made.
What should I do if my phone asks to trust a computer?
Tap Do Not Trust and unplug immediately. A charging port has no legitimate reason to ask for a data connection, and trusting it could give it access to your files.
Can a public charging cable steal my data?
A tampered cable could, in theory, contain hidden electronics that try to act as a keyboard or storage device. Use your own cable, keep your phone locked, and keep your software updated to reduce that risk.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Kaspersky, Apple Support and FBI guidance on public USB charging and juice jacking.
How we write and fact-check →