What Foods Are Antifungal? Garlic, Ginger & More

Several common foods contain compounds that kill or inhibit fungal growth, particularly against Candida species. Garlic, coconut oil, ginger, and turmeric have the strongest laboratory evidence behind them. While none of these replace medical treatment for an active fungal infection, they contain real antifungal compounds that researchers have measured and tested.

Garlic

Garlic is one of the most studied antifungal foods. When you crush or chop a raw garlic clove, an enzyme reaction produces allicin, the compound responsible for garlic’s sharp smell and its ability to fight fungi. In lab studies, allicin inhibited Candida albicans at very low concentrations and killed it outright at slightly higher ones. Allicin is unstable, though. It breaks down quickly with heat, so cooked garlic has significantly less antifungal activity than raw garlic. Crushing a clove and letting it sit for about 10 minutes before eating it maximizes allicin production.

Fresh garlic also works against fungal biofilms, the sticky colonies that Candida forms on surfaces like dentures or mucosal tissue. These biofilms make infections harder to clear, so a food that disrupts them is particularly useful. Adding a clove or two of raw garlic to dressings, dips, or finishing a dish after cooking is the most practical way to get allicin into your diet.

Coconut Oil

Coconut oil contains two fatty acids with well-documented antifungal activity: caprylic acid and lauric acid. Caprylic acid works by breaking down fungal cell membranes, creating holes that cause the cell contents to leak out and the organism to die. Lauric acid converts into a compound called monolaurin in the body, which stops several fungi, including Candida albicans, from growing.

This membrane-disruption mechanism is particularly effective because fungi can’t easily develop resistance to it. Unlike a drug that targets a single enzyme, physically destabilizing a cell wall is harder for an organism to adapt to. Virgin coconut oil retains the highest levels of these fatty acids. You can cook with it, add it to smoothies, or use it as a replacement for other fats in baking. About one to two tablespoons per day is a reasonable dietary amount.

Ginger

Ginger attacks fungi through multiple pathways at once. Ginger extract increases the permeability of fungal cell membranes, causing the cell contents to leak out, similar to coconut oil. But it also suppresses the enzymes fungi need for energy metabolism, essentially starving them. In one study, ginger rhizome extract completely inhibited the growth of Fusarium solani (a common soil fungus that can cause human infections) and visibly destroyed the structure of fungal filaments under microscopic analysis.

Ginger also reduced the production of fusaric acid, a toxin that fungi use to infect host tissue. This multi-pronged attack makes ginger harder for fungi to resist. Both fresh ginger root and dried ginger powder retain these active compounds, though fresh ginger tends to be more potent. Grating it into stir-fries, teas, or soups is an easy way to include it regularly.

Turmeric

Curcumin, the yellow pigment in turmeric, has direct antifungal properties and an unusual bonus: it can make drug-resistant fungi vulnerable again. Curcumin interferes with the pumps that resistant Candida strains use to push antifungal drugs back out of their cells. In lab experiments, combining curcumin with a standard antifungal drug reduced the amount of drug needed by 8 to 32 times against resistant strains. Curcumin also dialed down the genes Candida uses to form biofilms, making established colonies easier to disrupt.

The challenge with turmeric is absorption. Curcumin on its own passes through the digestive tract without much reaching the bloodstream. Pairing turmeric with black pepper (which contains piperine) dramatically increases absorption. Cooking turmeric in a fat like olive oil or coconut oil also helps, since curcumin is fat-soluble.

Other Foods With Antifungal Properties

Beyond the top four, several other foods show antifungal activity in lab settings:

  • Onions and leeks: Close relatives of garlic, they contain similar sulfur compounds in lower concentrations.
  • Oregano: Contains carvacrol and thymol, both of which damage fungal membranes. Oregano oil is far more concentrated than the dried herb.
  • Cloves: Eugenol, the compound that gives cloves their distinctive taste, disrupts fungal cell walls and has been studied against oral Candida.
  • Cinnamon: Cinnamaldehyde inhibits Candida growth in lab studies. Ceylon cinnamon is preferable to cassia cinnamon for regular use because cassia contains higher levels of coumarin, which can stress the liver over time.
  • Fermented foods: Sauerkraut, kimchi, kefir, and yogurt support populations of beneficial bacteria that compete with fungi for space in the gut. This isn’t a direct antifungal effect, but it creates an environment where Candida has a harder time overgrowing.

Apple Cider Vinegar: Weaker Than Its Reputation

Apple cider vinegar is one of the most commonly recommended “antifungal” foods online, but the evidence is thin. No clinical trials have shown that apple cider vinegar cures or meaningfully treats any fungal infection in humans. The closest research tested it against Candida on dentures in a lab setting, and while it showed some antifungal behavior in a petri dish, that hasn’t translated to real-world results. Researchers still don’t have basic data on what concentration or exposure time would be needed to kill common skin fungi. At this stage, it remains a folk remedy with widely varying results.

This doesn’t mean apple cider vinegar is worthless in the kitchen, but if you’re choosing foods specifically for antifungal properties, garlic, coconut oil, ginger, and turmeric all have significantly more evidence behind them.

How to Use Antifungal Foods Effectively

The antifungal compounds in these foods work best when you eat a variety of them consistently rather than loading up on a single one. Fungi adapt to environmental pressures, so rotating between garlic, coconut oil, ginger, and turmeric exposes them to different mechanisms of attack. A stir-fry with fresh ginger and garlic cooked in coconut oil, finished with a sprinkle of turmeric and black pepper, hits several pathways at once.

Raw or minimally processed forms are generally more potent. Heat degrades allicin in garlic and reduces the activity of some compounds in ginger. When cooking, add these ingredients toward the end or use them raw in dressings and dips. For turmeric, the fat and black pepper pairing matters more than whether it’s cooked.

These foods are realistic additions to a regular diet, not medications. They work as a supportive strategy alongside a diet low in refined sugar and processed carbohydrates, both of which feed Candida growth. If you’re dealing with recurrent yeast infections, oral thrush, or other persistent fungal issues, dietary changes alone are unlikely to resolve an established infection, but they can create conditions that make overgrowth less likely to return.