From
http://www.almanac.com/pest/moles --
Sprinkling dried blood, tobacco or a similar repellent on the ground is effective. Remember to re-apply after a rain.
Owning a cat that enjoys walking through your flower beds is a very effective deterrent to rodents.
Moles are carnivores that make themselves at home in lawns rich in grubs and insects. When their food is seasoned with castor oil, they will go elsewhere for meals. (Wouldn’t you?) Mix up a spray of 3 parts castor oil to 1 part dish detergent; use 4 tablespoons of this concoction in a gallon of water, and soak the tunnels and the entrances.
Dip an ear of corn in roofing tar and place it in one of their tunnels. Moles hate the smell of tar, and you’ll block their escape.
Try sprinkling powdered red pepper in their tunnel entrances.
Sprinkle coffee grounds on the soil to keep moles from tunneling.
You may have luck using wind power—setting up vibrations in the ground that will bother moles and send them away. Low-tech methods include kids’ pinwheels placed here and there on the lawn, or a homemade thumper: Cut fins in the sides of a bleach bottle and place it on a stick driven into the ground near a mole entrance.
If you have a persistent mole problem, the best solution is trapping. Frankly, this is often the only way to get rid of moles. Use a humane trap, and release the moles at least 5 miles from your home in a rural area away from someone else’s garden.