Rats eat a wide range of foods. That flexibility helps them survive in cities, farms, and wild spaces.
If you want to know what rats eat, the short answer is simple. They are opportunistic omnivores that feed on grains, fruits, vegetables, seeds, insects, meat scraps, and almost any easy calorie source they can find.

Knowing what rats eat also helps you spot what attracts them. This makes it easier to protect your home, yard, and stored food.
What Makes Up A Rat’s Typical Diet

A rat’s diet changes with location and season. The core pattern stays the same.
Rats choose foods that give them quick energy, moisture, and enough protein to support growth and reproduction.
Plant Foods
Rats eat fruits, vegetables, roots, bark, fungi, and tender plant material. In the wild, these foods give them fiber, water, and key vitamins.
Fresh vegetation often plays a major role in their diet when it is available.
Grains And Pantry Staples
Rats find grains such as wheat, oats, rice, and barley highly attractive because they are dense in carbohydrates and easy to store.
They also target pantry basics like bread, cereal, and spilled crackers, especially when food is left uncovered.
Protein Sources, Insects, And Meat Scraps
Rats eat insects, worms, eggs, carrion, and small scraps of meat. Their menu can shift toward whatever protein is easiest to find, especially when plant foods run low.
Why Rats Are Opportunistic Feeders
Rats have teeth, smell, and digestive systems built for variety. That flexibility lets them survive across forests, fields, and neighborhoods.
What Attracts Rats To Homes And Yards

Food access is one of the biggest reasons rats move in. When your property offers easy calories, shelter, and water, the risk of rat infestations rises fast.
Garbage, Compost, And Outdoor Food Waste
Overflowing trash bins, uncovered compost, and dropped leftovers attract rats. Sweet scraps, grease, fruit peels, and pet leftovers are especially appealing because they are easy to smell and easy to eat.
Pet Food, Birdseed, And Garden Produce
Outdoor pet bowls, spilled kibble, bird feeders, and ripening vegetables can draw rats in. Steady access to food, even in small amounts, can keep them returning night after night.
How Food Access Leads To Rat Infestations
When rats find reliable food, they often stay nearby and build nests close to the reward. A small attraction can turn into rat infestations around sheds, decks, garages, and foundation gaps.
How Diet Changes By Environment

Rats do not eat the same way everywhere. Their diet shifts based on what the habitat offers.
Wild Food Sources In Natural Areas
In forests, grasslands, and wetlands, rats eat seeds, nuts, berries, insects, fungi, and plant roots. Wild rats often mix plant matter with small animals to balance energy and protein.
Urban Feeding Habits Around Buildings
Near buildings, rats rely on human food waste, grain spills, pet food, and stored pantry items. Urban environments often provide more predictable meals than natural areas.
Seasonal Shifts In Colder Months
Cold weather pushes rats toward stored food, garbage, and warmer indoor spaces. When fresh vegetation declines, they rely more on calorie-dense foods like grains, nuts, and leftovers.
Predators And Control Factors

Rats sit in the food web as prey as well as scavengers. Natural predators help limit populations, while poisons work through control efforts.
Animals That Eat Rats In The Food Web
Owls, hawks, foxes, cats, and other carnivores eat rats. These predators help keep rodent numbers in check, especially where rats are active outdoors.
The Role Of The Rat Snake
A rat snake feeds on rodents and helps reduce local rat activity. In areas where rat snakes live, they can be part of a balanced ecosystem that puts pressure on rat populations without chemicals.
Why Rat Poisons Are Not A Food Source
Rat poisons are not food. Rats do not seek them out as nourishment.
People use rat poisons as control tools to kill rodents after exposure. These substances do not belong in any conversation about what rats eat.