Outdoor cats are naturally drawn to soft, loose soil for relieving themselves. This means your pets or stray cats might end up using your garden as their litter box, causing inconvenience and potential health risks since cat feces contain harmful parasites and bacteria. Fortunately, there are several effective methods to deter cats from defecating in your garden.
Steps
Make Your Garden Less Appealing to Cats

Cover the ground with rough materials. Cats dislike digging into hard surfaces. You can protect your garden by spreading a thin layer of deterrent materials such as:
- Rough mulch
- Pine cones
- Gravel or stones

Insert small branches or sticks into the soil. If cats don’t have enough space to move around and dig, they’ll find another spot to relieve themselves. Place small branches, chopsticks, or similar materials (about 25 cm long) 20 cm apart to deter cats.
- Push the sticks or similar materials a few centimeters into the ground to secure them firmly on the surface.

Use scents that cats dislike. Some evidence suggests that cats avoid certain smells, so you can use safe, organic materials to spray around your garden to prevent them from defecating (reapply weekly if needed). Avoid using termite repellents or toxic substances, as they can harm cats, dogs, children, etc. Some effective and safe options include:
- Citrus peels (lemon, orange, grapefruit, etc.)
- Garlic
- Onion
- Anise oil
- Eucalyptus oil
- Tea leaves
- Mix two parts chili powder, three parts dry mustard, and five parts flour. You can also scatter lion manure (available as fertilizer) since lions are apex predators that can scare cats away. They’ll avoid the area out of fear of encountering this intimidating predator.

Lay chicken wire over the soil. If cats frequent a specific area in your garden, you can deter them by covering it with chicken wire (available at hardware stores). Chicken wire is soft enough not to harm cats but sturdy enough to prevent them from digging.
- Alternatively, you can use plastic garden mesh.
- This method works well if cats only use small areas, as covering the entire garden with chicken wire isn’t practical.
Create designated cat-friendly and cat-free zones

Attract cats to a special garden area. If you want to keep cats away from certain spots while allowing them access to others, you can create a designated cat-friendly zone. Cats are often drawn to areas with specific plants and will avoid other parts of the garden. You can prepare a small patch of soil and plant one or more of these safe plants:
- Catnip (Nepeta cataria)
- Catmint (Nepeta mussinii)
- Cat thyme (Teucrium marum)
- Valerian (Valeriana officinalis)
- Spider plant (Chlorophytum comosum)

Use plants to deter cats from specific areas. Cats dislike certain plants and will avoid them. You can plant these in your garden to keep cats away from unwanted spots:
- Lavender
- Rue
- Geranium
- Wormwood
- Lemon thyme
- Rose bushes with thorns

Set up a litter box for cats. You can create an outdoor litter box using a new or old sandbox the size of a large litter tray. Fill it with soft, fine sand (available at hardware and home supply stores) to attract cats. If effective, cats will focus on the sandbox and use it for their needs.
- Clean the sandbox regularly; if it becomes too full, cats may return to using your garden.
- Keep children away from the sandbox and explain that it’s not a play area.
Use barriers and deterrents

Install a fence. Cats are persistent and can infiltrate almost any space. However, you can prevent them from entering your garden by erecting a 2-meter-high mesh fence with 5 cm x 5 cm gaps. For added protection, consider adding 60 cm spikes at the top.

Use motion-activated sprinklers. These are available at home supply stores. When a cat approaches, its movement triggers the sprinkler to spray water. Since cats dislike getting wet, this is an effective deterrent. Install motion-activated sprinklers to create a boundary around your garden or specific areas you want to protect.
- You can set up the sprinklers permanently or temporarily, depending on your preferences and needs.

Utilize ultrasonic repellent devices to deter cats. These devices emit high-frequency sounds that are unpleasant for cats but inaudible to humans. Equipped with motion sensors, they activate when a cat approaches, emitting high-frequency sounds that drive the cat away. You can purchase these ultrasonic devices at pet stores and install them as barriers around your garden or specific areas to prevent cats from causing mischief.

Install low-voltage electric fences. Electric fences are effective in keeping cats out of gardens or specific areas. The low voltage is harmless to cats but sufficient to deter them. These fences can be installed at a height of 10 cm and are effective in preventing cats from causing disturbances in your yard.
- Purchase electric fences from hardware or home supply stores. Follow installation and safety instructions carefully.
- Ensure children do not come into contact with the electric fence.

Spray water on cats. If you frequently monitor your garden, you can use a hose to spray water on cats when they attempt to dig or defecate. Cats are quick learners, so with consistent effort, they will eventually avoid causing trouble in your garden.
- Use a gentle spray to deter cats. Most cats dislike water, so a light and quick spray is usually sufficient without the need for a strong jet or soaking the cat.

Keep a dog. Cats are less likely to linger in areas where they sense a predator. Therefore, having a dog can help prevent cats from causing disturbances and keep them out of your garden.
