To make a squirrel repellent, boil 2 chopped onions, 1 chopped jalapeño and 1 tablespoon of cayenne pepper in 1 1/2 quarts of water. Cook the mixture for 30 minutes, and remove it from heat. Once it cools, strain out the solids, and pour it into a spray bottle.
Use a funnel to facilitate easy transfer of the liquid into the bottle. Spray this simple pepper spray in flower beds, near porches or any other area of your yard from which you wish to repel squirrels. Alternatively, prepare a dry squirrel repellent by mixing one bottle each of cayenne pepper or crushed red pepper flakes and paprika. Sprinkle this mixture on the ground.
To keep squirrels from digging up flowers and bulbs in your flower beds, mix several tablespoons of cayenne pepper with a detergent such as Murphy's Oil Soap. Spread this mixture around the perimeter of your flower beds to discourage the squirrels from entering. If you have trouble with squirrels eating out of your bird feeder, mix cayenne pepper into the birdseed to keep them from eating it. You can also grease the bird feeder pole with cooking grease such as shortening to discourage the squirrels from trying to climb it.