- Wetlands: Capybaras are herbivores and rely on aquatic plants for food, so they are commonly found in wetlands such as swamps, marshes, and riverbanks.
- Grasslands: Capybaras also inhabit grassy areas such as savannas and pampas, where they can graze on grasses and other vegetation.
- Rainforests: Some capybaras live in rainforests, where they can find shelter from the sun and access to a variety of food sources.
- Coastal Areas: Capybaras can also be found in coastal areas, where they may inhabit mangrove swamps and estuaries.