Overview

Nail fungus is a common infection of the nail. It begins as a white or yellow-brown spot under the tip of your fingernail or toenail. As the fungal infection goes deeper, the nail may discolor, thicken and crumble at the edge. Nail fungus can affect several nails.

If your condition is mild and not bothering you, you may not need treatment. If your nail fungus is painful and has caused thickened nails, self-care steps and medications may help. But even if treatment is successful, nail fungus often comes back.

Nail fungus is also called onychomycosis (on-ih-koh-my-KOH-sis). When fungus infects the areas between your toes and the skin of your feet, it's called athlete's foot (tinea pedis).

Symptoms

Symptoms of nail fungus include a nail or nails that are:

  • Thickened
  • Discolored
  • Brittle, crumbly or ragged
  • Misshapen
  • Separated from the nail bed
  • Smelly

Nail fungus can affect fingernails, but it's more common in toenails.

When to see a doctor

You may want to see a health care provider if self-care steps haven't helped and the nail becomes increasingly discolored, thickened or misshapen. Also talk with your health care provider if you have:

  • Diabetes and think you're developing nail fungus
  • Bleeding around the nails
  • Swelling or pain around the nails
  • Difficulty walking

From Mayo Clinic to your inbox

Sign up for free and stay up to date on research advancements, health tips, current health topics, and expertise on managing health. Click here for an email preview.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Causes

Mayo Clinic Minute: Health Precautions You Need to Know About Pedicures

Vivien Williams: There's nothing like getting pampered with a pedicure. But before you dip your toes in the water, check to be sure the spa is licensed properly.

Rachel Miest, M.D., Department of Dermatology, Mayo Clinic: Oftentimes, those licenses come with the appropriate education, and following the appropriate protocols for how to keep you safe and how to prevent infection.

Ms. Williams: Dr. Rachel Miest says bacterial and fungal are the two most common infections. To avoid them, she says, don't be afraid to ask to make sure the spa cleans all equipment between customers.

Dr. Miest: Even if all of the appropriate precautions are taken from a cleaning standpoint, bacteria, viruses, fungi ─ these things are everywhere.

Ms. Williams: To reduce your risk, Dr. Miest says don't shave 24 hours beforehand and don't have your cuticles cut.

Dr. Miest: Ask that they only either leave your cuticles alone or gently push them back but not to aggressively push them back or clip them because that cuticle is a very, very important seal.

Ms. Williams: For the Mayo Clinic News Network, I'm Vivien Williams.

Mayo Clinic Minute: Fingernails are clues to your health

Vivien Willliams: Your fingernails are clues to your overall health. Many people develop lines or ridges from the cuticle to the tip.

Rachel Miest, M.D., Department of Dermatology, Mayo Clinic: Those are actually completely fine and just a part of normal aging.

Ms. Williams: But Dr. Rachel Miest says there are other nail changes you should not ignore that may indicate …

Dr. Miest: liver problems, kidney problems, nutritional deficiencies …

Ms. Williams: And other issues. Here are six examples: No. 1 is pitting. This could be a sign of psoriasis. Two is clubbing. Clubbing happens when your oxygen is low and could be a sign of lung issues. Three is spooning. It can happen if you have iron-deficient anemia or liver disease. Four is called "a Beau's line." It's a horizontal line that indicates a previous injury or infection. Five is nail separation. This may happen as a result of injury, infection or a medication. And six is yellowing of the nails, which may be the result of chronic bronchitis.

For the Mayo Clinic News Network, I'm Vivien Williams.

Nail fungus is caused by various fungal organisms (fungi). The most common is a type called dermatophyte. Yeast, bacteria and molds also can cause nail infections. The discoloration from a bacterial infection tends to be green or black.

Fungal infection of the foot (athlete's foot) can spread to the nail, and a fungal infection of the nail can spread to the foot. You can also get the infection from contact with spaces where fungi can thrive, such as the floor tile in a gym shower or inside dark, sweaty, moist shoes.

Risk factors

Factors that can increase your risk of developing nail fungus include:

  • Older age
  • Wearing shoes that make your feet sweat heavily
  • Having had athlete's foot in the past
  • Walking barefoot in damp public areas, such as swimming pools, gyms and shower rooms
  • Having a minor skin or nail injury
  • Having a skin condition that affects the nails, such as psoriasis
  • Having diabetes, blood flow problems or a weakened immune system

Complications

A severe case of nail fungus can be painful and may cause permanent damage to your nails. And it may lead to other serious infections that spread beyond your feet if you have a suppressed immune system due to medication, diabetes or other conditions.

Prevention

The following habits can help prevent nail fungus or reinfections and athlete's foot, which can lead to nail fungus:

  • Keep your nails clean and dry. Wash your hands and feet regularly. Wash your hands after touching an infected nail. Dry well, apply an antifungal foot powder and moisturize your nails. Consider applying a nail hardener, which might help strengthen nails and cuticles.
  • Keep your nails trimmed. Cut nails straight across, smooth the edges with a file and file down thickened areas. Disinfect your nail clippers after each use. Letting your nails grow long creates more places for the fungus to grow.
  • Wear absorbent socks or change your socks throughout the day.
  • Choose shoes made of materials that breathe.
  • Discard old shoes or treat them with disinfectants or antifungal powders.
  • Wear footwear in pool areas and locker rooms.
  • Choose a nail salon that uses sterilized manicure tools for each customer. Or disinfect tools you use for home pedicures.
  • Give up nail polish and artificial nails.
  • If you have athlete's foot, treat it with an antifungal product.

May 15, 2024
  1. AskMayoExpert. Fungal nail infection (onychomycosis). Mayo Clinic; 2022.
  2. Kelly AP, et al., eds. Nail disorders. In: Taylor and Kelly's Dermatology for Skin of Color. 2nd ed. McGraw Hill; 2016. https://accessmedicine.mhmedical.com. Accessed May 3, 2022.
  3. Onychomycosis. Merck Manual Professional Version. https://www.merckmanuals.com/professional/dermatologic-disorders/nail-disorders/onychomycosis. Accessed May 3, 2022.
  4. Toenail fungus. American Podiatric Medical Association. https://www.apma.org/Patients/FootHealth.cfm?ItemNumber=1523. Accessed May 3, 2022.
  5. Foley K, et al. Topical and device-based treatments for fungal infections of the toenails. Cochrane Database of Systematic Reviews. 2020; doi:10.1002/14651858.CD012093.pub2.
  6. Lipner SR, et al. Onychomycosis: Clinical overview and diagnosis. Journal of the American Academy of Dermatology. 2019; doi:org/10.1016/j.jaad.2018.03.062.
  7. Ameen M, et al. British Association of Dermatologists' guidelines for the management of onychomycosis 2014. British Journal of Dermatology. 2014; doi:10.1111/bjd.13358.
  8. Taylor Frazier W. Onychomycosis: Rapid evidence review. American Family Physician. 2021;104:359.
  9. Gibson LE (expert opinion). Mayo Clinic. May 25, 2022.
  10. Biotin. Natural medicines. https://naturalmedicines.therapeuticreseardch.com. Accessed May 3, 2022.
  11. Tea tree oil. Natural medicines. https://naturalmedicines.therapeuticreseardch.com. Accessed May 3, 2022.