Backyard to attic

Rats in SLO Gardens: Citrus, Compost, and Chicken Feed

Short answer: the citrus, the compost, and the chicken feed. Rats in SLO gardens follow food — and once a roof rat is eating in your yard every night, your attic is the next stop. Here is what draws them in, how they travel from the garden to the roof, and what to shut down first.

  • Roof rats eat citrus right on the tree
  • Compost and chicken feed are a nightly buffet
  • A branch near the roof is a bridge, not shade

The main course

Why Citrus Is the Roof Rat’s Favorite SLO Food

Direct answer: because roof rats are built for it: they climb, they eat fruit on the tree, and SLO yards grow exactly what they like.

Oranges, hollowed on the branch

UC IPM describes the classic sign: a roof rat makes a small hole in a mature orange and eats out all the pulp, leaving a hollowed-out rind hanging on the tree. Find that and you have found your rat.

Lemons, peeled where they hang

Lemons get the opposite treatment — rats often eat the rind and leave the flesh still hanging. UC Master Gardeners of SLO County list both patterns as roof rat feeding signs.

Avocados and nuts too

It is not just citrus. Roof rats prefer fruits, tree nuts, and berries, and UC IPM notes they eat avocados and citrus while the fruit is still on the tree.

Fallen fruit feeds them twice

Fruit that drops gets eaten on the ground, and what rots there keeps drawing rats back night after night. Picking up fallen fruit every few days is the cheapest rat control there is.

The warm pile

Compost Piles: Warm, Dark, and Full of Food

Direct answer: because a compost pile is food, warmth, and shelter in one place — and rats burrow under it.

Meat and eggs make it worse

UC IPM notes rats burrow beneath or around compost piles, particularly when residents add meat, fish, eggs, or eggshells. Those are the foods that turn a pile into a rat magnet.

Even plain compost feeds them

Oregon State Extension warns that even compost without kitchen scraps provides insects that rats eat, unless the pile is kept hot enough to kill them. A cold, still pile is a pantry.

Burrows under the bin

UC IPM lists burrows beneath compost piles and garbage cans as a standard sign of a rat problem. Check the base of your bin for neat holes and worn paths.

Hot and turned beats open and still

A hot compost process or a contained, elevated system is far less attractive to rats than an open pile. Turn the pile often — turning breaks up nests and speeds up decomposition.

The coop question

Chicken Coops: It’s the Feed, Not the Hens

Direct answer: because the birds are not the draw — the spilled grain, the water, and the warm shelter under the coop are.

SLO allows backyard hens

San Luis Obispo County allows up to 20 chickens on a residential property with no permit required, and no roosters on single-family lots under two acres. Backyard coops are a normal SLO sight.

Feed is the buffet

Multnomah County Vector Control puts chicken feed among the top rat food sources, right behind bird seed. A scoop of spilled grain is a full meal, served every evening.

They burrow under the coop

Rats dig under coops, nest in dark corners, and even move into a compost pile kept too close to the run. Look for 2- to 4-inch burrow holes around the coop base.

Hardware cloth, not chicken wire

Rats chew through chicken wire. Use 1/4-inch hardware cloth, bury the bottom several inches below ground, and close any hole bigger than a nickel.

Citrus tree and ivy against a San Luis Obispo home

The commute

The Route From Garden to Attic

Direct answer: because roof rats do not walk to your house — they climb, run the fence tops, and drop in from above.

300 feet or more for dinner

UC IPM reports roof rats routinely travel 300 feet or more for food. That is a whole block — so the rat eating your oranges may nest in a neighbor’s ivy.

Fence tops and utility lines

Roof rats run along overhead utility lines and fence tops at night, using them as highways. UC Master Gardeners of SLO County list this as standard roof rat behavior.

Branches are bridges

UC IPM says to prune tree limbs within 3 feet of a roof. A branch touching the ridge is a bridge — a rat crosses it without ever touching the ground.

A quarter inch is enough

Seal every crack and opening larger than 1/4 inch with steel wool, wire screen, or sheet metal. A young rat can squeeze under a door with only a 1/2-inch gap. Our exclusion service closes those gaps for good.

The fix

What to Shut Down First

Direct answer: because trapping without removing the food is mopping with the tap still running — start with the yard, then seal the house.

  1. Pick the fruit, pick up the drops

    Harvest ripe citrus and avocados promptly, and clean up fallen fruit and nuts every few days. This one habit removes the main reason rats visit your yard.

  2. Fix the compost

    Keep meat, fish, eggs, and eggshells out of the pile. Use a closed or elevated bin, turn it often, and keep it hot. Move it away from the house and the coop.

  3. Feed the chickens, not the rats

    Feed on a schedule — about 15 minutes morning and night — and pull up what is left. Store feed in metal containers with tight lids, and sweep up spills the same day.

  4. Cut the bridges

    Trim branches back from the roof, thin dense plantings, and leave a gap between shrubs and the house. A rat with no bridge and no food has no reason to stay.

  5. Seal the house last, not first

    Trap the population inside first, then seal every gap over 1/4 inch. Sealing a house with rats still inside just locks them in with your wiring. See our residential rodent control page for the full sequence.

A tidy San Luis Obispo yard with secured bins and trimmed plantings

Not every chewed orange is a rat

How to Tell Garden Rats From Garden Wildlife

Direct answer: because opossums, raccoons, and squirrels eat fruit too — but only rats leave the hollowed rind hanging and the attic noises at night.

The hollowed rind

A citrus rind left hanging with the pulp eaten out is the roof rat signature. Other animals drop the fruit or tear it apart — they do not eat it neatly from the branch.

Droppings by the food

Rat droppings near pet food dishes, feed storage, or compost are a UC IPM sign of infestation. Fresh droppings are dark and soft; old ones are gray and crumbly.

Night noises overhead

Roof rats are active at night, and they favor attics, wall voids, and false ceilings. Scratching overhead after dark, plus a fed garden, means the route is already open.

Grease marks on the run

Rats rub their fur along the same paths every night, leaving smudge marks on beams, rafters, pipes, and fence tops. Follow the smudges and you will find the entries. Not sure what you are looking at? Our rat nest vs mouse nest guide walks through the ID signs.

Good to know

Garden Rat Questions, Answered

Both. Roof rats eat oranges by hollowing out the pulp and leaving the rind hanging, and they often eat lemon rinds and leave the flesh behind. If your lemons look peeled on the tree, that is a rat sign, not a bird sign.

No — and it usually isn't necessary. A roof rat travels 300 feet or more for food, so it can feed at a neighbor's tree and nest in your attic. Removing one tree just moves the feeding to the next yard. Seal the house and remove the easy food instead.

Both, but meat, fish, eggs and eggshells make it far worse — UC IPM notes rats burrow under compost piles especially when those foods are added. A hot, turned, closed compost system is much less attractive than an open pile of scraps.

Not the birds — the feed. Spilled grain, water, and the warm shelter under a coop are what draw rats in. A coop with 1/4-inch hardware cloth, feed picked up at night, and no spilled grain is a coop rats mostly ignore.

UC IPM puts it at 300 feet or more. That is the length of a whole SLO block — so a rat can nest in one yard's ivy and eat at another yard's orange tree every night.

They are mostly active at night. UC Master Gardeners of SLO County note they are good climbers, seen running along utility lines and fence tops after dark, and they live in trees or attics.

Yes. Sealing keeps them out of the house, but a fed population keeps pressing on the seal, chewing new gaps, and moving into the garage, the shed, or the crawl space. Remove the food and the pressure drops with it.

Stop Feeding Them. Then Seal Them Out.

Inspection, trapping, and exclusion — starting with the yard that feeds them. Call now or book an inspection.

(805) 475-0516

SLO Rodent Control — inspection-first rodent control in San Luis Obispo, CA.

Tap to Call (805) 475-0516