How to Choose an Unlock Pattern People Can't Guess

Published

A pattern is hard to guess when it uses many dots, doesn’t start in a corner, crosses over itself and changes direction often. Most people’s patterns do none of these things, which makes them far easier to guess than their number of possible combinations suggests.

The advice below works for the Android lock screen, for apps that use a pattern lock, and for Fortress’s 5×5 grid.

What people actually draw

In 2015, Marte Løge, then a master’s student at the Norwegian University of Science and Technology, studied around 4,000 Android lock patterns that people had created. She found:

  • 44% started in the top-left dot, and 77% started in one of the four corners.
  • Most patterns used only four or five dots, close to the minimum.
  • Patterns usually ran left to right and top to bottom, the way people read.
  • Many traced a letter, often the first letter of a name.

The 3×3 Android grid allows hundreds of thousands of patterns, but people chose from a tiny, predictable fraction of them. A guesser who starts with corners, common letters and short shapes gets through that fraction quickly.

Two other ways patterns leak

Smudges. Researchers at the University of Pennsylvania showed in 2010 that the oily trail a finger leaves on a touchscreen can reveal an unlock pattern, especially when photographed at an angle in good light. A pattern drawn along the same lines every day leaves a clear track.

Watching. Patterns are shapes, and shapes are easy to remember after seeing them once. A visible line on screen makes it easier still. Someone sitting next to you on a bus, or a partner across the table, can learn a simple pattern in a glance.

How to draw a stronger pattern

  1. Use more dots. Every extra dot multiplies the possibilities. On a 3×3 grid, aim for seven or more.
  2. Don’t start in a corner, and especially not the top-left one.
  3. Avoid letters, digits and shapes: no initials, no Z, no L, no square.
  4. Cross over your own line at least once. Crossings are harder to see, harder to remember and harder to read from smudges.
  5. Change direction several times, including against the usual top-to-bottom, left-to-right flow.
  6. Turn off the visible line if your phone or app allows it. On many Android phones it’s under Settings → Security or the lock-screen settings, as Make pattern visible. In Fortress it’s Hide pattern while drawing.
  7. Wipe the screen now and then, and draw with your thumb in different places when you can.

Check it before you commit

Before you set a pattern, ask yourself:

  • Could someone who knows you guess it, from a name, an initial or a habit?
  • Can you describe it in five words (“an L, then across”)? If so, a watcher can too.
  • Do you still remember it the next morning? A strong pattern you forget, without a backup, locks you out.

A larger grid helps, but only if you use it

Fortress uses a 5×5 grid of 25 dots and requires at least 7 of them, so the number of possible patterns is vastly larger than on the 3×3 grid. The same human habits still apply, though: a big L in the top-left corner is as guessable on 25 dots as on 9. Use the extra room.

Fortress also makes guessing slow. After 5 wrong patterns, you wait 30 seconds before the next try, rising to 15 minutes, and restarting the app doesn’t reset it. Each attempt needs the phone’s own security hardware, so the vault can’t be copied off and guessed at on a computer. And because a forgotten pattern can’t be reset by anyone, Fortress gives you a 12-word recovery phrase to keep on paper. More in pattern lock.

Sources