Mongooses are found in a variety of habitats, including grasslands, forests, and scrublands. Some species are also known to inhabit urban areas.