Mexican prairie dogs are strict herbivores. Their diet consists mainly of grasses, forbs, seeds, fruits, and roots. They do not eat meat or insects. They play an important role in their ecosystem by controlling plant growth and serving as prey for other animals.