← Simulator

Number 0 pattern lock

How to draw the number 0 as an Android unlock pattern, step by step, on the standard 3×3 grid and on 4×4, with the security score PatternGuard’s analyzer gives each version.

Number 0 pattern lock on a 3×3 grid, step by step: 1, 2, 3, 6, 9, 8, 7, 4
Green = start, yellow = end. Numbers show the order.

The number 0 on a 3×3 grid

An exact number 0 isn’t possible on the 3×3 grid: Android never lets you select a dot twice, and this shape would need it. The closest pattern leaves out the line 1–4.

  1. Start at dot 1 (top-left corner).
  2. Go to dot 2 (top middle).
  3. Go to dot 3 (top-right corner).
  4. Go to dot 6 (middle right).
  5. Go to dot 9 (bottom-right corner).
  6. Go to dot 8 (bottom middle).
  7. Go to dot 7 (bottom-left corner).
  8. Finish at dot 4 (middle left).

PatternGuard’s analyzer gives it 14/100 (Very weak): 8 dots, 0 crossings, starting at the top-left corner.

Try it in the simulator

On 3×3 this is exactly the same pattern as the letter O: anyone who guesses one has guessed the other.

Is a number 0 pattern safe?

Not really. Numbers are easy to guess when they mean something: a birthday, a house number, a favorite number. A single digit drawn on the grid is also a short, recognizable shape that’s easy to spot over someone’s shoulder.

A stronger way to use the number 0

If you like the number 0, don’t draw it on its own. Adding 1 dot before it keeps the shape you remember but hides it inside a longer stroke: 5 → 1 → 2 → 3 → 6 → 9 → 8 → 7 → 4 scores 36/100 (Weak), against 14 for the plain number 0.

It’s still published here, so treat it as an example of the idea, not as a pattern to copy. The safest pattern is one of your own that doesn’t spell anything.

Try this version in the simulator

Number 0 pattern lock on a 4×4 grid, step by step: 2, 3, 8, 12, 15, 14, 9, 5

The number 0 on a 4×4 grid

Stock Android uses the 3×3 grid; 4×4 shows up in some custom ROMs and lock-screen apps, and the simulator supports it. An exact number 0 isn’t possible on the 4×4 grid: Android never lets you select a dot twice, and this shape would need it. The closest pattern leaves out the line 2–5.

Order: 2 → 3 → 8 → 12 → 15 → 14 → 9 → 5

PatternGuard’s analyzer gives it 40/100 (Weak): 8 dots, 0 crossings, starting at the row 1, column 2. On 4×4 it’s the same pattern as the letter O.

Try the 4×4 version

Why some numbers can’t be drawn exactly

Android’s pattern lock has three rules: at least 4 dots, no dot can be selected twice, and if the stroke passes over a dot you haven’t used yet, Android adds it automatically. Passing over a dot you already used is allowed, which is how some shapes can be traced exactly. On 3×3, shapes with a closed loop or three or more loose ends (like A, B or O) still need one line left out or one line added; the 4×4 grid has more room, but not always enough.