Most shrimp mature and breed only in a marine habitat, although there are a small number of freshwater species. The females lay 50,000 to 1 million eggs, which hatch after some 24 hours into tiny nauplii. These nauplii feed on yolk reserves within their body and then undergo a metamorphosis into zoeae. This second larval stage feeds in the wild on algae and after a few days metamorphoses again into the third stage to become myses. At this stage the myses already begin to appear like tiny versions of fully developed adults and feed on algae and zooplankton. After another three to four days they metamorphose a final time into postlarvae: young shrimp having all the characteristics of adults. The whole process takes about 12 days from hatching. In the wild, the marine postlarvae then migrate into estuaries, which are rich in nutrients and low in salinity. There they grow and eventually migrate back into open waters when they mature. Most adult shrimp are benthic animals living primarily on the sea floor.
Common shrimp species include pink, brown and snapping shrimp. Depending on the species and location, they grow from about 1.2 to 30 centimetres (0.47 to 12 in) long, and live between one and 6.5 years.