 Well, recent findings from the Florida Medical Entomology Lab show that certain foods make people more appealing to mosquitoes. Experts say people should avoid smelly cheeses, bananas, desserts, floral scented foods, and beer for the rest of the summer because they attract mosquitoes. Foods with sweet basil, sage, rosemary, garlic, and onions repel mosquitoes.