Rats are opportunistic rodents, and their diet changes based on what is easy to find. If you are asking what does rats like to eat, the short answer is simple: they go for calorie-dense, protein-rich, and strongly scented foods first.
They are especially drawn to grains, seeds, fruit, pet food, garbage, and scraps. Kitchens, pantries, gardens, and trash areas attract them the most.
Rats can survive almost anywhere because their diet is flexible. Your food storage habits play a big role in keeping them away.
Foods Rats Seek Out First

Rats usually choose foods that deliver quick energy and strong smells. When you know what rats eat most eagerly, you can spot the items that are most likely to draw them in.
High-Fat And High-Protein Foods
Rats often eat cheese, meat scraps, nuts, peanut butter, eggs, and pet food because these items are rich in fat and protein. Foods with strong odors attract them quickly, which is why leftovers and greasy scraps can be a problem.
Grains, Seeds, And Pantry Staples
Grains are a major part of a rat’s food choices, especially rice, oats, corn, wheat, and birdseed. If you leave pantry staples in torn bags or open containers, rats can detect them quickly and chew through packaging.
Fruit, Garden Produce, And Food Scraps
Fresh fruit, berries, apples, squash, and vegetables appeal to rats because they offer moisture and sugar. Rats also eat food scraps, especially soft bread, cooked grains, and overripe produce.
How Diet Changes By Species And Location

A brown rat and a black rat may share many foods, but their habits shift with habitat, climate, and access to shelter. The same species can eat very differently indoors than outdoors, depending on what is available.
Brown Rat Feeding Habits
The brown rat, or Rattus norvegicus, adapts well and often feeds near ground level around sewers, basements, gardens, and trash areas. Norway rats commonly nest below ground or near foundations, which puts them close to spilled food and food waste.
Black Rat Feeding Habits
The black rat, or Rattus rattus, climbs well and often feeds higher up in attics, rafters, trees, and storage areas. Its diet still centers on grains, fruits, and seeds, but it is more likely to use elevated routes to reach food.
What Rats Eat Indoors Versus Outdoors
Indoors, rats rely on cereal, crumbs, pet kibble, grease, and packaged pantry foods. Outdoors, they eat garden produce, fallen fruit, seeds, insects, and anything left in compost or trash.
Why Food Access Turns Into A Rat Infestation

Easy food access helps rat populations grow, because regular meals support nesting and breeding. When food is predictable, you will often spot rat droppings and other signs soon after.
Common Household And Yard Food Sources
Open trash cans, spilled birdseed, pet bowls, compost piles, fallen fruit, and unsecured pantry items all create dependable feeding spots. Even small leaks of grease or crumbs can keep rodents coming back night after night.
Signs Rats Are Feeding Nearby
You may notice droppings, gnaw marks, torn packaging, greasy rub marks, or scattered food bits along walls and behind appliances. If you find these signs near a food source, rats are likely feeding in that area already.
Why Rats Keep Returning Once They Find Food
Rats travel familiar routes to repeat reliable meals. Once a food source feels safe, they often return the same way each night and may bring others with them.
Ways To Keep Food From Attracting Rats

If you want to prevent rats, start by removing easy meals and sealing access points. Clean storage, tight trash control, and smart bait choices all help keep rats away.
How To Prevent Rats Around The Home
Store grains, cereal, flour, nuts, and pet food in sealed hard containers. Wipe counters, sweep floors, and fix gaps around doors, vents, and pipes so rats cannot follow food smells indoors.
How To Keep Rats Away From Trash, Pet Food, And Birdseed
Keep trash lids closed, rinse food containers before tossing them, and avoid leaving pet bowls out overnight. Use covered bird feeders and clean up spilled seed quickly, since birdseed is one of the easiest outdoor attractants.
Best Baits For Snap Traps
Use a small amount of peanut butter, nuts, dried fruit, or a bit of oily meat for snap traps when you need a strong scent.
Place the bait sparingly so rats must work at the trap.
Pair the bait with proper placement along walls and travel paths.