To get rid of a keylogger on iPhone, update iOS, delete any keyboard you do not recognize in Settings, General, Keyboard, remove unknown apps and configuration profiles, and change your Apple Account and banking passwords from another device. If you still suspect spyware, back up your data and factory reset the phone, then set it up without restoring a suspicious backup.
Key takeaways
- A keylogger on iPhone most often hides in a third-party keyboard, a configuration profile or a jailbreak.
- Check Settings, General, Keyboard and VPN and Device Management first — those are the places spyware shows up.
- After removing it, change passwords from a clean device and turn on two-factor authentication.
A keylogger records everything you type — passwords, messages, card numbers — and sends it to someone else. On iPhone that is harder than on a computer, but it is not impossible, and the places it hides are specific enough to check in a few minutes.
Can an iPhone get a keylogger?
Yes, but a keylogger is rare on an iPhone that has not been jailbroken, because iOS sandboxes apps so one app cannot normally read what you type in another.
Keyloggers on iPhone usually arrive in one of four ways. A malicious third-party keyboard can record keystrokes, since a keyboard by definition sees what you type. A configuration profile installed by someone with physical access can grant deep control. A spyware app, often installed by a partner or employer with access to the unlocked phone, can include a keylogger. And a jailbreak removes iOS protections entirely, letting privacy-invasive apps see almost everything you do, as Clario's guide explains.
The most sophisticated spyware, such as the Pegasus software made by NSO Group, targets specific people — journalists, activists and politicians — and costs far too much to use against ordinary users. Apple introduced Lockdown Mode in 2022 for those few high-risk people. For everyone else, the realistic threat is a rogue keyboard, a bad profile, or an app installed by someone who had the phone in their hands.
How do you know if there is a keylogger on your iPhone?
Look for an unfamiliar keyboard, an unknown configuration profile, apps you do not remember installing, and sudden battery drain, overheating or high data use.
Keyloggers run in the background, so they are hard to spot directly. The signs below are the ones Certo's detection guide lists, and each one points to a place you can check in Settings.
- Unusual battery drain. A keylogger runs continuously, which uses power. Check Settings, Battery for apps using the most power.
- Increased data use. Recorded keystrokes are sent to a remote server. Check Settings, Cellular for unfamiliar apps using large amounts of data.
- Typing lag or overheating. A background process can slow the phone and make it warm for no obvious reason.
- New keyboards, apps or profiles. A keyboard you did not install, or a profile under VPN and Device Management, is the strongest sign.
- Settings that changed themselves. New VPNs, unknown trusted devices on your Apple Account, or mail rules you did not create all deserve investigation.
One sign on its own proves nothing — a dying battery is usually just a dying battery. Two or three together, especially a new keyboard or profile, mean you should work through the checks below. Our guide on how to know if your phone is hacked covers the wider signs of compromise.
Where does a keylogger hide on iPhone?
A keylogger on iPhone hides in a keyboard, a profile, an app or a jailbreak — and each hiding place is found in a different Settings screen and removed a different way.
| Hiding place | Where to check | How to remove it | How common |
|---|---|---|---|
| Rogue keyboard | Settings, General, Keyboard | Delete the keyboard | Most common |
| Configuration profile | Settings, General, VPN and Device Management | Delete the profile | Uncommon |
| Spyware app | Settings, General, iPhone Storage | Delete the app | Uncommon |
| Jailbreak | Look for Cydia or Sileo | Factory reset | Rare |
| Mercenary spyware | Apple threat notification | Expert help, then Lockdown Mode | Very rare |
Work down the table in order: keyboards and profiles first, because they are the most common and the quickest to check, then apps, then a jailbreak check.
How do you check for a keylogger keyboard on iPhone?
Go to Settings, General, Keyboard, Keyboards and delete any keyboard you do not recognize, especially one with Full Access turned on.
Most iPhones show two keyboards: English (US) and Emoji. Anything else deserves a second look. A third-party keyboard with Full Access can transmit what you type, which is how a keyboard becomes a keylogger. Tap the keyboard to see its settings, and check whether Full Access is enabled — a legitimate keyboard may need it for some features, but an unknown one with Full Access is a red flag.
To remove it, tap Edit in the top right, tap the red minus next to the keyboard, then tap Delete. After removing it, restart the phone and check the list again. If the keyboard comes back, something else — an app or a profile — is reinstalling it, and you should move to the factory reset step below.
How do you check for spyware apps and profiles?
Check Settings, General, VPN and Device Management for profiles you did not install, and Settings, General, iPhone Storage for apps you do not remember downloading.
Configuration profiles can install certificates, change network settings and grant remote control, so an unknown one is serious. If the VPN and Device Management section does not appear in Settings, that is good news — it only shows up when a profile or device management enrollment exists. If it does appear, open it, read each profile carefully, and delete anything you did not add yourself or that your employer did not install with your knowledge.
For apps, work through the iPhone Storage list and look for anything unfamiliar, including apps with generic names such as SystemCore, SystemUpdate or Phone Monitor, which have been associated with spyware. Check app folders on the home screen too — spyware is often hidden inside a folder. Also look for jailbreak apps such as Cydia or Sileo: if either is present, the phone has been jailbroken, and a factory reset is the right move.
How do you get rid of a keylogger on iPhone?
Remove a keylogger by updating iOS, deleting the suspicious keyboard, app or profile, restarting the phone, and changing your passwords from a different device.
Work through the steps in order. Do not log in to sensitive accounts on the phone until you are confident it is clean, and do the password changes from a computer or another phone you trust.
- Update iOS. Go to Settings, General, Software Update and install any pending update. Apple patches the vulnerabilities keyloggers exploit, so an outdated phone is the easiest target.
- Delete the keyboard. Remove any unfamiliar keyboard as described above, and turn off Full Access for any third-party keyboard you keep.
- Delete suspicious apps and profiles. Remove unknown apps and any configuration profile you did not install.
- Restart the phone. Many jailbreaks are semi-untethered, so a restart disables them until the phone is jailbroken again — and it clears some spyware that runs only in memory.
- Change your passwords. From a clean device, change your Apple Account password first, then email and banking passwords, and turn on two-factor authentication everywhere it is offered.
- Check your accounts. Review recent sign-ins on your Apple Account and email for unknown locations or devices, and sign out any device you do not recognize.
If you use a reputable anti-spyware app, run its scan after the manual checks. These apps cannot scan iOS the way antivirus scans a computer, but they can flag jailbreaks, suspicious profiles and system vulnerabilities. Treat any app that promises to find and delete a keylogger with one tap as a sales claim, not a fact.
When should you factory reset your iPhone?
Factory reset your iPhone if you found a jailbreak app, if a suspicious keyboard or profile keeps coming back, or if you still see signs of spyware after the manual checks.
A factory reset through Settings, General, Transfer or Reset, Erase All Content and Settings wipes apps, keyboards, profiles and jailbreaks, returning the phone to the state it was in when you bought it. Back up your photos, contacts and other data to iCloud or a computer first — but be careful what you restore. Restoring a full backup can bring back the profile or app that caused the problem, so if you are unsure, set the phone up as a new device and sign in to your accounts fresh.
After the reset, update iOS again, reinstall only apps you recognize from the App Store, and change your passwords once more from a clean device. If the phone was jailbroken by someone else, also change your passcode to one nobody else knows, and do not let anyone else use the unlocked phone again.
What should you do after removing a keylogger?
After removing a keylogger, change every password you typed on the phone, check for new mail rules and unknown devices, and watch your bank and email accounts for unusual activity.
A keylogger may have captured passwords before you removed it, so changing them is not optional. Start with your Apple Account, then email, banking, social media and any work accounts. Use a password manager to create a unique password for each one, and turn on two-factor authentication — a stolen password alone is not enough to log in if a second factor is required. You can check whether a password you used already appears in known breaches with our free pwned password checker.
Also check for persistence. Look for new mail forwarding rules in your email settings, unknown devices signed in to your Apple Account, and app-specific passwords you did not create. Revoke any you do not recognize. If money moved or accounts were accessed, report it to your bank and, in the US, to the FBI's Internet Crime Complaint Center at ic3.gov. Our spear phishing guide explains how stolen credentials are used next.
How do you stop a keylogger getting on your iPhone again?
Stop a keylogger by installing apps only from the App Store, keeping iOS updated, never jailbreaking, and never letting anyone else install a keyboard, profile or app on your phone.
Keep a short list of habits. Install apps only from the App Store and only from developers you recognize. Install iOS updates as soon as they appear. Do not jailbreak the phone, and do not install configuration profiles from links, messages or websites you do not trust — a profile prompt from a stranger is a red flag, not a formality. Use a passcode nobody else knows, and turn on Face ID so the phone cannot be unlocked while you look away.
For high-risk users, Apple offers Lockdown Mode under Settings, Privacy and Security. It blocks most message attachments, disables link previews, limits some web technologies and blocks FaceTime calls from people you have not called before. Apple says it is for the very few people who might be personally targeted by sophisticated spyware, and most people do not need it. For everyone else, the habits above are the protection that matters. Keep your home network safe too with our guide to securing your Wi-Fi.
The bottom line
A keylogger on iPhone is uncommon, but the check takes minutes: look at your keyboards, your profiles, your apps and your battery. If anything is unfamiliar, delete it, update iOS and change your passwords from another device.
If the signs persist or you find a jailbreak, factory reset the phone and set it up fresh. And if Apple ever sends you a threat notification, get expert help before erasing anything. You can start the password reset with our free password generator.
Frequently asked questions
Can an iPhone get a keylogger?
Yes, but it is rare on a phone that has not been jailbroken. iOS sandboxes apps, so one app cannot normally read what you type in another. Keyloggers on iPhone usually arrive as a malicious third-party keyboard, a configuration profile, a spyware app installed by someone with physical access, or a jailbreak that removes iOS protections.
How do I check my iPhone for a keylogger?
Check Settings, General, Keyboard, Keyboards for any keyboard you do not recognize, especially one with Full Access. Then check Settings, General, VPN and Device Management for unknown profiles, and Settings, General, iPhone Storage for apps you do not remember installing. Unusual battery drain and data use are also warning signs.
Does a factory reset remove a keylogger from iPhone?
Yes, a factory reset through Settings, General, Transfer or Reset, Erase All Content and Settings removes apps, keyboards, profiles and jailbreaks. Back up first, and be careful restoring: restoring a backup that contains the spyware profile or app can bring it back. Set up as a new device if you are unsure.
Can Apple detect a keylogger on my iPhone?
Apple does not offer a built-in keylogger scanner. It does send threat notifications to people targeted by mercenary spyware, and Lockdown Mode hardens the phone against those attacks. For ordinary spyware checks, you need to inspect keyboards, profiles and apps yourself, or use a reputable anti-spyware app.
What is the best way to remove spyware from iPhone?
Update iOS, delete suspicious apps, keyboards and profiles, restart the phone, and change your passwords from another device. If the phone was jailbroken or you still see signs of spyware, factory reset it. If you received an Apple threat notification, get expert help before erasing anything.
Should I use Lockdown Mode on my iPhone?
Lockdown Mode is designed for the very few people who might be personally targeted by sophisticated spyware, such as journalists, activists and politicians. Apple says most people are never targeted this way. It blocks message attachments, link previews and some web features, so it is not worth the trade-off for most users.
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 Clario's and Certo's iPhone keylogger guides and Apple's Lockdown Mode protections for targeted spyware.
How we write and fact-check →