The use of plants to repel pests is not a new concept. Plants have been used for hundreds of years to combat insects. What makes this practice so popular is that it doesn't cost anything or require any chemicals. All one needs is the right plant and the will to take care of it!
There are many plants that can keep squash bugs away. One of the most common is garlic. It has natural pesticides in it that will deter bugs from eating your crops. Other plants with natural pesticides are Marigolds, Rosemary, Sage, Thyme and Mint.
Garlic is a plant that offers protection for gardeners against squash bugs when planted around the perimeter of the garden or in the center under the squash plant itself. The chemical makeup of garlic is what makes it so effective at keeping squash bugs away from your crops, they don’t like the smell of it.