Garlic. Here’s another plant that repels mosquitos and can be used in your food. Don’t you just love those two-for-ones? It’s a good idea to plant garlic in the flower beds around windows and doors to best keep mosquitos out.