Rats eat a wide range of foods. The answer to what rats eat depends on where they live and what they can reach.
Rats are opportunistic omnivores that eat grains, fruits, vegetables, seeds, insects, and many kinds of human food.
In cities, farms, gardens, and attics, rat diet changes fast based on availability, season, and habitat.

What Rats Commonly Feed On
Rats are flexible eaters. The foods rats love most are usually calorie-rich, easy to find, and simple to chew.
They eat plant foods and animal protein. This allows them to thrive in both natural areas and around people.

Plant Foods
Rats eat fruits, vegetables, roots, bark, fungi, and tender shoots. Fresh plant foods give them moisture, fiber, and quick energy.
Wild rats often use these foods as a reliable base of the diet.
Grains and Seeds
Grains and seeds serve as important staples for rats. Seeds and grains provide dense calories, and rats often store them in burrows for later.
Protein Sources Including Insects and Meat
Many rats eat meat, especially when plant foods run low. They eat insects, worms, eggs, carrion, small fish, and scraps of cooked or raw meat.
These foods give rats protein and fat that support growth and activity.
Foods Rats Love Most
Rats especially love grains, seeds, fruit, nuts, and pet food. They also go after human leftovers, since easy calories and strong smells make those foods hard to ignore.
How Diet Changes By Species And Habitat
Different rat species eat differently based on where they live. Both the brown rat and black rat remain highly adaptable.
Their diet shifts with climate, local food access, and whether they live near water, crops, or buildings.

Brown Rat Eating Patterns
The brown rat, also known as Rattus norvegicus, often eats grains, garbage, pet food, and damp foods near drains, sewers, and foundations. This species forages on the ground and eats what it can reach close to shelter.
Black Rat Food Preferences
The black rat, or Rattus rattus, is more likely to climb for food. It often favors fruit, seeds, nuts, and stored pantry items.
This makes the black rat a frequent visitor to attics, rafters, orchards, and grain storage areas.
What Rats Eat in the Wild
Wild rats eat whatever fits the season, including seeds, berries, roots, insects, fungi, eggs, and small prey. Their flexible feeding habits help different rat species survive in forests, fields, wetlands, and urban edges.
What Brings Rats Into Homes and Gardens
Rats usually show up where food is easy to find. This includes gardens, kitchens, sheds, and compost areas.
If your property offers steady snacks, nesting cover, and water, it becomes much more attractive to them.

What Attracts Rats to a Property
A mix of food, shelter, and access points attracts rats most. Spilled seed, fallen fruit, unsecured trash, clutter, and standing water make your property easier for rats to use.
Pantry Foods, Pet Food, and Garbage
Rats target pantry foods, pet food, and garbage because these are high-value meals with little effort. Food scraps, open containers, and unsealed bins are especially appealing.
Do Rats Store Food
Rats often cache extra food in nests, burrows, and hidden corners. This behavior helps them survive when food sources change or disappear.
Using Food Knowledge for Rat Control
Food choices can help you trap rats more effectively and reduce the things that keep them returning. The goal is to match bait to their strongest preferences while removing the easy meals around your home.

Best Baits for Snap Traps and Live Traps
For snap traps and live traps, use foods that rats already seek out, such as peanut butter, nuts, dried fruit, seeds, and small bits of pet food. Sometimes, a tiny amount of bacon, oatmeal, or fruit works well, especially when you place traps along walls and feeding paths.
When To Call Professional Rat Control
If traps do not catch anything, fresh food keeps disappearing, or you keep hearing scratching at night, professional rat control can help.
A rat control expert will find nesting areas and identify the food source. They can also reduce the chances of a repeat problem.