Capybaras are found in a variety of habitats across South America:
- Wetlands such as swamps, marshes, and riverbanks, where they can access aquatic plants
- Grasslands including savannas and pampas for grazing
- Rainforests offering shelter and diverse food sources
- Coastal areas such as mangrove swamps and estuaries