Rats are not carnivores. They are omnivores, and remarkably flexible ones at that. The scientific literature consistently describes them as opportunistic feeders whose diets span seeds, fruits, insects, eggs, garbage, and just about anything else with caloric value. What makes the question interesting is not the classification itself but how dramatically a rat’s diet shifts depending on where it lives, what food is available, and even what other rats around it are eating.
What “Omnivore” Really Means for a Rat
Calling a rat an omnivore undersells just how adaptable these animals are. A study examining the stomach contents of three invasive rodent species found that for all three, more than 75 percent of individuals had plant material in their stomachs and more than 90 percent had arthropods like insects and spiders.1Biological Invasions. Dietary niche differentiation among three species of invasive rodents (Rattus rattus, R. exulans, Mus musculus) That is not the profile of a carnivore or an herbivore. It is the profile of an animal eating whatever it can get. Rats have been documented consuming grains, fruit, roots, fungi, snails, worms, fish, bird eggs, and human refuse. The label “opportunistic” shows up constantly in the research for good reason: rats do not specialize.2PubMed Central. Dietary shift of an invasive predator: rats, seabirds and sea turtles
This flexibility is one of the traits that has made rats among the most successful invasive species on Earth. They can colonize tropical islands, temperate forests, and dense cities because they are not locked into any single food source. When one resource dries up, they pivot to another. That adaptability is sometimes mistaken for carnivory, especially when people observe rats hunting or scavenging meat. But hunting is just one strategy in a very large toolkit.
How Urban and Rural Diets Differ
Where a rat lives turns out to be one of the strongest predictors of what it eats. Research using stable isotope analysis on rat bones from archaeological and modern sites in historic York, Canada, found a striking pattern. Urban rats had consistently high nitrogen isotope values, which indicates regular access to animal protein, and those values were tightly clustered, meaning the urban rats were eating similar high-protein diets. Rural rats, by contrast, showed much more variable isotope signatures, consistent with broader, less predictable foraging across whatever was available in fields and forests.3PubMed Central. Urban rats have less variable, higher protein diets
The explanation is straightforward. Urban environments offer concentrated, reliable food subsidies from human activity: restaurant dumpsters, pet food left outdoors, discarded meat, sewage. Rural environments force rats to forage more broadly and rely more on plant material, seeds, and whatever invertebrates they encounter. So a city rat may eat more animal protein than a forest rat, but neither one is a carnivore. The city rat simply has access to richer food waste. Its digestive system and behavior are still those of a generalist, not a specialist meat-eater.
When Rats Do Hunt
The confusion about rats being carnivores often stems from their well-documented predatory behavior, especially on islands where they have been introduced. Rats do hunt, and they can be devastating predators in the right circumstances. On islands across the Pacific, rats prey on seabird eggs and chicks, contributing to the decline of breeding colonies.4Biological Conservation. Trophic roles of black rats and seabird impacts on tropical islands: Mesopredator release or hyperpredation? Field experiments in a South Pacific rainforest showed that rats consumed medium and small bird eggs placed at various heights, though they left large eggs alone, suggesting size limits on what they can handle.5PubMed Central. Invasive rats strengthen predation pressure on bird eggs in a South Pacific island rainforest
On Rapa Nui (Easter Island), camera traps recorded brown rats and Polynesian rats making repeated visits to unattended tropicbird eggs, with one brown rat successfully preying on an egg during the study period.6Tropical Conservation Science. Assessing Potential Predation Risk by Introduced Predators on Unattended Eggs in the Red-Tailed Tropicbird, Phaethon rubricauda, on Rapa Nui (Easter Island) Invertebrates are another common prey target. In New Zealand forests, controlling invasive rat populations led to a threefold increase in large-bodied tree weta, an insect that rats eat frequently, while smaller and less-consumed invertebrates showed no such rebound.7PubMed. Effects of spatially extensive control of invasive rats on abundance of native invertebrates in mainland New Zealand forests
These predatory behaviors are real and ecologically significant. But they do not make rats carnivores any more than a bear catching salmon makes it one. Predation is context-dependent for rats. On islands with few other food options and abundant nesting seabirds, rats lean heavily into predatory behavior. In a grain warehouse, they eat grain. The diet follows the environment.
Teeth Built for Versatility
A rat’s anatomy tells the same story as its behavior. Research comparing dental features across dozens of murine rodent species found that tooth shape reliably reflects diet. Species with plant-dominated diets evolved deeper incisors, longer third molars, and blunter cusps suited to grinding. Species with animal-dominated diets had more sharply angled cusps better suited to shearing. Using just five dental characteristics, researchers could correctly classify about 95 percent of species into their dietary categories.8Oxford Academic. Dietary adaptations in the teeth of murine rodents (Muridae): a test of biomechanical predictions
Rats fall in the middle of this spectrum. Their molars are neither the flat grinding surfaces of a dedicated herbivore nor the sharp shearing blades of a dedicated meat-eater. They are a compromise: capable enough to process seeds, tough insect exoskeletons, and soft animal tissue. Their incisors grow continuously throughout life, which helps with gnawing through hard materials but is a rodent-wide trait, not a carnivorous one. If anything, the dental evidence underscores just how broadly equipped rats are to handle mixed diets.
The broader principle here is that gut and tooth anatomy across the animal kingdom tends to match the chemistry of what an animal eats. Animals that rely heavily on plant cellulose typically have enlarged fermentation chambers and slow digestion. Animals that eat mostly protein and fat tend to have shorter, simpler guts. Rats land in between, with digestive systems flexible enough to process a range of food types without being deeply specialized for any one.9Comprehensive Physiology. Comparative Digestive Physiology
How Rats Decide What to Eat
Rats are famously cautious about new foods, a trait called neophobia. When a rat encounters something it has never eaten before, it typically takes only a tiny sample and waits. If it does not get sick, it gradually eats more. This wariness is one reason rats are so difficult to poison: they test baits in sublethal amounts and avoid anything that makes them feel ill.
But rats also have an unusual social shortcut for evaluating new foods. They smell each other’s breath. When a rat encounters a novel food odor on another rat’s breath, it becomes less wary of that food and more willing to try it. The mechanism appears to work by reducing the neophobic response: smelling a familiar food odor on a colony mate essentially signals that the food is safe enough to eat.10Animal Behaviour. Social transmission of food-preferences in adult rats
What makes this system especially interesting is its one-directional nature. Rats learn food preferences from colony mates but fail to learn aversions. Even if the rat whose breath they smell has been poisoned by a food, the smelling rat still develops a preference for that food rather than avoiding it. Evolutionary simulation modeling suggests this seemingly irrational behavior makes sense in environments with highly lethal toxins. If a toxin is deadly enough, the rat that ate it is unlikely to survive long enough to interact with colony mates while still sick, so there is almost never an opportunity to associate illness with a particular food through social cues.11PubMed Central. Explaining social learning of food preferences without aversions: an evolutionary simulation model of Norway rats
This social food-learning system is part of why rat colonies can rapidly colonize new environments. A few scouts discover viable food sources, and the information spreads through the group without every individual needing to take the risk of sampling unknown items.
The Amino Acid Detection System
Rats have a remarkably sophisticated internal system for evaluating food quality beyond just taste and smell. Research has shown that omnivores, rats included, gain a significant advantage from being able to rapidly detect foodstuffs with deficient or imbalanced amino acid profiles. Because free amino acids cannot be stored in the body, animals need a continuous dietary supply of the ones they cannot synthesize internally. Rats quickly reject diets that are missing essential amino acids, suggesting a detection mechanism that flags nutritional inadequacy before a deficiency sets in.12The Journal of Nutrition. Rats Rapidly Reject Diets Deficient in Essential Amino Acids
Rats also have well-developed umami taste receptors, which respond to glutamate and other amino acids. Behavioral studies indicate that multiple receptor types contribute to how rats perceive umami, creating a complex taste sensation that helps them identify protein-rich foods.13PubMed. Behavioral studies of umami: tales told by mice and rats Together, these systems let rats evaluate protein quality in what they eat and steer their choices toward nutritionally complete diets, a skill that matters a great deal for an omnivore navigating an unpredictable food landscape.
Coprophagy and Why Rats Eat Their Own Droppings
One of the less glamorous aspects of rat nutrition is coprophagy: the deliberate eating of feces. This is not a sign of nutritional desperation or pathological behavior. It is a normal part of rat biology. Many small mammals engage in coprophagy as a way to meet nutritional needs, retain gut microbial diversity, and maintain metabolic stability.14PubMed Central. Coprophagy prevention alters microbiome, metabolism, neurochemistry, and cognitive behavior in a small mammal
For rats specifically, coprophagy turns out to be an important source of vitamin B12 (cyanocobalamin). Gut bacteria produce B12 in the lower intestine, past the point where it can be efficiently absorbed. By consuming their own fecal pellets, rats recycle that B12 back through the upper digestive tract where absorption can occur. Studies measuring nutrient levels in rat feces found that B12 supplements obtained from coprophagy were about five times larger than those obtained from the feed itself, making fecal recycling the primary source of this essential vitamin for conventionally raised rats.15PubMed. Amino acid, mineral and vitamin levels in hydrous faeces obtained from coprophagy-prevented rats
When researchers prevent coprophagy, measurable downstream effects appear in gut microbial composition, metabolism, and even cognitive performance, reinforcing that this behavior is functionally important rather than incidental.14PubMed Central. Coprophagy prevention alters microbiome, metabolism, neurochemistry, and cognitive behavior in a small mammal From a dietary classification standpoint, coprophagy further underscores that rats are not carnivores. They rely on microbial fermentation products and vitamin recycling strategies more typical of herbivorous and omnivorous animals than of meat specialists.
Cannibalism Among Rats
Reports of rats eating other rats fuel the perception that they are fundamentally predatory or carnivorous animals. Cannibalism does occur, but the reality is far less dramatic than the popular image suggests. In laboratory settings, cannibalism of pups during the preweaning period occurs in anywhere from 0 to about a third of litters depending on conditions, and mothers who cannibalize are generally still attentive caregivers to their surviving pups.16PubMed. The mother-litter relationship in developmental rat studies: cannibalism vs caring
Critically, most cannibalism events involve pups that are already dead. A study examining perinatal death in laboratory rodent breeding found that pups were clearly dead at the start of the vast majority of cannibalism events, and true infanticide, where a mother kills a living pup, was rare.17PubMed Central. All the Pups We Cannot See: Cannibalism Masks Perinatal Death in Laboratory Mouse Breeding but Infanticide Is Rare In other words, what looks like predatory killing is usually sanitary disposal. A dead pup left in the nest attracts bacteria and parasites. Consuming it removes a health hazard while recovering some nutrients. It is grim but practical, and consistent with the behavior of many species that clean their nests, not with carnivorous feeding strategy.
What This Means for Pet Rat Owners
If you keep pet rats, the omnivore classification has direct implications for how you feed them. A diet that is entirely plant-based or entirely meat-based would be nutritionally incomplete. Commercial rat pellets are formulated to provide a balanced mix of grains, protein, vitamins, and minerals, and they serve as a reasonable base. Fresh vegetables, small amounts of fruit, and occasional protein sources like cooked egg or mealworms can supplement the pellet diet.
The amino acid detection research is relevant here. Rats can sense when a food is nutritionally deficient, and they will reject it. If your rat consistently refuses a particular food, it may not be simple pickiness: the rat may be detecting something inadequate about the nutritional profile. On the flip side, the social food-learning research explains why rats in groups tend to be more adventurous eaters than solitary ones. A lone rat encountering a new vegetable may take days to accept it, while a rat in a colony where others have already eaten it will try it sooner.
One common mistake is offering too much high-fat or high-sugar human food. Rats will absolutely eat pizza, chocolate, and chips, and their opportunistic metabolism is efficient at converting excess calories to body fat. Obesity and related health problems are among the most common issues in pet rats. The fact that a rat eagerly eats something does not mean it should. Their willingness to eat nearly anything is an evolutionary survival strategy, not a dietary recommendation.
Why the “Rat as Carnivore” Myth Persists
Several things feed this misconception. The most visceral is seeing rats eat meat, whether that is scavenging from a carcass, raiding a bird nest, or appearing in dramatic footage of rats swarming around discarded food. People rarely film rats quietly nibbling seeds, so the predatory moments dominate the popular image. Pest control messaging also plays a role: emphasizing rats as dangerous, aggressive predators makes pest services feel more urgent. And because rats thrive on human food waste, which in cities tends to be protein-heavy, the association with meat-eating gets reinforced by everyday observation.
The island ecology research also drives a skewed picture. Because invasive rats cause such serious damage to seabird populations, conservation literature understandably focuses on their predatory behavior. Reading about rats decimating nesting colonies can leave the impression that egg and chick predation is their primary feeding strategy, when stomach-content analyses show plant material and arthropods dominate even in those same island environments.1Biological Invasions. Dietary niche differentiation among three species of invasive rodents (Rattus rattus, R. exulans, Mus musculus) The ecological damage is real and significant, but it does not change the dietary classification. Omnivores that occasionally eat vertebrate prey are still omnivores.
Rats Compared to Actual Carnivores
A true carnivore has anatomical and physiological commitments to a meat-based diet that rats simply lack. Obligate carnivores like cats have short digestive tracts optimized for rapid protein digestion, limited ability to synthesize certain nutrients from plant sources, and teeth built almost entirely for shearing meat. Cats, for instance, cannot produce taurine from other amino acids and must get it from animal tissue. Their molars have virtually no grinding surface.
Rats have none of these constraints. They synthesize most vitamins, digest plant carbohydrates efficiently, and have molars with both shearing and grinding capability. Their gut is longer relative to body size than a carnivore’s and shorter than a dedicated herbivore’s. They produce the digestive enzymes needed for a mixed diet, and they supplement micronutrient gaps through coprophagy rather than through obligate consumption of animal tissue. Even their continuously growing incisors serve gnawing functions, like breaking into seeds and tough plant material, that a carnivore would never need.
The distinction matters because it shapes what rats need to stay healthy. An obligate carnivore fed a plant-based diet will develop deficiencies. A rat fed exclusively meat would also develop problems, because it would miss fiber, certain carbohydrates, and the microbial ecosystem supported by a varied diet. The omnivore label is not a vague middle ground between two extremes. It describes a specific set of physiological adaptations for dietary flexibility, and rats are one of the best examples of it in the mammalian world.