Grouping in psychology refers to the way your brain automatically organizes individual visual elements into larger, coherent wholes. When you look at a scene, you don’t perceive thousands of separate dots of light. Instead, your brain clusters shapes, colors, and movements into objects and patterns that make sense. This process, called perceptual grouping, was first described by the Gestalt psychologists in the early 1920s and remains one of the most well-studied phenomena in how humans perceive the world.
Where the Idea Came From
Perceptual grouping traces back to the Gestalt school of psychology, founded by Max Wertheimer, Kurt Koffka, and Wolfgang Köhler in Berlin. In 1912, Wertheimer published a paper on the phi phenomenon, the illusion of motion created by flashing two stationary lights in quick succession. This simple demonstration carried a radical implication: the brain doesn’t just collect raw sensory data and piece it together. Instead, we perceive structured wholes (“Gestalten” in German) as the primary units of experience. Perceived motion wasn’t something the mind added after registering two separate flashes. It was its own distinct experience.
In 1923, Wertheimer followed up with a paper laying out the specific principles that govern how the brain organizes visual information. The most general of these was the law of Prägnanz, which states that perception tends toward the simplest, most stable structure the available information allows. Under this umbrella, Wertheimer identified more specific rules: proximity, similarity, common fate, good continuation, and closure, among others. These principles predict which parts of an image your brain will treat as belonging together and which it will separate.
The Core Grouping Principles
Proximity
Elements that are close together in space are perceived as a group. This was the first principle Wertheimer described, and it’s one of the most powerful. If you see six dots arranged in three pairs with small gaps between the two dots in each pair and larger gaps between the pairs, you instantly see three groups of two, not six separate dots. No conscious effort is needed. Your brain handles it automatically based on relative distance alone.
Similarity
Elements that share a visual feature, such as color, shape, or size, are perceived as belonging together. A grid of alternating red and blue circles will appear as columns or rows of same-colored dots rather than a random scatter. Interestingly, similarity and proximity interact with each other. Research has shown that similarity is most effective when the similar items are also near each other. When similar elements are spread far apart, the grouping effect weakens considerably.
Good Continuation
Your brain prefers to perceive continuous, smooth lines rather than abrupt changes in direction. If two curved lines cross each other, you’ll see two flowing paths rather than four segments meeting at a point. This principle helps you track edges and contours in complex scenes, which is essential for recognizing objects that overlap or partially hide behind one another.
Closure
When a shape is incomplete, your brain fills in the gaps to perceive a whole object. A circle with a small section missing still looks like a circle, not an arc. This principle explains why you can read text that’s partially obscured or recognize a friend’s face even when part of it is hidden behind sunglasses. Your visual system actively constructs complete forms from fragmentary input.
Common Fate
Elements that move in the same direction at the same speed are grouped together. A flock of birds flying in formation looks like a single unit against the sky. The elements don’t even need to be physically moving. If they suggest motion by pointing in the same direction, the grouping effect still works. When elements share both direction and visual appearance, the perceived connection becomes even stronger.
Uniform Connectedness
This principle was proposed later, in 1994, by Stephen Palmer and Irvin Rock. It states that elements connected by a visual feature like a line, a shared color region, or a common border are perceived as a single unit. In experiments, grouping by uniform connectedness was processed faster than grouping by similarity, though proximity-based grouping could match it in speed. Adding connecting lines between similar elements sped up how quickly people recognized them as a group, but adding those same lines to elements already grouped by proximity made no difference. Proximity was already doing the job efficiently on its own.
Global Before Local
Grouping doesn’t just determine which dots go with which dots. It shapes whether you see the forest or the trees first. In 1977, David Navon demonstrated this with a clever experiment: he showed people large letters (like a big “H”) made up of smaller letters (like tiny “S” shapes). Participants identified the large letter faster than the small ones, and when the large and small letters were different, the large letter interfered with recognizing the small ones, but not the other way around.
This “global precedence effect” means your brain processes the overall grouped structure before it drills down into the individual pieces. You see the word before you see the individual letters, the face before you notice the eyes. Grouping, in other words, isn’t just about clustering nearby dots. It’s the mechanism by which your brain builds up from raw visual data to meaningful, recognizable objects and scenes.
What Happens in the Brain
Perceptual grouping involves early visual processing areas, particularly the regions known as V1 and V2 in the visual cortex. These areas don’t just passively receive information from the eyes. Neurons in V1 and V2 communicate laterally (side to side) to integrate information across space, detecting which edges and contours belong to the same object. V2 performs this integration at a larger scale than V1, helping the brain stitch together bigger structures from smaller parts. Feedback signals from higher brain areas also flow back down to the earliest stages of visual processing, refining the grouping as more context becomes available.
When Grouping Works Differently
Not everyone’s brain groups visual information with the same speed or efficiency. Research using brain imaging has found that people with autism spectrum disorder (ASD) show measurably different neural responses during grouping tasks. In one study, both autistic and non-autistic participants could accurately identify grouped patterns, with accuracy above 94% in both groups. But the brain activity told a different story. Non-autistic participants showed stronger and earlier neural responses to grouped stimuli, with peak brain activity occurring about 7 to 9 milliseconds sooner. People with ASD showed prolonged neural processing, particularly for grouping by similarity, suggesting that this type of grouping places a higher demand on their brains’ resources.
The autistic participants also showed less hemispheric specialization, meaning both sides of the brain were more equally active rather than one side taking the lead. This reduced specialization may contribute to less efficient grouping. These findings don’t mean that people with ASD can’t group visual information. They clearly can, and at high accuracy. But the process appears to require more neural effort and take slightly longer, which could have cascading effects on processing complex visual scenes in real time.
Grouping in Everyday Design
The grouping principles show up everywhere in the designed world, especially in websites and apps. Proximity is one of the most commonly used tools in interface design. Placing related buttons, labels, or menu items close together, with space between unrelated groups, instantly communicates structure without needing visible borders or boxes. Your brain does the organizing work automatically.
Similarity helps users scan content efficiently. When a features list uses repeating visual patterns (an icon next to a few lines of text, repeated for each feature), the consistent design signals that all those items are the same type of thing. Deliberately breaking that pattern for one item, by changing its color or size, makes it stand out and signals that it’s different or more important. Even something as basic as making all hyperlinks the same color throughout a site relies on similarity to help visitors understand what’s clickable.
Common fate drives the animations and transitions in modern interfaces. When you click a menu option and several elements slide together in the same direction, their synchronized movement tells you they’re related. Designers need to keep animation speeds consistent for elements that belong together. If items that should be grouped animate at different speeds, users perceive them as unrelated, which creates confusion about how the interface is structured.

