Rats and mice in Oakland & the East Bay · Same-day appointments often available (510) 288-7148

Updated November 4, 2026

Do Rodent Repellents Work? Ultrasonic Devices, Peppermint and More

UC IPM says no repellent has been found to solve a rat problem for more than a very short time, and ultrasonic devices are not effective. Here is what to do instead.

Short answer: not for long. UC IPM says no repellents have been found to solve a rat problem for more than a very short time, and that there are no truly effective rat repellents registered for use in California. It also says ultrasonic and other frightening devices are ineffective for controlling rats in homes and gardens, and that high-frequency electronic devices are not effective against mice.

Rodents get used to smells and sounds that bother them at first. What works is the boring part: removing food and cover, trapping and sealing.

Ultrasonic and electronic devices

Plug-in devices that emit high-frequency sound are sold widely. UC IPM's rat guidance says rats get used to repeated noises, so frightening devices, including high-frequency and ultrasonic sounds, are ineffective for controlling rats in homes and gardens.

For mice, UC IPM says high-frequency electronic devices are not effective, that mice get used to repeated sounds, that ultrasonic devices have limited range, and that there is little evidence that sound, magnetic or vibrational devices of any kind will remove mice.

Ultrasound also does not pass through walls or around furniture well, so even a strong signal leaves the places rodents actually live untouched.

Peppermint oil, mothballs and other smells

Peppermint oil, cayenne, ammonia, dryer sheets and mothballs are all common home remedies. A strong smell may make a rodent avoid a spot briefly, but it fades, and a rodent with food and a nest nearby will come back.

Mothballs have their own problem: they are pesticides with label directions, and scattering them in attics or living spaces exposes people and pets to the fumes. Read and follow the label.

UC IPM's statement covers all of these: no repellents have been found to solve a rat problem for more than a very short time.

Want a technician to look at it?

Call (510) 288-7148

Cats, owls and other predators

Cats and owls eat rats and mice, and UC IPM says so. It also says predators cannot significantly control animals that breed as fast as rodents do, and that feeding cats or other predators outdoors attracts rodents to the food.

An outdoor cat may catch some rats in your yard. It will not clear an attic colony, and a bowl of cat food on the porch can feed the rats.

What works instead

The approach that holds up:

  • Remove food: pick up fruit, close trash and compost bins, bring pet food in at night, clean up under bird feeders
  • Remove cover: thin ivy near the house, trim limbs off the roof, clear stored junk from walls
  • Trap: snap traps on runways, in the right numbers
  • Seal: close openings larger than a quarter inch with hardware cloth, sheet metal, mortar or copper mesh and sealant

See how to get rid of rats in Oakland for the full plan and best traps for rats and mice for trap details.

Want a technician to look at it?

Call (510) 288-7148

Why rodents ignore repellents

Rats and mice live where they find food, water and shelter. A smell or sound that bothers them is a small cost compared with a warm attic and a fruit tree next door. UC IPM notes that rodents get used to repeated noises, and the same logic applies to smells: once a rodent learns the smell does not hurt it, it stops reacting.

Rodents also have strong habits. They use the same runways night after night. A repellent might push them to a slightly different route, but it rarely moves them out of the house. Meanwhile the colony keeps breeding.

That is why repellents tend to look like they work for a few days, then fail. The rodents were never removed, and the openings were never closed.

Products that are worth the money

If you want to spend money on something, these hold up better than repellents:

  • Snap traps, in quantity, sized for rats or mice
  • Enclosed snap traps for areas with kids or pets
  • Galvanized hardware cloth for vents
  • Copper mesh and exterior sealant for pipe gaps
  • Door sweeps and garage door seals
  • Metal or heavy plastic bins with tight lids for pet food, bird seed and grain

None of them is fancy, and all of them work. See steel wool vs. copper mesh.

Before you spend money on a gadget

If you already bought a device, it will not hurt to leave it plugged in, but do not count on it. Watch for droppings and new damage. If you still hear activity after a week, the device is not solving the problem.

A provider who sells repellent devices as the main fix is not following current guidance. Ask what the plan is for trapping and sealing. See rodent exclusion.

Good to know

Questions Oakland residents ask

Do ultrasonic pest repellers work on mice?

UC IPM says high-frequency electronic devices are not effective against mice and that there is little evidence that sound, magnetic or vibrational devices will get mice to leave.

Does peppermint oil repel rats?

A strong smell may cause brief avoidance, but UC IPM says no repellents have been found to solve a rat problem for more than a very short time.

Are there any approved rat repellents in California?

UC IPM says there are no truly effective rat repellents registered for use in California.

Will a cat get rid of my rats?

A cat may catch some, but UC IPM notes predators cannot control fast-breeding rodents, and outdoor pet food attracts more.

Do dryer sheets or mint plants keep mice away?

There is no good evidence they do. UC IPM says no repellents have been found to solve a rat problem for more than a very short time, and the same habits that make rodents ignore other repellents apply here.

Still hearing them?

Call and describe what you see. An independent local technician can tell you what it will take.

Call (510) 288-7148
Call (510) 288-7148