To detect a keylogger, check what starts automatically with your computer, look for unknown processes and network connections, review which apps can read your keyboard, and run a full anti-malware scan. On Windows use Task Manager, Autoruns and TCPView; on Mac check Input Monitoring permissions; and always inspect the keyboard cable for a hardware keylogger.
Key takeaways
- A keylogger must start with your computer, read your keystrokes and send the log somewhere — each step leaves a trace you can check.
- Absence of symptoms proves nothing: well-built keyloggers are invisible, so a scan matters more than watching for lag.
- If you find one, change passwords from a clean device, turn on multi-factor authentication, and report it if someone else installed it.
A keylogger records everything you type: passwords, card numbers, private messages, search terms. The worst part is that a good one is invisible — no icon, no window, no warning. Finding one means knowing where to look, because it has to start with your computer, read your keyboard and send the log somewhere.
What is a keylogger?
A keylogger is software or hardware that records keystrokes and sends them to someone else. Software keyloggers are programs; hardware keyloggers are small adapters placed between a keyboard and a computer, or logging chips built into a modified keyboard.
Software keyloggers work in several ways. API-based loggers hook into the keyboard-handling functions of the operating system. Form-grabbing malware copies what you type into a web form the moment you submit it. Kernel-level loggers run with the same privileges as the operating system itself, which makes them far harder to detect and remove. JavaScript loggers are injected into a compromised web page and record what you type there.
Keyloggers arrive from three directions. The most common is malware: info-stealers often include a keylogging module next to their main job of copying saved browser passwords and cookies, and families such as Remcos and FormBook log keystrokes alongside screenshots and saved passwords. The second is commercial monitoring software, sold for parents and employers and misused by stalkers and abusive partners. The third is hardware, which needs physical access to install.
Some keyloggers do more than log keys. Many also take screenshots, copy the clipboard, record which windows you open, and steal saved passwords. That is why finding one is never just about the logger itself — you must assume everything typed on that machine may have been seen.
What are the signs of a keylogger?
The honest answer is that there may be no signs at all. Well-built keyloggers are designed to be invisible, and many infections produce no symptoms. Still, several indicators are worth taking seriously when they appear together.
- An account was taken over even though you used a strong, unique password — above all if two-step codes were not involved.
- Someone knows things you only typed, such as a message you deleted before sending.
- Your antivirus was switched off and you did not do it, or Windows Security says it is managed by someone else.
- A remote support tool, a new admin account or a program you never installed appeared shortly before the problems started.
- Typing lag or a slow computer, especially a delay between pressing a key and seeing the character appear, or a cursor that stutters.
- Unfamiliar programs or browser extensions you do not remember installing.
- Unusual network activity, such as high background data use when you are not actively using the internet.
- Password reset emails you did not request, or logins from places you have never been.
Typing lag and slowness are weak signs on their own, because modern keyloggers use very little CPU. Treat them as a reason to check, not as proof. The reliable way to check is a security-software scan plus the manual steps below — not watching for glitches. Our guide to how to know if your phone is hacked covers similar warning signs on mobile, where the same logic applies.
How do I detect a keylogger on Windows?
On Windows, work through four checks in order: running processes, startup entries, scheduled tasks and network connections — then scan. A keylogger must start, read input and send the log, and each of those leaves a trace in one of these places.
1. Task Manager: the Details tab
Press Ctrl+Shift+Esc and open Details (on Windows 11 it is in the left menu). Right-click a column header and add Command line and Publisher if your build offers them. Look for processes with no publisher, a misspelled name, or a file location in a user folder such as AppData instead of a system folder.
Do not end a process just because you do not recognize it — check its location and digital signature first. Two winlogon.exe processes can be normal on a PC with more than one signed-in session, so never end one on a count alone.
2. Startup apps and Task Scheduler
In Task Manager, open Startup apps (Startup on Windows 10). Each entry shows a publisher; right-click and choose Open file location for any entry without one. The same list is in Settings, then Apps, then Startup.
Next, open Task Scheduler and select Task Scheduler Library. Malware likes tasks that run at logon or repeat every few minutes, with an action pointing to a script or program in a user folder. For a complete picture across all startup locations, use Autoruns from Microsoft Sysinternals — the free tool that shows every place Windows can launch a program, including registry Run keys, services and browser helper objects. Autoruns version 14.3 was published in June 2026.
3. Services and network connections
Press Windows+R, type services.msc and press Enter. Double-click any service with no description or a random-looking name and read its path to executable. Then open TCPView, also from Sysinternals, which shows every network connection and the process behind it. A keylogger has to send its log somewhere, so look for an unknown process with a persistent outbound connection. GlassWire is a friendlier alternative that shows per-app network use over time.
4. Run anti-malware scans
Manual checks find the obvious cases; a scan finds the rest. Run a full scan with your main antivirus first, then a second-opinion scan with Malwarebytes Free, which covers on-demand scanning and catches many user-mode keyloggers. For suspected rootkits, add a dedicated rootkit scanner.
Run the scans offline where possible, and do not type passwords on the machine until the scans come back clean. If you need help with the wider cleanup, our guide to the best ransomware removal tools covers the same class of cleanup scanners.
How do I detect a keylogger on a Mac?
On a Mac, the fastest check is the Input Monitoring permission list: macOS now requires an app to have your approval to read keystrokes, which gives you a simple list of every app that can do it. Open System Settings, then Privacy and Security, then Input Monitoring, and review each entry.
Remove anything you do not recognize or no longer use, and be suspicious of apps with generic names. Also check Accessibility permissions in the same Privacy and Security panel, since keyloggers often request that access too. Check Login Items under General in System Settings for anything that starts at login.
Then check Activity Monitor for unfamiliar processes using CPU or network, and review the Applications folder and LaunchAgents and LaunchDaemons folders for items you did not install. Run a full scan with your Mac antivirus or a reputable Mac scanner as a second opinion. Macs are not immune to keyloggers — they are simply less commonly targeted, and the permission system makes the check easier.
How do I detect a keylogger on a phone?
On a phone, a keylogger usually arrives as a malicious app, a rogue keyboard app, or stalkerware installed by someone with physical access to the device. Start by reviewing installed apps for anything you do not remember installing, especially apps with generic names or no icon.
On Android, check Settings, then Apps, for apps with device-admin permission or accessibility access, and check which keyboard is active under Settings, then System, then Languages and input. Only use the keyboard that came with your phone or one from a publisher you trust. On iPhone, check Settings, then General, then VPN and Device Management for unknown profiles, and Settings, then Privacy and Security for apps with unusual access.
Run your phone maker's security scan — Google Play Protect on Android — and consider a reputable mobile security app as a second opinion. If the phone was set up by someone else, or you find stalkerware, treat it as a safety issue, not just a technical one: contact a local support service before confronting anyone. Our guide to how to know if your phone is hacked walks through the full phone check step by step.
How do I check for a hardware keylogger?
A hardware keylogger is found by looking, not by scanning: no software can see a device that sits between the keyboard and the computer. Inspect the cable from your keyboard to the computer, and look for a small plug or adapter you did not put there.
| Keylogger type | Where it hides | How to detect it | Caught by antivirus? |
|---|---|---|---|
| Software (user-mode) | Running process, startup entry | Task Manager, Autoruns, anti-malware scan | Usually yes |
| Software (kernel-level) | Operating system driver | Rootkit scanner, clean reinstall | Often no |
| Hardware adapter | Between keyboard and PC | Physical inspection of cables | No |
| Modified keyboard | Inside the keyboard | Swap in a known-good keyboard | No |
| Phone app / stalkerware | Installed app, keyboard | App and permission review, security scan | Sometimes |
| JavaScript (web) | Compromised web page | Only on that site; use a password manager | No |
Check the back of the computer and any USB hub, and look at the keyboard itself for signs of tampering, such as a loose case or a different weight than you remember. On shared or work computers, this check matters most: a small plug between the keyboard cable and the computer is the classic hardware keylogger.
Wireless keyboards are harder to tap this way, but a swapped keyboard with a logging chip inside is still possible — if you suspect one, swap in a keyboard you trust and see whether the symptoms stop. This hands-on approach is the one every current detection guide recommends, since software cannot see a hardware logger at all.
Public and shared computers deserve a quick cable glance before you type a password. It takes five seconds and no software can do it for you.
How do I remove a keylogger?
Removal depends on what you found. For a software keylogger, disconnect from the network, run a full anti-malware scan, remove what it finds, and then check startup entries again to make sure it has not come back.
- Disconnect the device from Wi-Fi and ethernet so the logger cannot send more data.
- Do not type passwords on it. Use a different, clean device for every password change.
- Run a full scan with your antivirus and a second-opinion scanner, then remove everything they flag.
- Check startup and scheduled tasks again — malware often reinstalls itself from a scheduled task after removal.
- For a hardware keylogger, unplug it and keep it as evidence if the device belongs to someone else or a crime is involved.
- If scans keep finding threats, or a kernel-level logger is suspected, reinstall the operating system. A clean install is the only sure way to remove a rootkit-level logger.
After removal, change every password that was typed on the infected machine, starting with email, banking and password manager accounts. Check for new mail-forwarding rules, unknown devices on your accounts, and password reset emails you did not request.
Test whether a password already appears in known breaches with our pwned password checker. For a deeper walkthrough of the manual checks, see the step-by-step keylogger detection guide from ReviewedByPro.
How can I prevent keyloggers in the future?
Prevention is cheaper than cleanup, and it rests on a few habits that CISA and the FTC both recommend: multi-factor authentication, updates, reputable security software, and care about who touches your devices.
- Turn on multi-factor authentication everywhere. CISA and the FTC both highlight MFA as one of the most effective protections, because a stolen password alone is no longer enough to log in.
- Keep your operating system, browser and apps updated so known vulnerabilities used to deliver spyware get patched.
- Run real-time anti-malware and scan files before opening them, especially email attachments and downloads from unfamiliar sites.
- Use a password manager. It fills in logins without you typing them, which means a keylogger captures nothing useful — and it will not autofill on a fake site.
- Lock your screen and do not leave devices unattended in shared spaces, since hardware loggers and stalkerware need physical access.
- Use an on-screen keyboard for the most sensitive logins on a shared computer, as a partial defense against hardware loggers — it is not perfect, but it helps.
For a wider starting point, the small business cybersecurity checklist covers MFA, updates and device security alongside backups and email protection.
The bottom line
A keylogger hides by design, so do not wait for symptoms. Check startup programs with Autoruns, watch network connections with TCPView, review Mac Input Monitoring permissions, glance at the keyboard cable, and run a full anti-malware scan.
If you find one, stop typing passwords on that machine, clean it from a position of safety, change your passwords from a clean device, and turn on multi-factor authentication. Check whether any of your passwords were exposed with the pwned password checker and start fresh.
Frequently asked questions
How do I know if I have a keylogger?
Look for accounts taken over despite strong unique passwords, someone knowing things you only typed, antivirus switched off without your action, or unfamiliar programs and browser extensions. The reliable check is a full anti-malware scan plus a review of startup programs, not symptoms alone.
Can antivirus detect a keylogger?
Usually, yes, for known software keyloggers. A reputable antivirus or a dedicated scanner such as Malwarebytes Free catches most user-mode keyloggers. Kernel-level loggers and hardware keyloggers are harder: the first needs a rootkit scanner, and the second can only be found by physical inspection.
Does a keylogger slow down your computer?
Sometimes, but not reliably. Modern keyloggers use very little CPU, so typing lag or a slow computer is a weak sign. Treat slowness as a reason to check, not as proof of infection, and do not assume a fast computer is clean.
Can a keylogger be on my phone?
Yes. On phones, keyloggers usually arrive as a malicious app, a rogue keyboard app, or stalkerware installed by someone with physical access. Check installed apps, keyboard settings and device-admin permissions, and use your phone maker's security scan.
Can I detect a keylogger with Task Manager?
Task Manager is a useful first check: press Ctrl+Shift+Esc, open Details, and look for unfamiliar processes, then check the Startup tab. It is not enough on its own, because malware can hide or use a legitimate-looking name, so follow up with Autoruns and an anti-malware scan.
Is a keylogger illegal?
Installing a keylogger on a device you do not own, or on a device someone else uses without their knowledge, breaks wiretap, computer misuse or privacy laws in many countries, including the US federal Wiretap Act. Employers and parents face their own rules, so this guide covers finding keyloggers on your own devices only.
What should I do first if I find a keylogger?
Disconnect the device from the network, do not type any more passwords on it, and change your passwords from a different clean device. Then run a full scan, remove the logger, turn on multi-factor authentication, and check for unknown logins and mail-forwarding rules.
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 current detection guides for Windows 11 and macOS, Microsoft Sysinternals documentation, and CISA and FTC guidance on multi-factor authentication.
How we write and fact-check →