Exploring Earth's Oceans Since 1999 · Founded by Blane Perun
3,072 Articles·80+ Countries·25 Years of Ocean Science·Site Map
◆ Trending
25 years exploring Earth's oceans,
coral reefs, and the creatures within.
3,072Articles
80+Countries
1999Founded

Crabs Have Large Compound Eyes on Stalks

Crabs Have Large Compound Eyes on Stalks — How Crabs See the World

Coral Reef Invertebrate
8 min read
What kind of eyes do crabs have?

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.

Quick facts
Eye type
Compound eyes made of many units
The units
Ommatidia, each with its own lens
Number
Hundreds to thousands per eye, depending on species
Mounted on
Movable eyestalks that fold into grooves
Field of view
Very wide, often nearly panoramic
Best at
Spotting motion and changes in light
Weaker at
Seeing fine detail
Also in the eyestalk
Glands that make hormones controlling molting

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.

100s–1,000s
Ommatidia (lens units) in each crab eye
~360°
Near-panoramic view in many crabs
2
Movable eyestalks that work like periscopes
Ghost crab raising tall stalked compound eyes on a sandy beach - crabs have large compound eyes
Crab compound eyes

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.

REEF INVERTEBRATES · CRABS Eyes on stalks, built from many lenses Sources: NOAA · invertebrate vision references Compound eyes built of many tiny units — On stalks raised for a wide view — Ommatidia the individual lens units — Motion superb at detecting movement — LENSES PER EYE Ommatidia in a compound eye 30,000 Dragonfly 8,000 Crab 4,000 Housefly 1 Human A crab’s eye packs thousands of lenses; ours has just one. FIELD OF VIEW Seeing almost all around ~360 degrees Stalked eyes scan all directions near-panoramic awareness Raised on stalks, the eyes watch for danger even while the crab is buried. HOW WIDE THEY SEE Field of view (degrees) Crab (stalked) 360° Rabbit 340° Human 180° Stalked compound eyes give a crab almost all-round vision. AN ANCIENT DESIGN Compound eyes through deep time 520 Mya today Compound eyes appear Cambrian Today KEY Structure Lenses Motion
A crab’s compound eyes, built from many lens units and raised on stalks, give a wide, motion-sensitive view of the reef. Source: NOAA.

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.

Fiddler crabs and the horizon
Fiddler crabs live on flat mudflats and have long, upright eyestalks. Their eyes see in finest detail along a band that lines up with the horizon. Research suggests they use a simple rule: anything moving above the horizon is likely a predator, such as a bird, while anything moving below it is likely another crab. It is a neat example of an eye tuned to a particular habitat.

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.

“A crab peeking out of a crevice with just its eyestalks showing is running one of the best surveillance systems on the reef.”
— Blane Perun, TheSea.Org
Frequently asked questions

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.

Sources & further reading
  1. Land, M.F. & Nilsson, D.-E., Animal Eyes (Oxford University Press), compound eye optics
  2. Zeil, J. & Hemmi, J.M. (2006), the visual ecology of fiddler crabs, Journal of Comparative Physiology A
  3. Cronin, T.W. et al., Visual Ecology (Princeton University Press)
  4. NOAA Ocean Service: crabs and crustacean biology
BP
Last updated November 12, 2026
Written by
Blane Perun

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 →
Coral Aquaculture · The Pioneer Story
Blane Perun, A coral aquaculture pioneer

Built one of the first home reef tanks designed as a multi-zone replica of natural reef conditions. Author of long-form profiles cited by Wikipedia, Quality Marine, and SeaScope. Independent — no advertisers, no sponsored placements, no editorial board outside the dive log.

Widely credited as the pioneer of named-coral culture in the reef-keeping hobby. The original — “Perun's Purple People Eater”, a Protopalythoa morph from his coral farm — became the first hobbyist coral to carry an aquaculturist's name in trade, sparking the now-standard practice of naming individual coral strains across the industry.

Founded1999 Articles3,072 Countries80+ Cited inWikipedia · Quality Marine · SeaScope
Read Blane's full bio →
The Dispatch · Monthly

Field notes from eighty countries worth of ocean.

One monthly email. New long-form reporting, species profiles, and dive reports — no filler, no tracking pixels, no sponsored placements. Ever.

Sign up and get my one-click underwater color-correction actions for Photoshop — the set I run on my own dive shots. Free.

Get the action now + monthly field notes
No spam · Unsubscribe anytime
Underwater reef photo before and after Blane Perun's Photoshop color-correction action — washed-out blue-green on the left, full natural color restored on the right
Same shot · one click