These crabs live in trees by the sea. 

Many crabs live near mangrove trees. 
These crabs dig deep holes in the mud. This helps the soil stay healthy. It also helps the trees grow well. 
Some crabs can climb up trees. They do this to stay safe. They might even jump to get away!
Many animals eat these crabs. Birds, fish, and monkeys all like them. They are a very important part of the sea.
Mangrove crabs live in and around mangrove forests. 
These crabs are very helpful to their homes. They are omnivores, which means they eat many things. They eat dead leaves and tiny worms. Some even eat fresh leaves from trees. By eating leaf litter, they help keep nutrients in the soil. This helps other living things grow.
Many crabs are ecosystem engineers. This means they change their home to help it work better. They dig burrows in the mud. Fiddler crabs make simple J-shaped holes. Sesarmid crabs make complex holes that are very deep. These holes help the soil get oxygen. This helps the mangrove trees stay healthy. 
Crabs must stay safe from many predators. Birds, fish, sharks, and monkeys all eat them. To escape, some crabs climb trees. They might even jump from a tree to get away! 
Mangrove crabs are very important animals that live in mangrove forests. 
These crabs act like tiny workers for their environment. They are omnivores, which means they eat many different kinds of things. When they are young, they eat tiny worms and microbes. As they grow up, they mostly eat dead organic material, like fallen leaves. This is called being a detritivore. By shredding and eating these dead leaves, they stop nutrients from washing away with the tide. This keeps the food and nutrients in the forest for other living things to use. 
Many scientists call these crabs ecosystem engineers. This is because they change their home in ways that help it work better. They dig burrows deep into the mud to stay safe and keep a steady temperature. Fiddler crabs make simple J-shaped holes that are 10 to 40 cm long. Sesarmid crabs make much more complex holes that can reach over 100 cm deep. These burrows help air and oxygen get into the soil. This helps the mangrove trees and other small animals stay healthy.
Life can be dangerous for a mangrove crab. Many predators want to eat them, including fish, sharks, monkeys, and birds. Some crabs even climb up the mangrove trees to stay safe. They might even jump off a tree to escape a bird! 
Humans also have a connection to these crabs. People all over the world catch and eat them as a food source. However, human activities can make life hard for the crabs. Climate change can change the water temperature and make their homes shrink. Also, pollution has put tiny pieces of plastic, called microplastics, into their gills. People also change the land by cutting down forests for farms or cities. Keeping mangrove sites connected is a big way to help these amazing crabs survive.
Mangrove crabs are a diverse group of crustaceans living in and around mangrove forests. While "mangrove crab" is an umbrella term for many different species, these animals are vital to their ecosystems. They belong to the kingdom Animalia and the phylum Arthropoda. Specifically, they are in the class Malacostraca and the order Decapoda. Scientists estimate there are currently 481 different species across six distinct families. These families include Camptandriidae, Dotillidae, Macrophthalmidae, Ocypodidae, Sesarmidae, and Oziidae. 
These crabs function as ecosystem engineers through their unique feeding and burrowing habits. They are omnivorous, meaning they eat both plants and animals. Young crabs primarily consume polychaete worms and microorganisms found in sediment. As they mature, they become detritivores, which are animals that eat dead organic material. They consume large amounts of leaf litter and even the corpses of other crustaceans. By shredding this leaf litter, they prevent tidal export. This process ensures that nutrients stay within the mangrove habitat rather than washing away. This makes nutrients more available to other organisms in the environment. 
Different families of mangrove crabs interact with their environment in different ways. Two of the most common families are the sesarmid crabs and the fiddler crabs. The main difference between them lies in their foraging habits and burrow morphology. Sesarmid crabs often create complex, branching burrows that can reach depths of over 100 cm. The organic material they ingest forms fragmented matter that stimulates microbial respiration. In contrast, fiddler crabs tend to create much simpler, J-shaped burrows between 10 and 40 cm long. These fiddler crabs often remove reactive organic carbon from the area. 
Burrowing provides several critical benefits for the entire mangrove community. These holes allow crabs to endure extreme conditions during high and low tides. Inside a burrow, a crab can maintain more constant oxygen levels and temperatures. This stable environment also helps other small benthic fauna, such as juvenile crabs and polychaetes. The act of burrowing increases the surface area where water and air meet the sediment. This aeration allows for microbial decomposition and the oxidation of iron. It also helps reduce sulfur through anaerobic microbes, which removes sulfides that might otherwise harm plant growth.
Some mangrove crabs even host living organisms on their own bodies. This is known as biofilm endosymbiosis, and it occurs on the gills of species like Aratus pisonii and Minuca rapax. These microbial biofilms contain bacteria such as Cyanobacteria, Alphaproteobacteria, Actinobacteria, and Bacteroidota. These bacteria participate in nitrogen transformation, specifically a process called nitrogen fixation. The biofilms act as a nitrogen sink and provide ammonium and dissolved nitrogen to the environment. The importance of these microbes may depend on whether the crab lives primarily in a burrow or outside of one.
Survival in the mangroves requires constant vigilance against many predators. Mangrove crabs are preyed upon by fish, sharks, wading birds, hawks, monkeys, and raccoons. To avoid birds, some crabs will climb up the mangrove trees. They have even been observed jumping off trees to escape an attacking bird. However, this move can be risky, as jumping into the water makes them vulnerable to fish. While the adults face many threats, their larvae serve as a major food source for juvenile fish in nearby waterways. 
Human activities are significantly impacting these important crustaceans. Climate change causes fluctuations in coastal depth and surface temperature. This may drive crab habitats toward higher latitudes and cause them to shrink. Shrinking habitats can isolate communities and reduce genetic diversity, increasing the risk of extinction. Additionally, human pollution has led to the discovery of microplastics within the gills of many crabs. This pollution can harm the health of the crabs and the humans who eat them. Land use changes, such as the deforestation of 6,000 km2 of mangroves between 1996 and 2016, also threaten their survival. 
🖼️ Images & Media (4)
More to explore
✨ What else?
Related topics you might enjoy
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.