Best Ways to Control Rats in the Garden Humanely and Effectively
Controlling rats in the garden works best when you combine prevention with a deterrent suited to the problem. Copper mesh is best for blocking entry gaps near sheds or garden structures, while peppermint products offer a scent-based option. Solar motion-activated and ground-vibrating devices are better suited to open yards or suspected burrowing activity. The five products below are compared by use, coverage information, and the features provided by their listings; deterrents are not a substitute for removing food and shelter.
| Product | Best suited for | Listed feature |
|---|---|---|
| Copper mesh | Sealing gaps | Two rolls, 32 feet total |
| 24-pack peppermint repellent | Portable scent placement | Up to 120 sq. ft. per unit, as listed |
| Solar ultrasonic repeller | Motion-triggered outdoor deterrence | 110-degree sensor |
| 32-piece peppermint repellent | Smaller-area scent placement | Up to 80 sq. ft., as listed |
| Solar ground-vibrating repellent | Burrowing pest concerns | Up to 5,000 sq. ft. per stake, as listed |
Copper Mesh For Sealing Garden Gaps

This copper mesh kit includes two 4-inch-by-16-foot rolls and scissors, for 32 feet total. The product listing describes the material as 100% pure copper and says it is rust- and corrosion-resistant. It is designed to fill holes and gaps that rodents may use to enter structures.
Best for: Gardeners who have found openings around a shed, outbuilding, or similar structure and want a physical exclusion material. It was selected because blocking access points addresses a common route into enclosed spaces.
Limitation: Mesh is for sealing gaps, not a standalone treatment for rats living or feeding in open garden beds. The listing does not specify which hole sizes or building materials it suits.
24-Pack Peppermint Oil Repellent

The ROTIAH Store product is a 24-pack of scent-based repellents. Its listing says each unit can release scent for up to 30 days and cover up to 120 square feet. To use it, the listing instructs buyers to remove the sealed packaging, place a unit in the included mesh bag, and position it where pests are noticed.
Best for: Buyers seeking a portable, non-trap scent deterrent for specific spots such as a garage or garden storage area. It was selected for its stated placement instructions and larger listed coverage per unit than the other peppermint option here.
Limitation: The stated duration and coverage are product claims, not a guarantee that rats will leave a garden. Outdoor airflow and weather may affect scent exposure.
Solar Motion-Activated Ultrasonic Repeller

This two-pack uses solar charging, a motion detector, and ultrasonic waves accompanied by an alarm sound, according to its listing. The sensor is described as detecting movement within a 110-degree angle and a distance of 25 to 33 feet. It is also listed as waterproof and intended to deter several kinds of animals.
Best for: Gardeners who want a solar-powered device triggered by detected movement rather than a scent product. It was selected for its outdoor-oriented design and stated sensor range.
Limitation: The listing does not provide a specific coverage area for rats. It describes deterrence for multiple animals, but does not establish that the device will reliably control rats in every garden.
32-Piece Peppermint And Lemon Repellent

HLISIS describes these 32 pieces as plant-derived repellents that release peppermint and lemon scents. The listing claims an effective period of 30 to 90 days and coverage of up to 80 square feet. It also characterizes the product as a humane option and says it is safe for families and pets.
Best for: Buyers who prefer individually placed scent products and want a larger piece count for distributing around several areas. It was selected as an alternative to the 24-pack, with different listed coverage and duration claims.
Limitation: Its stated area is smaller than the 120-square-foot claim for the other peppermint product. Follow package directions and keep any repellent where children and pets cannot handle or ingest it.
Solar Ground-Vibrating Repellent Stake

This solar-powered stake is designed to send vibrations into the ground. The listing says it emits ultrasonic waves every 30 seconds, producing three-to-five-second vibrations, and claims coverage up to 5,000 square feet per stake. It is described as waterproof and intended for burrowing pests as well as other animals.
Best for: Gardeners who suspect underground activity and want a stake-style device rather than a surface scent deterrent. It was selected because its listed operating method specifically targets pests below ground.
Limitation: The broad coverage figure and pest-control performance are listing claims. This product is not a direct solution for rats entering a shed or feeding above ground.
Buying Guide: How To Choose A Garden Rat Deterrent
Are rats entering a building or damaging beds?
Start by identifying the signs and location. Droppings, gnawing, disturbed soil, and missing food can indicate activity, but inspect carefully and avoid direct contact. If rats are entering a structure, prioritize removing food access and sealing suitable openings; copper mesh is the product here designed for gaps. If the issue appears to be underground, a ground-vibrating stake is more specifically aimed at burrowing pests.
Should you choose scent or a solar device?
Peppermint products are placed where activity occurs and rely on scent. Compare their stated coverage and duration, while treating those figures as manufacturer claims. Solar devices avoid placing scent pellets, but their effect depends on movement detection or ground vibration. Neither option should be assumed to work in every setting.
What garden steps help alongside deterrents?
Keep pet food, birdseed, fallen fruit, and garbage secured. Clear dense debris and overgrown vegetation near structures, and reduce standing water where practical. Check regularly for new signs so you can adjust the approach. If activity persists or presents a health concern, contact a licensed pest-management professional for advice.
Frequently Asked Questions
What is the first step in controlling rats in a garden?
Remove accessible food and shelter, then identify where rats are active. Seal appropriate entry gaps around structures after checking for signs of use.
Does peppermint oil reliably keep rats away?
Peppermint products are marketed as scent deterrents, but the supplied product information does not guarantee results. Coverage and duration claims may not reflect every outdoor condition.
Can copper mesh control rats in open garden beds?
Copper mesh is intended to fill gaps and openings. It is not described as a treatment for rats living or feeding in open beds.
Are ultrasonic devices a complete rat-control solution?
No product information provided establishes them as a complete solution. Use devices, if chosen, alongside sanitation, monitoring, and exclusion measures.
When should I contact a pest professional?
Seek professional advice if rat activity continues, spreads into a home or outbuilding, or creates a health or safety concern.