12 Animals That Live Under Rocks

Sep 25, 2025bySarah McConnell

Flip over a rock in the garden, by a stream, or along a hiking trail, and you might uncover an entire hidden world. Many animals use the damp, dark spaces under rocks as shelter from predators, harsh weather, and the heat of the sun.

Taking a closer look reveals just how much life thrives in the places we often overlook. Life is rich, and we should appreciate every animal, even the ones under rocks.

This article is for general knowledge only and is based on information from online sources. Species may vary depending on location and environment.

1. Scorpions

Scorpions
Image Credit: © Saleh Bakhshiyev / Pexels

These eight-legged arachnids love the protection and temperature control that rocks provide. During hot days, they hide beneath stones to escape the scorching heat, emerging at night to hunt.

Most species aren’t dangerous to humans, despite their fearsome appearance. They use their pincers to grab prey before delivering a venomous sting with their curved tail.

2. Pill Bugs (Roly Polies)

Pill Bugs (Roly Polies)
Image Credit: © Ed Alfonso / Pexels

Beloved by children everywhere, these small crustaceans curl into perfect balls when disturbed. Despite looking like insects, they’re actually more closely related to crabs and lobsters!

Pill bugs need moisture to survive, making the damp environment under rocks ideal. They feed on decaying plant material, helping break down organic matter in your garden while staying hidden from birds and other predators.

3. Centipedes

Centipedes
Image Credit: © Глеб Коровко / Pexels

With their many legs rippling in synchronized waves, centipedes are fast hunters that patrol the dark spaces beneath rocks. Each body segment carries a pair of legs, allowing them to move quickly when pursuing prey or escaping danger.

Their flattened bodies are perfectly adapted for squeezing into tight spaces. Most garden centipedes are beneficial predators that help control pest populations by feeding on insects, spiders, and worms.

4. Salamanders

Salamanders
Image Credit: © Valentin Riess / Pexels

With smooth, moist skin in vibrant patterns, salamanders seek the cool dampness beneath rocks to prevent their bodies from drying out. These shy amphibians are most active during rainy nights when humidity is high.

Many species have special glands that produce slightly toxic secretions for protection. Young salamanders develop in water before moving to land, where they hunt for insects, worms, and other small invertebrates that share their under-rock homes.

5. Wolf Spiders

Wolf Spiders
Image Credit: © Marcus Lange / Pexels

Unlike web-building spiders, wolf spiders actively hunt their prey like the wolves they’re named after. Their excellent vision comes from eight eyes arranged in three rows, with four small eyes on the bottom row, two large eyes in the middle, and two medium-sized eyes on top.

Female wolf spiders carry their egg sacs attached to spinnerets and later carry their spiderlings on their backs. Rocks provide perfect hunting grounds where they can ambush passing insects.

6. Snakes

Snakes
Image Credit: © Pixabay / Pexels

Many snake species use the spaces beneath rocks as protection from extreme temperatures and predators. Smaller species like garter snakes and ring-necked snakes are commonly found in these hideaways, especially during cold mornings when they need to warm up.

Rocks absorb heat during the day and release it slowly at night, creating perfect thermal regulation for these cold-blooded reptiles. Some snakes even use rock crevices as winter hibernation spots called hibernacula.

7. Earthworms

Earthworms
Image Credit: © Leni / Pexels

These soil engineers create tunnels that improve drainage and soil health while feeding on decaying organic matter. The cool, moist environment under rocks provides ideal conditions for earthworms to thrive without drying out.

Darwin spent years studying these creatures, concluding they were among the most important animals on Earth. Their castings (waste) enrich the soil with nutrients, making them valuable allies for gardeners and farmers alike.

8. Lizards

Lizards
Image Credit: © Egor Kamelev / Pexels

Small lizard species like skinks and geckos frequently shelter under rocks to escape predators and harsh weather. Their ability to regulate body temperature makes rocks valuable resources, cool underneath during hot days and warm beneath when nights turn chilly.

Many have specialized scales that reduce water loss through their skin. Young lizards are particularly dependent on these microhabitats, using them as safe spaces while they grow and develop hunting skills needed for survival.

9. Ants

Ants
Image Credit: © Egor Kamelev / Pexels

Rocks make perfect roofs for ant colonies, providing protection while regulating temperature and moisture. Lift a garden stone and you might reveal intricate networks of tunnels and chambers filled with workers, larvae, and food stores.

Some species specifically seek out rocks for nesting, using the stone’s thermal properties to warm their brood chambers. The queen often resides in deeper chambers while workers busily maintain the colony, caring for young and gathering food from the surrounding area.

10. Millipedes

Millipedes
Image Credit: © Jean Paul Montanaro / Pexels

Often confused with centipedes, millipedes have two pairs of legs per body segment and move with a gentle, wavelike motion. These peaceful decomposers feed on decaying plant material rather than hunting other animals.

When threatened, many species curl into tight spirals for protection. Some can even release foul-smelling chemicals as deterrents. The humid environment beneath rocks provides ideal conditions for these moisture-loving arthropods as they quietly recycle nutrients back into the soil.

11. Slugs And Snails

Slugs And Snails
Image Credit: © Nikola Tomašić / Pexels

The cool, damp environment beneath rocks provides perfect daytime shelter for these gastropods. Their soft bodies need moisture to prevent drying out, making under-rock habitats ideal retreats during sunny days.

Both slugs and snails leave behind characteristic silvery slime trails as they travel. While gardeners might consider them pests, these creatures play important roles in breaking down dead plant material and returning nutrients to the soil, especially in forest ecosystems.

12. Ground Beetles

Ground Beetles
Image Credit: © Jakub288 / Pexels

Sporting shiny, often metallic exoskeletons, ground beetles are predatory insects that hunt under the cover of darkness. Their flattened bodies allow them to squeeze into tight spaces beneath rocks and logs during daylight hours.

Many species produce defensive chemicals when disturbed. These beneficial insects help control garden pests by feeding on slugs, caterpillars, and other invertebrates. Some larger species can live for years, returning to the same rock shelter between hunting expeditions.