It's possible that garlic has some repellent (or masking) effect, but no scienctific studies have proven that garlic works against mosquitoes.
There are other plant compounds that fit in the same category: citronella, cedar, verbena, geranium, lavender, pine, cinnamon, rosemary, basil, thyme, allspice, and peppermint. All of these may have some small benefit. But none of them compare to DEET.
Answer
Mosquitoes have almost no olfactory powers whatsoever--they have, in fact, a very selective and narrow olfactory "spectrum". But this is actually irrelevant; you see, the way a mosquito "repellent" works is NOT by being detected and driving insects away, but by blocking their ability to smell things that otherwise would attract them, so they ignore you. (In the same way, household "deodorizers" don't actually eliminate odors, but merely block your ability to smell them.) In the case of mosquitoes, the primary attractants that have been identified are CO2 and lactic acid, though there are other factors. The best substance yet found to block mosquitoes' powers of detection is DEET, and while a few repellents are equal over a short term, nothing even comes close in terms of residual repellency; DEET's effects can last for several hours, whereas even the best alternative repellents last at most about 2 hours, maybe 3, if you're lucky and the conditions are right. Garlic is only one of a list of plant compounds with similar "repellent" effects, including citronella, cedar, verbena, geranium, lavender, pine, cinnamon, rosemary, basil, thyme, allspice, and peppermint. But again, these substances have a very limited efficacy, in terms of duration, and if you are going to be exposed to mosquitoes for more than an hour or two, you should get a good DEET-based spray or lotion and stick with it. Products with 10% to 35% DEET should be fine under most conditions, and anything over 50% is overkill, except in unusual circumstances in which insect biting pressures are truly intense, or under conditions of very high temperature and humidity (e.g., working in a tropical jungle - and I know this from first-hand experience!). Repellents with DEET may damage plastics (such as watch faces, eyeglasses and frames), spandex, leather, and painted surfaces, but don't damage natural fibers (cotton or wool) or nylon. Most importantly, there is no genuine evidence that DEET is toxic; what evidence exists is largely anecdotal or without adequate experimental control, and about the most one can say is that one should be cautious about applying large doses routinely, especially to very young children.
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in OneStopFAQs.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.