Android pattern locks offer a convenient way to protect a smartphone without typing a traditional password. Users draw a continuous line across a grid of dots, and the phone unlocks when the correct sequence is entered. Although this method is easy to remember and quick to use, many people choose patterns that are much easier to guess than they realize.
What makes an Android pattern lock difficult to guess?
A difficult pattern lock combines several characteristics that make it unpredictable. The number of dots used, the order in which they are connected, the direction of movement, and the overall shape all affect how difficult a pattern is to predict.
Most Android pattern locks use a grid of nine dots arranged in three rows and three columns. Users can create patterns containing a minimum of four dots and a maximum of nine dots. This creates a range of possible combinations, but not every combination is equally difficult to guess in practice.[1]
A pattern that uses only four dots offers considerably fewer possibilities than one that uses eight or nine. However, simply connecting more dots does not automatically make a pattern secure. A predictable sequence can remain vulnerable even when it looks complicated.
The strongest approach is to choose a pattern that:
- Uses as many available dots as can be comfortably remembered.
- Starts somewhere other than the usual corners.
- Changes direction several times.
- Includes unexpected crossovers.
- Avoids familiar letters, numbers, and recognizable shapes.
- Does not follow an obvious left-to-right or top-to-bottom sequence.
The goal is to create a sequence that is difficult for another person to anticipate, rather than one that merely looks complicated on the screen.
How pattern complexity affects Android lock security
Pattern complexity is one of the most significant factors in determining how difficult an Android lock is to guess. Research into Android pattern choices has shown that the number of connected dots and their specific sequence both matter.
Research by Marte Løge, a graduate of the Norwegian University of Science and Technology, found that people frequently selected patterns with fewer dots and familiar movements.[1]
The research identified the following number of possible combinations for different pattern lengths:
| Number of dots | Possible combinations |
|---|---|
| 4 | 1,624 |
| 5 | 7,152 |
| 6 | 26,016 |
| 7 | 72,912 |
| 8 | 140,704 |
| 9 | 140,704 |
These figures show why longer patterns generally provide more possible combinations. Moving from four dots to six, for example, increases the number of possible patterns substantially.[1]
However, there is an interesting detail: eight-dot and nine-dot patterns offer the same number of possible combinations in the research. This means using every dot does not necessarily provide more theoretical combinations than using eight.[1]
The sequence matters as much as the length
A pattern’s direction and movement also affect its complexity.
For example, a sequence that moves steadily across the grid is easier to anticipate than one that changes direction unexpectedly. Research discussed by Ars Technica explains that the sequence 1-2-3-6 receives a lower complexity score than 2-1-3-6 because the second sequence changes direction.[1]
This difference matters because people tend to create patterns that feel natural to draw. Straight lines and familiar movements are easier to remember, but they can also make the pattern more predictable.
Crossovers are another useful feature. A pattern that moves between different parts of the grid creates a less familiar sequence than one that follows a simple path. Crossovers can also make it harder for someone watching over the user’s shoulder to remember the exact movement.[1]
The best pattern is therefore not necessarily the one with the most dots or the most elaborate appearance. Its sequence should be unpredictable as well as sufficiently long.
What is the most common Android unlock pattern?
Many people assume that their personal pattern is unique. In reality, Android users tend to follow similar habits when choosing their screen locks.
The research analyzed by Ars Technica found that 44 percent of the examined patterns started at the top-left dot. An even larger percentage, 77 percent, started at one of the four corners.
The average pattern contained about five dots. This meant that many users were choosing from a much smaller pool of possibilities than the full Android pattern system allows.[1]
Other common habits included:
- Starting at the upper-left corner.
- Moving from left to right.
- Following a top-to-bottom sequence.
- Choosing only four or five dots.
- Drawing familiar shapes that are easy to remember.
These habits make pattern locks more predictable because attackers do not necessarily need to consider every theoretically possible combination. They can focus on the types of patterns people are most likely to choose.
The study also found that more than 10 percent of the collected patterns were based on alphabetic letters. These often represented the first initial of the user or someone close to them, such as a spouse or child.[1]
This is a particularly important weakness. A letter-shaped pattern may feel personal and difficult for a stranger to guess, but someone who knows the user may be able to make an educated guess.
Avoid using initials, recognizable letters, or familiar symbols when creating a screen lock.
Common mistakes that make pattern locks easy to guess
A pattern can look complicated to its owner while remaining relatively predictable to someone else. This happens because people often prioritize convenience and memorability over unpredictability.
Several common mistakes can weaken an Android pattern lock.
Using too few dots: Four-dot patterns have only 1,624 possible combinations. This is considerably fewer than the possibilities offered by longer patterns.[1]
Starting in an obvious location: The top-left corner and other corners are popular starting points. Choosing one of these familiar positions can make the pattern easier to anticipate.[1]
Drawing simple shapes: Letters, geometric shapes, and recognizable designs can provide clues about the sequence. A pattern resembling a familiar symbol may be easier to remember, but that does not make it harder to guess.
Following a predictable direction: Moving consistently from left to right or from top to bottom creates a familiar drawing style. Changing direction makes the sequence less predictable.[1]
Choosing a pattern based on personal information: Initials and other meaningful shapes can be vulnerable to guesses based on knowledge of the phone’s owner.[1]
Assuming visual complexity guarantees security: A complicated-looking pattern is not necessarily difficult to predict. Research discussed by Techlicious found that patterns with more connecting lines could actually be easier for a video-analysis algorithm to recognize.[2]
The last mistake is especially interesting because it demonstrates that pattern security involves more than the number of dots or the appearance of the design.
Can someone break an Android pattern lock?
Yes. Android pattern locks can be vulnerable to guessing and observation, particularly when users choose predictable sequences.
One weakness is that people nearby may be able to watch someone unlock a phone. If the pattern is drawn slowly or follows a recognizable shape, an observer may remember the movement and reproduce it later.
Another concern is video-based observation. A study discussed by Techlicious described an algorithm capable of analyzing videos of people drawing Android patterns. The reported attack could guess 95 percent of the tested patterns within five attempts.[2]
The technique relied on analyzing hand movements rather than directly seeing the phone’s display. The article reported that recordings could be made from approximately eight feet away using a smartphone camera or more than 29 feet away using a high-quality SLR or DSLR camera.[2]
Interestingly, the research also found that patterns with more connecting lines were not necessarily safer against this particular technique. The algorithm cracked 87.5 percent of complex patterns on its first attempt, compared with 60 percent of simple patterns.[2]
This finding highlights an important distinction between guessing resistance and observation resistance. A pattern may have many possible combinations, but its physical movement can still reveal information to someone recording the unlocking process.
The earlier research by Løge also identified crossovers as a way to make patterns harder to trace by someone watching over the user’s shoulder.[1]
For stronger protection, Techlicious recommends using fingerprint authentication when supported by the phone. Its article identifies Android 6.0 Marshmallow as the version that added fingerprint authentication support in late 2015. It also recommends a strong password or PIN for devices without fingerprint support.[2]
Top 10 difficult Android pattern lock designs
There is no officially established ranking of the world’s hardest Android patterns. However, several designs published as difficult mobile patterns use longer sequences and more varied movements.
The following examples illustrate different ways of connecting dots across a nine-dot grid. The numbers represent the order in which the dots are selected.
| Pattern name | Dot sequence | Number of dots |
|---|---|---|
| Fish | 2-5-8-4-6-9-3-1 | 8 |
| Love Angle | 2-5-9-1-4-8-6-3-7 | 9 |
| Ribbon | 5-7-3-6-4-1-9 | 7 |
| Bird Man | 2-5-7-3-6-4-1-9 | 8 |
| Robo Head | 2-5-4-6-3-9-8-7-2 | 9 |
| MKBHD | 4-8-6-9-3-5-1-7 | 8 |
| Illusion | 2-1-3-5-4-6-8-7-9 | 9 |
| Impossible | 8-6-5-4-2-1-3-7-9 | 9 |
| Maze | 1-2-5-4-6-3-9-8-7 | 9 |
| Time Machine | 8-6-5-4-2-3-1-9-7 | 9 |
These ten designs were published as difficult mobile pattern examples by Information Security Newspaper in August 2023.[3]
Their sequences demonstrate different approaches to using the grid, including changes in direction, longer paths, and movements between different sections of the screen.
However, a published pattern should not automatically be treated as a secure personal password. Once a pattern becomes publicly available, someone attempting to guess it could include that sequence among their possibilities. A recognizable design can also be easier to remember and reproduce than a genuinely unpredictable sequence.
For that reason, these examples are better treated as illustrations of pattern design than as passwords to copy directly.
How to choose a secure Android pattern lock
Choosing a difficult pattern requires balancing security with memorability. A pattern that is impossible to remember can cause problems for its owner, while one that is too familiar may be easier for someone else to guess.
The following practices can help create a stronger pattern.
- Use a longer sequence. Prefer a pattern that connects several dots rather than stopping at the minimum of four. Longer patterns generally provide more possible combinations.[1]
- Avoid the usual starting points. The top-left corner and other corners are common choices. Starting somewhere less predictable helps avoid familiar patterns.[1]
- Change direction. Include different movements rather than drawing a simple straight line or following the natural reading direction of the grid.
- Use crossovers. Connect different areas of the grid in an unexpected order. Crossovers can make the sequence harder to trace by someone observing the unlocking process.[1]
- Avoid letters and initials. Do not base the pattern on your name, a family member’s initial, or another familiar symbol. Alphabetic patterns were a recurring weakness in the research.[1]
- Avoid copying popular examples. A pattern published online is no longer an original secret. Create a personal sequence instead of relying on a widely circulated design.
- Choose something you can remember. Complexity is useful only when the owner can reliably reproduce the pattern. The research discussed by Ars Technica also found that people had difficulty remembering patterns with very high complexity scores.[1]
Another useful consideration is the difference between a pattern’s theoretical complexity and its real-world security. The total number of possible combinations does not account for predictable human choices or someone observing the unlocking process.
A strong pattern should therefore be difficult to anticipate, not simply difficult to draw. If a fingerprint reader is available, it is also worth considering as an alternative authentication method, particularly given the video-observation weaknesses discussed in the research.[2]