Nail fungus can cause the nail to become thick or ragged and appear yellow, green, brown or black. An infected nail may separate from the nail bed.
Nail fungus is a common condition that begins as a white or yellow spot under the tip of your fingernail or toenail. As the fungal infection goes deeper, nail fungus may cause your nail to discolor, thicken and crumble at the edge. It 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).
You may have nail fungus if one or more of your nails are:
- Whitish to yellow-brown discoloration
- Brittle, crumbly or ragged
- Distorted in shape
- A dark color, caused by debris building up under your nail
- Smelling slightly foul
Nail fungus can affect fingernails, but it's more common in toenails.
When to see a doctor
You may want to see a physician if self-care steps haven't helped and the nail becomes increasingly discolored, thickened or deformed. Also see a doctor if you have diabetes and think you're developing nail fungus.
Get the latest health information from Mayo Clinic’s experts.
Sign up for free, and stay up to date on research advancements, health tips and current health topics, like COVID-19, plus expertise on managing health.
ErrorEmail field is required
ErrorInclude a valid email address
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.
Thank you for subscribing
Our Housecall e-newsletter will keep you up-to-date on the latest health information.
Sorry something went wrong with your subscription
Please, try again in a couple of minutes
Mayo Clinic Minute - Health Precautions You Need to Know About Pedicures
Viven 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. 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.
Fungal nail infections are caused by various fungal organisms (fungi). The most common cause is a type of fungus called dermatophyte. Yeast and molds also can cause nail infections.
Fungal nail infection can develop in people at any age, but it's more common in older adults. As the nail ages, it can become brittle and dry. The resulting cracks in the nails allow fungi to enter. Other factors — such as reduced blood circulation to the feet and a weakened immune system — also may play a role.
Toenail fungal infection can start from athlete's foot (foot fungus), and it can spread from one nail to another. But it is uncommon to get an infection from someone else.
Factors that can increase your risk of developing nail fungus include:
- Being older, owing to reduced blood flow, more years of exposure to fungi and slower growing nails
- Sweating heavily
- Having a history of athlete's foot
- Walking barefoot in damp communal areas, such as swimming pools, gyms and shower rooms
- Having a minor skin or nail injury or a skin condition, such as psoriasis
- Having diabetes, circulation problems or a weakened immune system
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.
If you have diabetes, you may have reduced blood circulation and nerve supply in your feet. You're also at greater risk of a bacterial skin infection (cellulitis). So any relatively minor injury to your feet — including a nail fungal infection — can lead to a more serious complication. See your doctor if you have diabetes and think you're developing nail fungus.
The following habits can help prevent nail fungus or reinfections and athlete's foot, which can lead to nail fungus:
- Wash your hands and feet regularly. Wash your hands after touching an infected nail. Moisturize your nails after washing.
- Trim nails straight across, smooth the edges with a file and file down thickened areas. Disinfect your nail clippers after each use.
- Wear sweat-absorbing 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.
- Give up nail polish and artificial nails.