You go out to water your plants and step in a surprise. Or you start digging and find it. It is gross, and it is not good for your health either.
The good news is that you can fix this without being mean to the cat or fighting with your neighbor. This guide tells you why it happens, what is safe to try, and what to skip. It also has a short tool that builds a plan for your yard.
Why does the cat pick your yard?
A cat that lives outside does not have a litter box. So it looks for the next best thing: a spot that is soft, easy to dig, and quiet.
Two experts back this up. The RSPCA in Australia says some cats prefer loose dirt for a toilet. Cats Protection, a cat charity in the UK, says cats usually like private spots, away from strangers.
Oregon State University Extension lists other things that draw cats to a garden. These are bare soil, fresh mulch, open water, spilled food, and open trash cans.
There is no sign the cat is doing this to bother you. It is just using the best toilet it can find. That is why blocking the soil works better than being angry at the cat.

Text version of this figure
Five things that draw cats to a yard: bare soil, fresh mulch, open water, spilled food, and open trash cans.
Is cat poop in the yard dangerous?
It can be. Cat poop can carry germs that people can pick up from soil. Two matter most for a yard.
Toxoplasma. This is a tiny germ. The CDC says it is not ready to make you sick until 1 to 5 days after the cat passes it. That is why the CDC tells cat owners to clean the litter box every day. The CDC also says to wear gloves when you garden. This goes for any soil or sand that cat poop may have touched. Wash your hands afterward.
Roundworm eggs. A cat roundworm called Toxocara can also be in cat poop. The CDC says the eggs need 2 to 4 weeks outside before they can infect someone. Then they can survive for months, or even years. People get sick by swallowing dirt, for example when a child puts dirty hands in their mouth.
- Toxoplasma germ5 daysCDC: not ready to infect until 1 to 5 days after the cat passes it.
- Roundworm eggs28 daysCDC: eggs need 2 to 4 weeks outside, then can last for months or years.
Bars show the longest time in each range. Source: CDC, Preventing Toxoplasmosis and How Toxocariasis Spreads.
The lesson is simple. Fresh poop is the easiest to deal with. Pick it up quickly, and do not leave it to sit. The CDC says pet waste should be picked up daily and bagged and put in the trash.
How to clean it up safely
- Put on disposable gloves.
- Scoop the poop into a bag with a small shovel or a bag turned inside out.
- Tie the bag and put it in the trash. Do not put it in the compost, and do not bury it in a veggie bed. Oregon State Extension says not to compost cat poop.
- Take off the gloves and wash your hands with soap and water.
- Teach children not to eat dirt, and keep them out of beds where cats go.

Text version of this figure
Five-step picture guide: put on gloves, scoop the poop into a bag, tie it and put it in the trash, wash your hands, and keep kids away from dirt.
Step one: find out whose cat it is, and talk
Before you buy anything, check whether the cat is owned. Look for a collar or tag. Ask the neighbors. The RSPCA also says to check if the cat looks well and is not hurt or hungry. If it looks lost or sick, call a local rescue or animal control.
If you know the owner, talk to them first. The RSPCA suggests asking whether they can keep their cat contained. Many owners do not know where their cat goes.
A kind message gets better results than an angry one. You could say:
Hi! I’m your neighbor from the house next door. I think your gray cat has been using my garden bed as a toilet. I’m not upset with you, and I like cats. Could we work something out? I’m going to cover my soil. It would help a lot if the cat could stay in for part of the day, or have a spot to go at home. Thanks so much!
Keep it short. Do not blame. Offer to share what you try. If the owner says no, or nothing changes, move on to the plan below.

Text version of this figure
Five steps for talking to a neighbor about their cat: check if it is owned, send a kind message, offer to share what you try, keep a log, and ask animal control for help.
Build your yard plan
Answer four quick questions. Your plan changes as you pick. The first step is the one to do first.
Talk to the owner, kindly
Start with a friendly note, not a complaint. The RSPCA says to ask if the owner can keep the cat inside or in their own yard. Many owners have no idea. The next section has words you can copy.
Sensible basicsFree
Find out whose cat it is
Look for a collar or tag. Ask the neighbors. The RSPCA also says to check if the cat is owned and if it needs help. Once you know the owner, go and talk to them.
Sensible basicsFree
Check if the cat needs help
If the cat looks very thin, hurt, or alone, call a local rescue or animal control. Do not feed it. Food brings more cats to your yard.
Sensible basicsFree
Clean up safely, every time
Wear gloves. Put the waste in a bag and then in the trash (not the compost). Wash your hands. Do it every day. The CDC says one germ in cat waste is not ready to make you sick until 1 to 5 days after the cat goes.
Sensible basicsFree
Remove what brings cats in
Close trash cans. Clean up spilled pet food and bird seed. Deal with mice and rats. Oregon State University Extension also names bare soil and fresh mulch as things cats like.
Sensible basicsFree
Cover sandpits and play areas
Use a firm cover when no one is playing. Loose sand is what many cats look for, and it is the last place you want droppings.
Best-supportedFree
Make the soil hard to dig
Oregon State Extension says barriers are the most reliable long-term fix. Lay black bird netting just above the soil, chicken wire flat on the ground, or a plastic carpet runner with the spikes up. Pinecones, big stones, or wooden sticks spaced about 8 inches apart also work.
Best-supportedLow
Swap fine, loose stuff for chunky stuff
The RSPCA suggests pebbles, pine cones, or big bark. Some cats like loose dirt for a toilet. Fine gravel and small bark chips can feel like cat litter.
Widely recommendedLow
Add a motion sprinkler
Many experts suggest it and it is safe for the cat. But we found no strong test of it. Oregon State Extension says it reaches about 40 feet and uses about 2 cups of water each time. Cats can learn where it reaches, so move it sometimes. It will not work in freezing weather.
Widely recommendedMedium
Try an ultrasonic device
It makes a high sound that people cannot hear. In a real test in Perth, Australia, it cut visits by the cats that came often by 46 percent. It did not help with cats that only came now and then. Move it around. It can also bother your own pets.
Trial evidenceMedium
Plant things cats may dislike
The RSPCA lists lavender, lemongrass, geraniums, rosemary, and rue. Think of it as a bonus. We found no test that shows it works.
UnprovenLow
Make the fence harder to climb
Netting that leans inward, or rolling bars on top of the fence, can stop cats from getting in. Check how tall the fence is, and look for tree branches cats use like a ladder.
Widely recommendedHigher
Still not fixed? Keep notes and ask for help
Write down dates and take photos. Then call your local animal control or city office. Some places have rules about cats roaming. Never trap, poison, or hurt the cat. See the legal section below.
Sensible basicsFree
Here is how the pieces can fit in a real yard. The map shows where to put each defense. Below it, the four ways to cover soil that Oregon State University Extension suggests.

Text version of this figure
Top-down drawing of an example yard with a dashed fence edge, a planted bed with netting, a covered sandpit, a motion sprinkler near the middle, a closed trash can, and the house.

Text version of this figure
Four drawings of a seedling in soil: covered with bird netting on stakes, with chicken wire laid flat, with a spiked carpet runner spikes up, and surrounded by pinecones and stones.
What does the evidence say?
Some tips on the internet are only stories. We looked for real tests and expert advice. Here is what we found.
There was one real test of a gadget. Researchers in Perth, Australia, put ultrasonic devices in 18 suburban gardens. These devices make a high sound that people cannot hear. The cats that visited often came 46 percent less, and they stayed 78 percent less time. The devices did not change the visits of cats that came only now and then. The researchers said the devices will not stop every visit.
- How often the cats came46% less
- How long the cats stayed78% less
18 gardens in Perth, Australia, with two models of device. Cats that visited only now and then were not affected. Source: Crawford, Fontaine and Calver (2018), Global Ecology and Conservation.
For the other methods we found advice from experts, not tests. Here is how they compare.
| Method | What we found | Our take |
|---|---|---|
| Cover or block the soil | Oregon State Extension calls barriers the most reliable, long-term fix. | Best bet |
| Coarse mulch, pebbles, pine cones | The RSPCA suggests them, because some cats like loose dirt. | Reasonable |
| Motion sprinkler | Experts call it humane and often useful. We found no strong test. Cats can learn how far it reaches. | Often helps |
| Ultrasonic device | One test: 46 percent fewer visits from cats that came often. No effect on rare visitors. | Helps a little |
| Store-bought scent repellents | Oregon State Extension says there is no solid proof they work every time. | Unproven |
| Citrus peels | Oregon State says most cats dislike the smell, but peels need changing often and can bring slugs or rodents. The RSPCA warns that peels may be toxic. | Mixed |
| Plants like lavender or rosemary | The RSPCA lists them. We found no test. | Unproven |
| Using several methods together | Oregon State Extension calls this the most effective way. | Recommended |
What not to do
- Do not trap, poison, or hurt the cat. Cats Protection says hurting a cat is against the law. Animal cruelty laws apply in many places. The RSPCA says trapping is regulated and should only be done by trained people.
- Do not spread kitchen items around. Cats Protection warns that these can harm cats: garlic, onion, coffee grounds, cayenne pepper, vinegar, bleach, and essential oils. Our page on vinegar and cats has more.
- Do not build a “cat toilet” for the neighbor’s cat. Cats Protection says this can pull more cats into your own cat’s space. If you have a cat, give it an indoor litter box.
- Do not feed the cat. Food brings it back, and brings other cats too.
- Do not corner it. To shoo it, walk toward it and make noise. Leave it a clear way to run. Cats Protection says a hose or water pistol is fine near the cat, but not aimed at it.

Text version of this figure
Two lists: safe things to try (netting, cleaning up food, a sprinkler, talking to the owner) and things to skip (mothballs, trapping, kitchen items, feeding the cat).
What about the law?
The rules are different from place to place. In many places the law does not say a cat cannot walk into a yard. Some cities and councils have rules for roaming cats. The RSPCA in Australia mentions cat curfews and cat exclusion zones in some areas. Some animal control offices will help. Some will not.
If the talk with the owner does not work:
- Keep a log with dates and photos. Write down any damage.
- Check your city or county website, or call animal control on their non-emergency line. Ask what the rules are for roaming cats.
- If there is real damage or money lost, ask a local lawyer or a legal aid clinic what your options are.
This is general information, not legal advice. Your local rules decide what you can do.
Related guides
- Cat Peeing or Pooping in the Closet
- Why Is My Cat Pooping on the Couch? Causes and Fixes That Work
- Why Is My Cat Pooping Under the Bed? Causes and How to Fix It
- Do Fake Owls Keep Cats Away?
Quick answers
Can I put cat poop in my compost?
No. Oregon State Extension says not to compost cat poop. Bag it and put it in the trash.
Is it okay to spray the cat with water?
Cats Protection says a hose or water pistol can be used near a cat, but not pointed right at it. A motion sprinkler does the same job when you are not there.
Will the cat stop forever?
Maybe not forever. Cats can learn how to get around one method. That is why Oregon State Extension says the best way is to use more than one. Start with covering the soil and cleaning up, then add one more step at a time.
What if the cat looks like a stray?
Do not feed it. Check if it needs help, and call a local rescue or animal control. A cat that gets help is also one that is less likely to keep using your garden.




