What Is Shoulder Surfing? Meaning & How to Stop It
In this article
Shoulder surfing is the practice of observing someone's screen or keyboard, usually in a public place, to steal passwords, PINs, or other private information. It is a real and common form of low-tech information theft that works because people often type sensitive data while others can see. The term is standard English, used in cybersecurity and everyday conversation alike, and it has been in use since at least the 1980s. The name comes from the literal action: standing or sitting close enough to look over a person's shoulder while they type or view a screen.
Where the Term Comes From
The word "shoulder surfing" is a compound noun formed from "shoulder" and "surfing," where "surfing" implies casually scanning or riding along. It first appeared in computer security literature in the 1980s, when personal computers and ATMs became common and people began noticing that passwords could be stolen simply by watching. The term is standard, not slang, because it appears in formal security guides, academic papers, and corporate training materials. It is used as both a noun ("shoulder surfing is a risk") and a verb ("someone shoulder-surfed my PIN").
How Shoulder Surfing Works
Shoulder surfing relies on proximity and human habit. Attackers position themselves to see a victim's keyboard, phone screen, or ATM keypad while the victim enters credentials. Common methods include:
- Standing close behind someone at an ATM and watching the PIN entry.
- Sitting next to a person on a bus or plane and glancing at their laptop or phone.
- Using binoculars or a camera with a zoom lens to read a screen from a distance.
- Watching a person type a password on a coffee shop table.
- Recording a video of a person entering a code on a public terminal.
The attack is effective because people often focus on the task, not their surroundings. A quick glance is often enough to capture a 4-digit PIN or a short password. Shoulder surfing is often combined with other theft methods—for example, an attacker might watch you enter your debit card PIN, then steal your card.
Where Shoulder Surfing Happens Most
Shoulder surfing occurs anywhere people enter sensitive information in public. The most common locations are:
- ATMs and bank lobbies
- Retail checkout terminals (especially when paying with a card and PIN)
- Public transportation (trains, buses, planes)
- Coffee shops, libraries, and co-working spaces
- Airport kiosks and self-checkout machines
- Hospital or clinic check-in screens
Attackers often choose busy, crowded places where people are distracted and less likely to notice someone standing close. They may also work in teams: one person distracts you while another reads your screen.
How to Protect Yourself
Preventing shoulder surfing is mostly about awareness and simple habits. Here are practical steps you can take:
- Be aware of your surroundings. Before entering a PIN or password, glance around to see who is near you.
- Use your body as a shield. When typing at an ATM or on your phone, cup your hand over the keypad or screen.
- Choose a secure spot. Sit with your back to a wall when using a laptop in public, and avoid entering passwords when someone is directly behind you.
- Use a privacy screen. Many laptops and phones have privacy filters that make the screen unreadable from an angle.
- Reduce on-screen typing. Use password managers that autofill credentials, so you type less in public.
- Enable two-factor authentication. Even if your password is stolen, a second factor can stop an attacker.
- Cover the keypad. At ATMs and checkout terminals, place your other hand over the hand that is typing.
If you are at an ATM and someone is standing too close, you can politely ask them to step back, or cancel the transaction and find another machine.
Common Misconceptions
One common misconception is that shoulder surfing only happens at ATMs. In reality, it happens anywhere people type—including on smartphones, which are often used in crowded spaces. Another misconception is that shoulder surfing is a thing of the past because of chip cards and contactless payments. While chip technology reduces card cloning, your PIN is still vulnerable if someone watches you enter it. Also, shoulder surfing is not only about passwords: attackers may watch you type a message, view a photo, or read an email that contains private information.
Shoulder Surfing vs. Other Threats
Shoulder surfing is often compared to other forms of information theft, but it is distinct:
- Phishing tricks you into giving information voluntarily, while shoulder surfing steals it by observation.
- Keylogging uses software or hardware to record keystrokes, while shoulder surfing uses human eyes.
- Social engineering may involve conversation to gain trust, while shoulder surfing is silent and often unnoticed.
Shoulder surfing is sometimes used as a first step in a larger attack. For example, an attacker might watch you enter your email password, then use that password to access your email and reset other accounts.
Is Shoulder Surfing Illegal?
Shoulder surfing itself is not always illegal, because merely looking is not a crime in most places. However, it becomes illegal when the observed information is used to commit fraud, identity theft, or unauthorized access. Some jurisdictions have specific laws against using a device to record someone's PIN entry. Recording laws also differ by place, so filming someone without consent may be illegal in some regions. If you suspect you are a victim of shoulder surfing, report it to the relevant authority (bank, police, or company security) and change your passwords immediately.
Frequently Asked Questions
Can shoulder surfing happen on a smartphone?
Yes, it is very common on smartphones. People often type passwords, enter PINs, or view sensitive messages while standing in line or sitting in public. Use a privacy screen and be mindful of who is behind you.
Does a privacy screen really work?
Yes, privacy screens reduce the viewing angle so that only someone directly in front can see the screen. They are effective against casual shoulder surfing, but not against someone who is directly behind you or using a camera.
How quickly can someone steal a password by shoulder surfing?
It can take only a few seconds. A 4-digit PIN can be read in one glance. Longer passwords may require watching the victim type a few times, but an experienced attacker can capture them quickly.
Can shoulder surfing be done remotely?
Yes, attackers can use binoculars, telescopes, or cameras with telephoto lenses to read screens from a distance. This is sometimes called "long-distance shoulder surfing" and is harder to detect.
What should I do if I think someone was shoulder surfing me?
Immediately change the password or PIN you were entering. If it was a bank card, contact your bank and consider freezing the card. If it was an email or social media account, enable two-factor authentication and check for suspicious activity.