Sage, lavender, basil and rosemary are all effective at repelling mice, according to SFGate.com. Planting these herbs in a yard can repel mice. Another option is to brew the herbs in water, like a tea, and spray the water around the property to keep mice at bay.
Planting marigolds is an effective remedy to keep mice populations under control, as explained by SFGate.com. Painted daisies also work well. Many homeowners have also found success when placing coffee grounds, pine needles and eggshells around plants in their garden. Mice do not want to walk on the rough texture of these substances, so they tend to stay away.