Rats eat a flexible mix of plant foods, animal protein, and human leftovers. This variety helps them survive in many places.
When you ask who do rats eat, the answer is that rats eat almost whatever is available. They eat seeds, fruit, insects, scraps, and even carrion.

Rats act as opportunistic rodents with a broad diet. Their flexibility helps them thrive as scavengers around people.
They eat to get calories, water, and minerals. The foods they choose depend on season, habitat, and what is easiest to reach.
What Rats Commonly Eat

Rats usually choose foods that are dense in energy and easy to carry or store. Their diets often center on seeds, grains, fruit, vegetables, and protein-rich scraps.
They especially eat these foods when they find them close to nesting spots.
Seeds, Nuts, And Grains
Rats favor seeds and nuts because they are compact, high in fat, and easy to hoard. They eat foods like walnuts, peanuts, rice, cereals, and birdseed.
Rats find these especially attractive when they spill into open areas or sit unguarded in storage.
Fruit, Vegetation, And Garden Foods
Rats eat fruit, leafy plants, roots, and tender garden crops. They may chew on berries, fallen fruit, stems, and soft vegetables when they forage outdoors or raid gardens at night.
Protein Sources And Human Food Scraps
Protein matters too, so rats go after meat scraps, eggs, insects, and carrion when they find them. In homes and neighborhoods, human food scraps and pet food become easy meals.
These foods support fast growth and frequent breeding.
How Diet Changes By Species And Habitat

Different rat species and living spaces shape what ends up on the menu. A brown rat in a city eats different foods than a black rat near rafters or stored grain.
Both species are active at night.
Brown Rats In Urban And Sewer Environments
The brown rat, or Rattus norvegicus, often feeds near trash, drains, alleys, and sewer edges. These rats rely heavily on discarded food, spills, and anything left near ground level.
These areas offer regular meals and shelter.
Black Rats Around Roofs, Homes, And Stored Food
The black rat, or Rattus rattus, climbs and searches near roofs, attics, pantries, and storage areas. It often targets grain, fruit, and packaged foods where it can stay hidden while feeding.
Wild Foraging Versus Household Scavenging
Wild rat species spend more time foraging for seeds, plants, insects, and seasonal foods. Around people, they shift toward household scavenging.
Kitchens, barns, and storage spaces offer easier calories than the wild.
Why Certain Foods Attract Infestations

Food left in open reach can quickly turn into a rat problem. Items like pet food, cereals, rice, and birdseed attract rats because they are abundant, calorie-rich, and easy to steal.
Easy Food Sources In Homes And Yards
Unsealed pantry goods, spilled kibble, open compost, and bird feeders all draw rats in. If food stays accessible overnight, rats may visit repeatedly before you notice damage.
How Food Access Supports Rat Nests And Breeding
When rats find steady food, they build nests nearby and breed successfully. Reliable access to calories helps females raise litters and gives young rats a better chance to survive.
Signs Food Is Drawing Rats In
You may notice droppings near food storage, gnaw marks on bags, and scattered seed shells or kibble. Fresh tracks, scratching sounds, and nighttime activity near feeders or pantries also point to a food source.
How To Reduce Food Sources And Keep Them Out

To prevent rats, remove what they find and make every food source harder to reach. Small changes with pet food, birdseed, garbage, and yard cleanup make your home less inviting.
Store Food And Feed More Securely
Keep dry goods in sealed containers and avoid leaving pet food out overnight. Store birdseed in rodent-resistant bins and clean up spills right away.
Rats cannot build a routine around easy meals if you remove these sources.
Clean Up Outdoor Attractants
Pick up fallen fruit, secure compost, and move garbage into tight-lidded cans. If you use feeders, place them where spilled seed is easier to spot and remove.
Loose birdseed is a strong attractant, so regular cleanup helps keep rats away.
Practical Steps To Prevent Repeat Activity
Seal gaps around doors, vents, and pipes. Monitor areas where you saw rats before.
If you had a rat infestation, check for fresh droppings or chew marks. Watch for disturbed nesting material so you can stop repeat activity early.