Yes, a phone can have a keylogger on it. A keylogger is software that records every letter and number you tap on your screen and sends that record to someone else. There are no known physical devices that plug into a phone to record typing, so phone keyloggers are always apps or hidden programs1.
On most phones, this does not happen from across the internet by surprise. It almost always requires someone to hold your unlocked phone in their hands for a few minutes, or it requires you to install a harmful app yourself and grant it deep access to your screen.
Why it matters
When you tap your screen to sign in to your bank, read your email, or send a text message, a keylogger records what you touch. That gives the person behind the software your passwords, account numbers, and private messages.
On a computer, a similar program is often called an infostealer. On a phone, it is either malicious software built to steal bank details or a monitoring app—often called stalkerware—installed by someone you know.
If you are noticing odd behavior and want to check your whole device, you can review the broader signs that your phone or computer has spyware. Checking your device is an important part of everyday care for your phones and computers.
How a keylogger gets on a phone
iPhones and Android phones handle apps differently, so the way a keylogger gets in depends on which phone you carry.
On an iPhone
Apple locks each app inside its own separate space so one app cannot watch what you type into another. Because of this, putting a keylogger on a normal iPhone usually requires one of three things:
Someone had your unlocked iPhone in their hands for a few minutes and installed a monitoring tool or a custom keyboard3.
Someone knows your Apple Account email and password and can read the backups your phone sends to iCloud.
Someone tampered with the iPhone’s built-in security rules—a process called jailbreaking—which also requires holding the unlocked phone.
Remote attacks that infect an iPhone without you touching anything do exist, but they are rare and aimed at high-profile targets such as government officials or journalists.
On an Android phone
Android phones can get a keylogger from someone who holds the unlocked phone, just like an iPhone. They can also get one from a harmful app downloaded outside the official Google Play Store.
These apps usually trick you into turning on a setting called Accessibility. Accessibility is a built-in feature meant to help people with vision or motor needs—for example, by reading the screen out loud. Because an accessibility tool needs to see the screen to read it, a harmful app that gets this permission can also read everything you type and draw fake sign‑in boxes over your banking apps4.
A fake app gets onto the phone
A text message, website pop-up, or person with your phone installs an app from outside the Google Play Store.
The app asks for Accessibility access
It claims it needs this setting to work properly, such as to clean your phone or show an update.
It watches the screen and keyboard
Once Accessibility is turned on, the app can read every tap and place a fake sign-in screen over your real bank app.
What to do
If it is safe for you to make changes on your phone, go through these steps in order, starting with the checks that stop someone from watching right now.
Step 1: Lock your screen and keep your phone with you
Since most phone monitoring starts with someone picking up an unlocked phone, set a strong six-digit passcode that no one else knows. Do not use a birthday or address.
If you use an iPhone, you can also set up Face ID or Touch ID so you do not have to type your passcode when people are around you.
Step 2: Check for extra keyboards
Both iPhones and Android phones let you install extra keyboards, and a custom keyboard can record what you type.
On an iPhone: Open Settings, tap General, and tap Keyboard. Tap Keyboards at the top. If you see any keyboard you did not add—anything besides English, Emoji, or a language you use—swipe left on its name and tap Delete.
On an Android phone: Open Settings and look for System (or General management), then Keyboard list and default (or On-screen keyboard). Turn off and remove any keyboard app you do not recognize, leaving only your phone’s standard keyboard, such as Gboard or Samsung Keyboard.
Step 3: Check iPhone configuration profiles
On an iPhone, a configuration profile is a small file that businesses and schools use to manage settings on work phones. Unwanted monitoring tools sometimes use them too. Deleting an unknown profile removes all the settings, apps, and data tied to it.
Step 1 of 2: Settings screen
Settings
- (tap here)General
- Accessibility
- Privacy & Security
If you see a profile you do not recognize from an employer or school, tap it, tap Delete Profile, enter your passcode, and restart your iPhone5.
Step 4: Check Android Accessibility and app permissions
On an Android phone, check which apps are allowed to watch your screen.
Open Settings and tap Accessibility.
Look under Downloaded apps or Installed apps.
Tap any app you do not recognize or do not need for vision or hearing help, and turn its switch Off.
Next, review your full app list in Settings under Apps and uninstall anything you do not remember installing. While you are there, it helps to check app permissions on your Android phone to see which apps can read your text messages, location, or microphone.
Step 5: Run a security scan on Android
Android phones include a built-in scanner called Google Play Protect.
Open the Google Play Store app.
Tap your profile icon in the top right corner.
Tap Play Protect, then tap Scan.
If it finds a harmful app, follow the prompts on the screen to remove it. You can also install a well-known security app from the Google Play Store, such as Malwarebytes or Bitdefender, and run a scan.
Step 6: Update your phone’s software
Apple and Google regularly close the security holes that spyware and keyloggers use. For example, Android 17.2 blocks more apps from misusing Accessibility when Google’s Advanced Protection Mode is turned on6.
On an iPhone: Open Settings, tap General, and tap Software Update.
On an Android phone: Open Settings, tap System (or Software update), and tap System update.
Step 7: Change your important passwords from another device
If you found and removed a suspicious app, keyboard, or profile—or if you still suspect your phone is being watched—change your passwords from a clean computer or tablet.
Start with your email account, your Apple Account or Google Account, and your bank. If you must reset your phone completely to factory settings to feel confident it is clean, do not restore it from an old backup afterward, as that can put a hidden app right back on the phone. Instead, set it up as a new phone and download your apps fresh from the App Store or Google Play Store.
Common questions
Can a fast-draining battery or slow typing mean I have a keylogger?
A keylogger runs in the background, so it can use extra battery power or cause a brief delay when you type. However, an aging battery, a full storage drive, or a normal software update causes those exact same symptoms much more often. Check your keyboards, Accessibility settings, and installed apps rather than relying on battery life alone.
Can someone put a keylogger on my phone by sending me a text message?
Opening and reading a text message will not put a keylogger on a normal phone. The danger comes if the message includes a link that talks you into downloading an app from a website or typing your password into a fake sign‑in page.
Will turning my phone off and on remove a keylogger?
Restarting your phone is a good habit and can stop rare, temporary attacks, but it will not remove a monitoring app, a custom keyboard, or an Android app with Accessibility access. You need to delete the app or profile in your settings.
For more information
- Keylogger What is a Keylogger & How to Detect and Remove Themmalwarebytes.com
- Stalkerware: What To Know - FTC Consumer Adviceconsumer.ftc.gov
- How To Detect A Keylogger On An iPhone (2026 Guide) | Certo Softwarecertosoftware.com
- Dangerous Permissions: How Android Malware Abuses Consent - Corratacorrata.com
- Review and delete configuration profiles - Apple Supportsupport.apple.com
- Google cracks down on Android apps abusing accessibility | Malwarebytesmalwarebytes.com