Crabs Have Large Compound Eyes on Stalks — How Crabs See the World
Crabs have compound eyes, each made of many tiny optical units called ommatidia, often hundreds to thousands per eye. Each unit has its own lens and samples a small patch of the scene, and the crab’s brain combines them into a mosaic image. In most crabs, the eyes sit on movable eyestalks that can be raised like periscopes and folded down into grooves for protection. This design gives crabs a very wide field of view, often close to all the way around, and makes them excellent at detecting movement, although they see less fine detail than humans do.
Watch a crab on a reef flat or a beach and you will notice two things almost at once: its eyes stick up on little posts, and it reacts to your movement long before you get close. Those stalked eyes are one of the most successful visual designs in the animal kingdom. This guide explains how a crab’s compound eyes work, why they sit on stalks, what crabs can and cannot see, how different crabs have tuned their eyes to their habitats, and why clear water and intact reefs matter to animals that live by spotting danger.
How a compound eye works
Instead of one lens, a crab’s eye has many, each looking in a slightly different direction.
Our eyes have a single lens that focuses an image onto a retina. A compound eye works differently. It is a dome packed with many small, tube-like units called ommatidia. Each one has its own lens at the surface, a clear cone beneath it, and a cluster of light-sensitive cells at the bottom. Because the dome is curved, each ommatidium points in a slightly different direction and captures light from a small patch of the surroundings.
The crab’s nervous system combines these signals into a single picture, a mosaic made of many points of light, a little like a low-resolution digital image built from pixels. The more ommatidia an eye has, and the more closely they are packed, the sharper the picture can be. Crabs typically have hundreds to thousands of ommatidia per eye, depending on the species and the size of the animal.
Compound eyes are found throughout the arthropods, the group that includes crustaceans and insects. A dragonfly’s eye may contain tens of thousands of units for high-speed aerial hunting, while a crab, which mainly needs to catch movement across a wide arc near the ground, manages very well with fewer. The compound eye is a flexible design that evolution has tuned to each animal’s way of life.

Why crab eyes sit on stalks
Eyestalks turn a crab’s eyes into periscopes and give it an almost all-round view.
In most crabs, each compound eye sits at the tip of a movable eyestalk projecting from the front of the shell. Raising the eyes on stalks lifts them above the body, so the crab can see over obstacles and around itself without turning. In many species, the field of view of each eye covers a huge arc, and together the two eyes give a near-panoramic view of the surroundings.
That matters for an animal hunted by fish, octopuses, birds and other crabs. A crab can keep watch in almost every direction at once while it feeds, fights or courts. The stalks are also ideal for animals that bury themselves or hide in holes. A crab under the sand or tucked into a coral crevice can raise just its eyestalks above the surface, scanning for threats while the rest of its body stays hidden.
When danger strikes, most crabs can fold their eyestalks down into protective grooves in the front of the shell, tucking these delicate organs safely away. The eyestalks are not just for seeing, either. In crabs and many other crustaceans, they contain glands that produce hormones controlling molting and other body functions, as explained in all crustaceans have an exoskeleton.
What can crabs see?
Crabs trade sharp detail for superb motion detection and a wide view.
Motion: compound eyes are excellent at detecting movement. When something moves, its image sweeps across many ommatidia in quick succession, producing a strong signal. For a crab, the instant detection of a moving shadow, whether a fish striking or a bird swooping, matters far more than seeing crisp detail. That is why crabs often bolt for cover the moment you move.
Detail: compared with human eyes, crab eyes see the world at a much lower resolution. A crab would struggle to recognise fine shapes at a distance. But it does not need to. A rough outline, a contrast against the background and, above all, movement tell it most of what it needs to know.
Light and colour: many crabs see well in dim light, and studies suggest that many can tell some colours apart, though not as many as we can. Some crabs can also detect the polarisation of light, a property invisible to humans, which can help them spot shiny wet surfaces or the bodies of other animals against the background.
Different crustaceans, different eyes
Not every crustacean’s compound eye is built the same way.
There are two main ways a compound eye can work. In an apposition eye, each ommatidium is optically isolated from its neighbours, so each forms one point of the image. These eyes work best in bright light and are common in crabs that are active by day. In a superposition eye, light passing through many neighbouring lenses is combined onto each group of light-sensitive cells, making the eye far more sensitive in dim light.
Lobsters, crayfish and many shrimp have a remarkable form of superposition eye in which the facets are square and lined with tiny mirrors that reflect light into focus. Engineers have even borrowed this lobster-eye principle for X-ray telescopes. At the other extreme, mantis shrimp have some of the most complex eyes known, with many types of colour receptors, sensitivity to ultraviolet and polarised light, and eyes that move independently.
Even among crabs, eyes vary. Ghost crabs that hunt on beaches at night have large eyes suited to low light, while some deep-sea and cave-dwelling crustaceans have reduced eyes or none at all. Each design reflects where and how the animal lives.
How crabs use their vision
For many crabs, eyes are tools for survival, hunting and social life.
Crab vision is used constantly to avoid predators. Many crabs freeze, flee or raise their claws in a threat display depending on how fast and how close a moving object is. Vision also helps with hunting and feeding, from spotting small prey to judging distances when grabbing food.
Some crabs use vision for communication. Male fiddler crabs wave an enlarged claw to attract females and warn rival males, a display that only works because the audience can see it. Other crabs signal with leg movements, body postures or colour changes. Read how crab larvae begin life in crabs hatch as tiny larvae, and see how their whole life cycle unfolds in the crab life cycle.
Vision, the reef and a changing world
Animals that live by sight need clear water and places to hide.
A crab’s visual early-warning system depends on water that is clear enough to see through. Sediment from coastal development and runoff, and nutrient pollution that fuels algal blooms, cloud the water and reduce how far any visual animal can see. That blunts the advantage stalked eyes provide and can leave crabs more exposed to predators.
The loss of reef structure matters too. The crevices, rubble and coral branches that crabs retreat into, raising only their eyestalks to keep watch, disappear when coral dies and reefs flatten. Keeping reef waters clear and reef structure intact protects corals and the countless small animals, crabs among them, that survive by seeing trouble coming. Learn more in coral reef conservation.
Related on TheSea
- Starfish Regenerate Missing Parts of Their Body
- Invertebrates Are 97% of All Animal Species
- Invertebrates Eat Anything Alive or Dead
- Sponges Filter Up to 100,000 Times Their Size in Water Each Day
- A Lobster’s Teeth Are in Its Stomach
- Some Sponges Live Over 200 Years
- Coral Reef Annelids
- Platyhelminthes
- Invertebrates
- Invertebrates Change as They Grow
- Reef Tunicates
- Coral Reef Sponges
Do crabs have compound eyes?
Yes. Crab eyes are compound eyes made of many small optical units called ommatidia, each with its own lens. The brain combines their signals into a mosaic image.
Why are crab eyes on stalks?
Eyestalks lift the eyes above the body, giving crabs a very wide, near-panoramic view. They also let crabs look out from burrows or crevices like periscopes, and most can fold the stalks into grooves for protection.
How many lenses does a crab eye have?
It varies by species and size, but crab eyes usually have hundreds to thousands of ommatidia, each with its own lens.
Can crabs see well?
Crabs are excellent at detecting motion and have a very wide field of view, but they see less fine detail than humans. Their vision is tuned to spotting predators and other crabs quickly.
Can crabs see colour?
Many crabs appear able to distinguish some colours, though fewer than humans, and some can detect polarised light. Colour vision varies a lot between species.
Can a crab regrow a lost eye?
Crabs can regrow many lost legs and claws through molting, but eye damage is far harder to repair. Losing an eyestalk can also affect the hormone glands it contains, so eyes are much less replaceable than limbs.
- Land, M.F. & Nilsson, D.-E., Animal Eyes (Oxford University Press), compound eye optics
- Zeil, J. & Hemmi, J.M. (2006), the visual ecology of fiddler crabs, Journal of Comparative Physiology A
- Cronin, T.W. et al., Visual Ecology (Princeton University Press)
- NOAA Ocean Service: crabs and crustacean biology
Blane Perun has been exploring Earth’s oceans and marine life for over 25 years. Founder of TheSea.Org in 1999, underwater photographer, coral aquaculture pioneer, and explorer of 80+ countries.
About Blane Perun → More on Coral Reef Invertebrate →