No scientific evidence supports the claim that taking vitamin B12 supplements will keep mosquitoes away. No controlled study has tested oral B12 as a mosquito repellent, and no plausible mechanism connects this water-soluble vitamin to changes in skin odor or mosquito behavior. The idea likely results from a decades-old mix-up with a different B vitamin, and the real science of what draws mosquitoes to certain people turns out to be far more interesting than any supplement story.
The B1 Mix-Up Behind the Myth
The belief that a B vitamin can repel mosquitoes traces back not to B12 but to vitamin B1, also called thiamine. Since 1943, people have claimed that taking thiamine tablets makes a person less attractive to biting insects. A scoping review that examined 104 case reports, research studies, and review articles on thiamine as a systemic repellent found that the positive reports were “primarily anecdotal and based on uncontrolled trials and/or used bite symptoms as a proxy for reduced biting.”1PubMed. Thiamine (vitamin B1) as an insect repellent: a scoping review In other words, people who thought they were getting fewer bites after taking B1 were mostly counting itchy welts, not actual mosquito landings, and they had no placebo comparison. Over the decades, “vitamin B” became shorthand in folk wisdom, and B12 got swept into the claim by association. The two vitamins have entirely different chemical structures and metabolic roles, but the internet does not always respect that distinction.
One study did find that thiamine hydrochloride applied directly to the skin in concentrated doses could reduce mosquito landings in a dose-dependent way.2PubMed. A Pilot Clinical Study on Thiamine Hydrochloride as a New Mosquito Repellent: Determination of the Minimum Effective Dose on Human Skin But smearing a chemical onto your forearm at high concentration is a completely different proposition from swallowing a pill and hoping it changes the way your skin smells. The dose needed for near-complete repellency on skin was hundreds of milligrams applied topically. That has no bearing on whether a standard oral B1 tablet, let alone a B12 tablet, would alter your scent profile enough to deter a mosquito at arm’s length.
What Actually Draws Mosquitoes to You
Mosquitoes find their hosts through a layered guidance system. At long range, they follow plumes of carbon dioxide from your breath. As they get closer, body heat and humidity help narrow the target. But the final decision to land and bite depends heavily on the chemical cocktail wafting off your skin, and that cocktail is remarkably personal.
Research on the malaria mosquito found that a blend of three types of skin chemicals works together to attract the insects: ammonia, lactic acid, and carboxylic acids. Individually, lactic acid was not attractive, and carboxylic acids at the concentrations tested were actually repellent. But when all three were present together, a strong synergistic attraction emerged.3PubMed. Synergism between ammonia, lactic acid and carboxylic acids as kairomones in the host-seeking behaviour of the malaria mosquito Anopheles gambiae sensu stricto (Diptera: Culicidae) This synergy explains why mosquitoes do not simply home in on one chemical. They are reading a signature, not a single note.
A 2022 study published in Cell took this further by comparing people who were highly attractive to mosquitoes with people who were rarely bitten. The “mosquito magnets” produced significantly higher levels of carboxylic acids in their skin emanations.4PubMed Central. Differential mosquito attraction to humans is associated with skin-derived carboxylic acid levels Carboxylic acids are produced partly through the breakdown of fats in your skin’s sebum, a process influenced by genetics. The study linked specific genetic variants in carboxylic acid receptors to the “mosquito magnet” phenotype, suggesting that some people are just built to smell more appealing to these insects. No supplement is going to override a trait embedded in your skin’s lipid composition.
Landing behavior studies have confirmed that even known skin volatiles can flip between attracting and repelling mosquitoes depending on concentration. Acetic acid and octanal, for example, each repelled mosquitoes at high and low concentrations but attracted them at intermediate doses, and these effects required the background presence of lactic acid and carbon dioxide to register at all.5PubMed Central. Identification of human skin microbiome odorants that manipulate mosquito landing behavior The system is context-dependent in ways that a simple dietary intervention could not reliably manipulate.
Your Skin Bacteria Play a Bigger Role Than Your Diet
Much of the odor signature mosquitoes detect is not produced by you directly but by the bacteria living on your skin. These microbes metabolize the compounds in your sweat and sebum, converting them into volatile odorants that define your personal scent. And the composition of your skin microbiome turns out to be a significant predictor of how attractive you are to mosquitoes.
A study examining differences between highly attractive and poorly attractive people found distinct microbial profiles between the two groups. People who attracted more mosquitoes had roughly four times the abundance of certain Staphylococcus bacteria compared to people who were rarely bitten. Associations were also found between specific bacterial groups and the production of volatiles known to attract Anopheles mosquitoes.6PubMed Central. Skin microbiome alters attractiveness to Anopheles mosquitoes On the flip side, the poorly attractive participants had enrichment in certain metabolic pathways that produce different volatile byproducts.
The microbiome’s role extends beyond passive odor production. Research published in Cell showed that when hosts were infected with flaviviruses like dengue or Zika, the infection suppressed an antimicrobial protein on the skin called RELMα. With that defense weakened, bacteria that produce a compound called acetophenone flourished, and the resulting spike in acetophenone made infected hosts more attractive to mosquitoes.7PubMed. A volatile from the skin microbiota of flavivirus-infected hosts promotes mosquito attractiveness This is an elegant and somewhat disturbing evolutionary trick: the virus benefits from increased mosquito contact because it gains a new ride to a new host. It also underscores how specific and biochemically intricate the mosquito-attraction system really is, far too complex for a vitamin supplement to meaningfully disrupt.
Other Dietary Myths Put to the Test
B12 is not the only food or supplement that gets credited with mosquito-repelling powers. Garlic is probably the most enduring example. A double-blinded, placebo-controlled trial tested garlic ingestion for systemic mosquito repellency and found no evidence that it worked. The study’s authors noted that more prolonged garlic consumption might theoretically be needed, but the controlled data simply did not support the claim.8PubMed. A double-blinded, placebo-controlled trial of garlic as a mosquito repellant: a preliminary study
Alcohol, on the other hand, has been shown to increase mosquito attraction, though not for the reasons you might guess. A study found that mosquito landings on volunteers increased significantly after drinking a single beer.9PubMed. Alcohol ingestion stimulates mosquito attraction The researchers measured ethanol in sweat and skin temperature, expecting one of those to explain the effect, but neither correlated with the increased landings. A separate study confirmed that beer consumption made people more attractive to malaria mosquitoes and similarly ruled out body temperature and exhaled carbon dioxide as explanations: volunteer temperature and COâ‚‚ levels did not meaningfully change after drinking.10PLoS ONE. Beer Consumption Increases Human Attractiveness to Malaria Mosquitoes Something about alcohol consumption alters the volatile profile of the skin in a way mosquitoes find appealing, but the exact mechanism remains unidentified. So while eating garlic or popping B vitamins will not protect you, having a couple of beers outdoors on a summer evening may genuinely make the problem worse.
What Actually Works to Prevent Bites
If dietary approaches are a dead end, what does the evidence support? Topical repellents applied to exposed skin remain the most reliable personal protection. DEET has the longest track record and broadest evidence base. Molecular docking studies have examined how common repellent compounds interact with mosquito odorant-binding proteins; DEET, picaridin, prallethrin, and IR3535 all showed measurable binding affinity to these receptors, though with varying strength.11ENTOMON. Efficacy of compounds used in mosquito repellents (DEET, picaridin, prallethrin and IR3535) against odorant binding protein (OBP20) of Anopheles gambiae: A molecular docking study In practical terms, these compounds interfere with the mosquito’s ability to detect you by jamming or saturating the receptors it uses to home in on skin odors. That is fundamentally different from trying to change your body chemistry from the inside.
For people who prefer plant-based options, oil of lemon eucalyptus (specifically its active ingredient PMD) has the strongest evidence among botanical repellents. A field trial in Australia compared a 40% DEET formulation with a 32% lemon eucalyptus oil product and found that the DEET provided complete protection for seven hours while the lemon eucalyptus oil provided over 95% protection for three hours.12PubMed. Comparative laboratory and field evaluation of repellent formulations containing deet and lemon eucalyptus oil against mosquitoes in Queensland, Australia PMD-containing products are generally considered to offer protection comparable to low-to-moderate concentrations of DEET, though they tend to require more frequent reapplication.13International Journal of Advanced Research in Science, Communication and Technology. A Review On API As A Lemon Eucalyptus Herbal Mosquito Repellent Other essential oils like citronella, lavender, and neem offer some short-lived repellency, but the protection window is usually under an hour, making them impractical for extended outdoor exposure without constant reapplication.
Even proven topical repellents have real-world limitations. A Cochrane systematic review on repellents for malaria prevention raised concerns about whether topical products could realistically protect the general population, since daily compliance, the amount of repellent used, the surface area covered, and the timing and frequency of reapplication are all difficult to standardize.14PubMed Central. Mosquito repellents for malaria prevention In regions where mosquito-borne disease is a serious threat, physical barriers like bed nets and window screens remain essential complements to any repellent strategy.
Electronic Repellent Devices Are Another Dud
If dietary supplements are the low-tech version of wishful thinking about mosquito prevention, electronic mosquito repellent (EMR) devices are the high-tech version. These gadgets claim to emit ultrasonic frequencies that drive mosquitoes away. A Cochrane review examined ten studies and found that none showed any difference in the number of mosquitoes caught from people’s exposed skin with or without an EMR running. The reviewers concluded there was “no justification for marketing them to prevent malaria infection.”15PubMed Central. Electronic mosquito repellents for preventing mosquito bites and malaria infection Smartphone apps that claim to emit similar frequencies are equally unsupported. The appeal is obvious: a passive, effort-free solution. But mosquito biology is not cooperating.
Why Some People Seem to Never Get Bitten
The persistence of the B12 myth, and all the other dietary myths, is partly driven by the real observation that some people do get bitten far less often than others. If you happen to be one of those fortunate people and you also happen to take B12, the temptation to credit the supplement is understandable. But the evidence points to genetics, skin chemistry, and the microbiome as the real drivers of that variation.
Carboxylic acid levels in the skin, as covered earlier, appear to be a major differentiator. Those levels are influenced by your genetic makeup, specifically the genes that control sebum production and the fatty acid composition of your skin’s surface lipids. Your skin’s bacterial communities then process those lipids into volatile compounds that mosquitoes either love or ignore. All of this is largely beyond your dietary control. Blood type has sometimes been proposed as a factor, and some laboratory studies have investigated whether ABO blood groups affect mosquito preferences and mosquito fecundity, but the evidence is limited to controlled lab conditions and has not translated into a clear, actionable finding for real-world bite prevention.16PubMed Central. Human blood type influences the host-seeking behavior and fecundity of the Asian malaria vector Anopheles stephensi
Pregnancy and metabolic rate also affect bite frequency, since both increase carbon dioxide output and body heat, two of the long-range cues mosquitoes use to find hosts. Exercise has a similar temporary effect. These factors are well-established enough in entomology to be uncontroversial, even if the precise contribution of each cue varies across mosquito species. The core takeaway is that your attractiveness to mosquitoes is a biological trait shaped by multiple intersecting factors, most of them not under voluntary control and none of them responsive to a daily vitamin.
Where the “Systemic Repellent” Idea Falls Apart
Part of what makes the B12 myth so persistent is that it sounds plausible on the surface. You eat something, it enters your bloodstream, some trace ends up in your sweat, and mosquitoes do not like the smell. The logic is tidy. But it breaks down at almost every step when you examine it closely.
First, for an ingested substance to function as a systemic repellent, it would need to be excreted through the skin at concentrations high enough to register on a mosquito’s olfactory system. B12 is absorbed in the gut, enters the bloodstream bound to transport proteins, and is used by cells throughout the body for DNA synthesis and nervous system maintenance. Excess B12 is cleared by the kidneys and leaves in urine, not through sweat glands. There is no established pathway by which oral B12 would meaningfully alter the volatile chemistry of your skin surface.
Second, even if trace amounts of a substance did appear in sweat, the scoping review of thiamine as a systemic repellent illustrates how difficult it is to achieve repellency from ingestion alone.1PubMed. Thiamine (vitamin B1) as an insect repellent: a scoping review B1 has been tested far more than B12 in this context, and after nearly 80 years of investigation, the evidence remains anecdotal and plagued by methodological problems. If thiamine, which has actually been studied, cannot clear the evidence bar for oral insect repellency, there is no reason to assume B12, which has not been studied in this context at all, would fare any better.
Third, the mosquito’s olfactory system is extraordinarily sensitive and highly specialized. Female mosquitoes use a complex array of odorant receptors to detect specific blends of human skin volatiles at vanishingly low concentrations. Proven repellents like DEET work by directly interacting with those receptor proteins on the mosquito’s antennae.11ENTOMON. Efficacy of compounds used in mosquito repellents (DEET, picaridin, prallethrin and IR3535) against odorant binding protein (OBP20) of Anopheles gambiae: A molecular docking study A substance would need a specific molecular interaction with those receptors to interfere with host detection. B12 has no known interaction with any mosquito olfactory receptor, and nothing about its structure suggests it would.
Differences Across Mosquito Species
One complication worth appreciating is that not all mosquitoes detect and respond to human cues the same way. Female mosquitoes across species use chemical and physical cues including vision, smell, heat, and humidity to orient toward hosts, but the relative importance of each signal varies. Aedes aegypti, which spreads dengue and Zika, is a daytime biter that relies heavily on visual contrast and close-range skin odors. Anopheles gambiae, the primary malaria vector, is more active at night and strongly driven by carbon dioxide plumes and long-range volatile blends. Culex species, which transmit West Nile virus, have their own host-preference patterns. A repellent strategy that works well against one species might perform differently against another, which is part of why broad-spectrum topical repellents like DEET remain valuable: they affect the general olfactory system rather than a single cue that some species may weight less heavily.
This species-level variation also helps explain why anecdotal reports of dietary repellency are unreliable. Someone who vacations in one region and takes B12 might encounter mostly Culex mosquitoes that happen to be less aggressive biters in cooler evening conditions, then conclude the vitamin worked. Move that same person to a tropical setting with Aedes aegypti and the illusion would evaporate. Without controlled comparisons, personal experience with mosquitoes is deeply unreliable evidence for any intervention.