Nail fungus

Nail fungus often starts subtly but may cause thickened, brittle or discolored nails. This guide explains diagnosis, treatment options and prevention.

Nail fungus, or onychomycosis, is a chronic nail infection caused by pathogenic fungi. It most often affects toenails, especially the big toenail, and usually develops slowly: at first, a small yellowish or white change appears at the edge of the nail; later the nail may become thickened, brittle, crumbly, deformed, or separate from the nail bed. Onychomycosis is not only a cosmetic problem. It may cause pain, discomfort in shoes, spread to other nails, and increase the risk of more serious foot infections in people with diabetes, circulatory disorders, or weakened immunity.

The key point is that not every yellow, thickened, or crumbly nail is nail fungus. Similar changes may be caused by trauma, psoriasis, eczema, bacterial infection, pressure from shoes, and, more rarely, more serious nail diseases. For accurate treatment, nail fungus often needs diagnostic confirmation: examination of nail material by microscopy, fungal culture, PCR, or another laboratory method.

Short answer

Nail fungus is a fungal infection of the nail. Common signs include yellow nails, thickened nails, brittle nails, crumbling, changes in nail shape, or separation from the nail bed. Mild cases may respond to topical antifungal nail products, while a more extensive, long-lasting, or multi-nail infection often requires prescription treatment assessed by a doctor. Treatment usually takes months because nails grow back slowly.

What is onychomycosis, or nail fungus?

Onychomycosis is a fungal infection of the nail plate, nail bed, or surrounding nail structures. The word “onychomycosis” means a fungal disease of the nails. In everyday language, it is called nail fungus.

The infection may be caused by:

Dermatophytes use keratin — the protein that forms the outer layer of the skin, hair, and nails. This is why they can affect both the skin of the feet and the nails. If an infection begins as athlete’s foot and is not treated, it may spread to the nails.

Why is nail fungus not only a cosmetic problem?

At first, many people notice only visual changes: the nail becomes yellowish, dull, or slightly thicker. However, onychomycosis is an infection, not simply a change in nail appearance.

Untreated or long-lasting nail fungus may:

Special care is needed for people with diabetes, peripheral circulatory disorders, or immunosuppression. In these groups, even small foot problems can become more complicated.

How can nail fungus affect quality of life?

Nail fungus may seem like a minor issue until it starts interfering with everyday life. A thickened or deformed nail may press in shoes, hurt while walking, make sports uncomfortable, and make nail care difficult. Some people avoid saunas, swimming pools, beaches, open shoes, or pedicures because they feel self-conscious about the appearance of their nails.

This matters because the goal of treatment is not only a “better-looking nail”. The goal is to reduce infection, discomfort, the risk of further spread, and help the patient return safely to everyday activities.

How does nail fungus develop?

Nail fungus develops when fungi reach the nail or surrounding skin and find suitable conditions: warmth, moisture, friction, closed shoes, microtrauma, and reduced nail barrier function. Toenails are affected more often than fingernails because they are more often exposed to a warm and moist shoe environment.

The infection may be promoted by:

Onychomycosis usually does not start suddenly. It develops gradually, and this slow course can create the misleading impression that the problem is not serious.

Mechanism of infection

For nail fungus to develop, three conditions usually coincide: the presence of fungi, microdamage to the nail or skin, and an environment in which fungi can multiply.

A typical sequence is:

This process may be worsened by repeated trauma. That is why nail fungus can be harder to treat and more likely to recur in athletes, people wearing tight work shoes, or shoes that press on the big toe.

Symptoms of nail fungus

Symptoms of nail fungus vary depending on the type, duration, and extent of infection. Most often, changes begin at the free edge or side edge of the nail.

Early signs

Late signs

The 3–5 main signs that most often suggest nail fungus are nail colour change, thickening, crumbling, separation from the nail bed, and simultaneous athlete’s foot.

What does nail fungus look like in the early stage?

In the early stage, nail fungus often appears as a small yellowish or white area at the tip or side of the nail. The nail may become slightly more brittle but may not yet be painful. At this stage, people often think the nail has been bruised, damaged by shoes, or changed after nail polish.

Early-stage infection matters because a small infection is usually easier to control than long-standing onychomycosis with a thick, deformed nail. Still, visual guessing is not enough if long-term treatment is being considered. If the diagnosis is unclear, the nail should be checked.

Early-stage nail fungus: a small yellowish-white change at the edge of the big toenail

The image shows a possible early stage of nail fungus: a small yellowish-white change at the nail edge, which may also resemble trauma or other nail conditions.

How does nail fungus progress over time?

Nail fungus usually has a chronic and slow course. Toenails grow slowly, so both progression and treatment results may take time to become visible.

Stage What happens in the nail What the person notices
Contact with fungi Fungi reach the skin of the foot or the nail There may be no symptoms
Early stage The infection begins at the nail edge or surface White or yellow spot, slight crumbling
Spread within the nail Fungi damage keratin and thickening accumulates under the nail The nail becomes thicker, more brittle, and harder to trim
Progressive onychomycosis The damage involves a larger part of the nail The nail deforms, separates, and may hurt
Recovery during treatment The infection is controlled, but the damaged nail must be replaced by new growth A healthier nail band grows from the base

Stages of nail fungus progression: healthy nail, early-stage change, thickening, and progressive onychomycosis

The image shows how nail fungus may progress over time: from a small colour change to nail thickening, brittleness, and deformation.

Toenail fungus and fingernail fungus: what is the difference?

Toenail fungus is more common. Toenails are more often injured in shoes, exposed to a moist environment, and grow more slowly, so treatment results take longer. The big toenail is affected most often.

Fingernail fungus is less common and may be linked to frequent wet work, chronic inflammation of the nail fold, Candida infection, or damage to the skin barrier. Fingernails grow faster, so visible recovery is usually faster than in toenails.

Types of nail fungus

Onychomycosis has several clinical types. Patients do not need to identify the exact type themselves, but this classification helps explain why nail fungus does not always look the same.

Type Typical appearance Why it matters
Distal lateral subungual onychomycosis Starts at the free or side edge; the nail becomes yellowish, thickened, and crumbly The most common form of toenail fungus
White superficial onychomycosis White, crumbly patches on the nail surface May look superficial or cosmetic, but may be fungal
Proximal subungual onychomycosis Changes start closer to the nail base Rarer; sometimes prompts evaluation of immune status
Candida onychomycosis More often in fingernails; the nail fold may be red or swollen Often linked to wet work, chronic paronychia, or barrier damage
Mixed or non-dermatophyte infection May resemble other forms, sometimes with unusual colour Requires more precise laboratory diagnostics

Localised and extensive nail fungus

Treatment depends not only on whether fungi are present, but also on how much of the nail is affected.

A more localised and milder infection usually means that:

A more extensive infection usually means that:

This distinction helps explain why one patient may be treated locally, while another may need doctor-guided systemic or combined treatment.

Who is at higher risk?

Nail fungus can affect anyone, but risk factors significantly influence the likelihood of infection and the difficulty of treatment.

In diabetes, nail fungus should not be viewed as “just an ugly nail”. If redness, swelling, pain, a wound, discharge, or changes in foot sensation occur, medical assessment is needed.

Athletes and nail fungus

Athletes may have a higher risk of nail fungus because several factors act together: sweating, closed sports shoes, changing rooms and showers, repeated nail trauma, pressure on the big toes, and prolonged moisture. Runners, football players, dancers, hikers, and people who train regularly in tight footwear may be particularly affected.

If the nail regularly becomes dark, separates, or deforms after sport, it may be trauma, fungus, or a combination of both. Diagnosis is especially important in such cases.

Is nail fungus contagious?

Yes, nail fungus can be contagious, although exposure does not mean that everyone will develop onychomycosis. Moisture, microtrauma, athlete’s foot, footwear, and individual risk factors matter.

At home, it is important not to share nail tools, towels, or shoes. Nail scissors, clippers, and files should be disinfected after use.

Nail fungus or another nail disease?

This is one of the most important parts of the article because several conditions can look similar.

Condition What may resemble nail fungus What may help distinguish it
Nail trauma Colour change, separation, thickening Clear link with impact, running, hiking, or tight shoes
Psoriasis Pitting, thickening, separation, yellowish patches Psoriasis patches on the skin, symmetrical involvement of several nails
Eczema/contact dermatitis Nail fold inflammation, brittle nails Skin irritation, wet work, allergens, or irritants
Bacterial infection Greenish or dark colour, pain Marked inflammation, moisture, pus, pain
Subungual lesions Nail deformity or a dark line Unilateral, changing, dark, or bleeding changes should be shown to a doctor

If a nail suddenly becomes dark without clear trauma, if a black or brown stripe appears, or if there is bleeding, ulceration, pain, or rapid progression, it should not be explained only as fungus. A dermatologist’s assessment is needed.

How is nail fungus diagnosed?

A dermatologist or another specialist assesses the nails, the skin of the feet, and the spaces between the toes. The doctor may ask about symptom duration, footwear, sports, trauma, athlete’s foot, chronic diseases, products used, and medicines.

Laboratory confirmation is especially important before oral prescription therapy. It helps avoid unnecessary treatment when the nail change is not fungal and supports more appropriate treatment planning.

How to prepare for nail sample testing?

If the doctor plans to take nail material for fungal testing, the sample should be as good as possible. Exact instructions are always provided by the clinic or laboratory, but general principles include:

If medicated nail lacquer or another antifungal product has been used for a long time, test sensitivity may be reduced. The doctor may advise whether treatment should be paused before sampling.

When should nail fungus be shown to a doctor?

You should see a dermatologist, family doctor, or another qualified specialist if:

Seek medical help promptly if redness, swelling, severe pain, fever, pus, a wound in a diabetic patient, or signs of spreading infection appear.

How to prepare for a dermatologist visit?

If possible, do not cover the nails with gel polish or decorative polish before the visit, as this may make examination harder. If antifungal products have already been used, tell the doctor because this may affect test results.

Treatment of nail fungus

Treatment depends on the cause and severity. There is no “one product for everyone” approach. The doctor assesses the number of affected nails, extent of infection, nail thickness, causative organism, general health, possible drug interactions, and safety risks.

How does the doctor choose treatment?

Situation Commonly considered approach Important note
Small part of the nail affected, nail not very thick Topical antifungal nail products, regular nail care Results require patience and correct use
One or a few nails affected with thickening Topical treatment with nail debridement or combined approach A podiatrist may be needed
Several nails or a large nail area affected Doctor-assessed systemic prescription therapy Safety and interactions must be assessed first
Athlete’s foot is present The skin of the feet should also be treated Otherwise the nail may be reinfected
Diabetes, poor circulation, or immunosuppression Early doctor involvement Self-treatment is not a safe strategy

Topical antifungal nail products

Topical products include lacquers, solutions, or other preparations applied to the nail. They may be suitable for milder cases when only a small part of the nail is affected and there is no marked thickening. The main challenge is the hard nail structure: the product must penetrate deeply enough.

A doctor or podiatrist may therefore recommend gentle reduction of thickening, regular nail care, and correct duration of use. Treatment should not be stopped after the first visible improvement.

Systemic prescription therapy

For more extensive infection, the doctor may consider oral prescription antifungal medicines. This may be more effective in deeper or multi-nail infection, but safety assessment is required.

Blood tests may be needed before systemic treatment, especially to assess liver function, and medicines and comorbidities should be reviewed. Treatment choices require particular caution during pregnancy, breastfeeding, and in liver or kidney disease.

This article does not provide instructions for prescription medicines. Specific treatment is determined by a doctor.

Nail debridement and podiatry care

If the nail is very thick, deformed, or painful, medical nail care may be needed. It may reduce pressure in shoes, make nail care easier, and help topical products reach the affected area better.

Do not try to aggressively cut, drill, or deeply file the nail at home. This may injure the skin, cause a wound, and increase the risk of bacterial infection.

Laser and other procedures

Laser procedures, photodynamic therapy, and other physical methods are being studied and are sometimes used as additional methods. Evidence is mixed, and results may depend on the type of infection, nail thickness, treatment protocol, and combination with other treatment.

Laser should therefore not be seen as a guaranteed or universal treatment for nail fungus. If a procedure is offered, the patient should know its purpose, the number of sessions, how results will be assessed, and whether the diagnosis has been confirmed in a laboratory.

An important distinction: improvement in nail appearance is not the same as laboratory-confirmed cure of the infection. Promises of a very fast, complete, and lasting result should be assessed cautiously, especially if the causative organism has not been confirmed.

How long does nail fungus treatment take?

Treatment requires patience. Even during successful therapy, the damaged part of the nail does not disappear immediately. A healthier nail grows from the base while the old damaged nail is gradually replaced.

Full visible recovery usually takes longer in toenails than in fingernails. Treatment results should therefore be assessed by healthier growth from the base, not by an immediate change in the whole nail plate. A rapid “miracle result” is not realistic.

Can nail fungus come back?

Yes. Onychomycosis may recur, especially if risk factors remain: athlete’s foot, damp shoes, old contaminated footwear, nail trauma, poor ventilation, diabetes, circulatory disorders, or incomplete treatment.

After improvement, prevention is part of the treatment process. If a yellowish nail edge, thickening, crumbling, or signs of athlete’s foot return, it is better to react early rather than wait for marked deformity.

Does immunity develop after nail fungus?

After nail fungus, lasting immunity usually does not develop. A person may be infected again if similar conditions return or the same risk factors remain.

The immune system matters, but the nail is a slow-growing structure with limited ability to recover quickly. Hygiene, shoe care, treatment of athlete’s foot, and reducing nail trauma remain important after successful treatment.

How to reduce risk at home?

Nail fungus prevention: dry feet, clean socks, breathable shoes, shower sandals in shared showers, and disinfected nail tools

The image summarises everyday prevention: dry feet, clean socks, breathable shoes, shower sandals in shared showers, and disinfected nail care tools.

What should not be done if nail fungus is suspected?

Home remedies such as vinegar, baking soda, tea tree oil, or harsh disinfectants may irritate the skin and delay accurate treatment. They must not replace diagnostics, especially in long-lasting or extensive nail changes.

Common myths about nail fungus

Does nail fungus always go away by itself?

No. It is usually a persistent infection that often remains or progresses without treatment.

Do yellow nails always mean fungus?

No. Yellow nails may also be caused by trauma, psoriasis, shoe pressure, nail polish, or other diseases.

Is nail fungus only cosmetic?

No. It may cause pain, discomfort, spread, and be important in risk groups.

Can an ordinary athlete’s foot cream cure nail fungus?

Not always. Skin creams often do not penetrate the nail plate deeply enough.

Does laser guarantee cure?

No. Laser effectiveness varies and it is more often considered an additional method than a universal solution.

Is nail fungus caused by poor hygiene?

Not only. Hygiene matters, but footwear, moisture, trauma, athlete’s foot, age, and health status are also important.

Can nail fungus be hidden under gel polish?

This is not a good solution if the infection is progressing. Coatings can hide changes and interfere with treatment.

Is treating only the affected nail enough?

Not always. If athlete’s foot or contaminated footwear remains, the infection may return.

What is well proven in medicine and what is still being studied?

Well proven

Areas still being studied

Summary

Nail fungus, or onychomycosis, is a common, slowly progressive nail infection. It most often begins as a small colour change or crumbling at the nail edge, but over time the nail may become thickened, deformed, and separated from the nail bed. Toenail fungus is more common than fingernail fungus because toenails are more often exposed to a warm, moist, and traumatic shoe environment.

Accurate diagnosis is important because similar nail changes may be caused by trauma, psoriasis, eczema, bacterial infection, and other diseases. Treatment may include topical antifungal products, doctor-assessed systemic treatment, nail care, treatment of athlete’s foot, and prevention. Rapid results are not realistic because a healthier nail must grow back gradually.

Medical disclaimer

The information in this article is educational and informative. It does not replace a dermatologist consultation, diagnosis, or individually prescribed treatment. If you notice changes in nail colour, thickness, shape, or structure, or if there is pain, redness, swelling, pus, a wound, diabetes, circulatory disorders, weakened immunity, or spreading infection, consult a dermatologist, family doctor, or another qualified healthcare professional. Do not use prescription antifungal medicines, aggressive nail procedures, or unverified home remedies without medical advice.

Content author

Dermatologist Dr. med. Dace Buile

References and authoritative sources

Frequently Asked Questions

Additional questions for the dermatologist about nail fungus, onychomycosis

1. What is onychomycosis?

Onychomycosis is a fungal nail infection that damages the nail plate, nail bed or surrounding structures.

2. What is nail fungus?

Nail fungus is the everyday term for onychomycosis. It can cause changes in the colour, thickness, shape and structure of the nail.

3. Are onychomycosis and nail fungus the same thing?

Yes. Onychomycosis is the medical term, while nail fungus is a name that is easier for patients to understand.

4. What does nail fungus look like in its early stages?

It may appear as a small white or yellowish spot near the edge of the nail, mild crumbling or slight thickening.

5. What are the most common symptoms of nail fungus?

The most common symptoms are yellow nails, thickened nails, brittle nails, nail crumbling, deformity and separation from the nail bed.

6. Why does a nail become yellow and thick?

The fungus damages keratin and promotes the build-up of crumbly material under the nail, which can cause discolouration and thickening.

7. Do yellow nails always mean nail fungus?

No. Yellow nails can also be caused by trauma, psoriasis, pressure from footwear, cosmetics or other nail conditions.

8. How can nail fungus be distinguished from an injury?

An injury more often starts after an impact, pressure or physical activity. Nail fungus more often progresses slowly from the edge of the nail and may occur alongside athlete's foot.

9. How can nail fungus be distinguished from psoriasis?

Psoriasis may cause nail pitting, patches of psoriasis on the skin and symmetrical changes in several nails. A doctor's examination and sometimes tests are needed to distinguish them reliably.

10. Is nail fungus contagious?

Yes. It can spread to other nails, the skin of the feet or other people, especially in damp environments and through shared items.

11. How can you get nail fungus?

Common risk factors include communal showers, swimming pools, gyms, damp footwear, athlete's foot, nail injuries and shared nail tools.

12. Can athlete's foot spread to the nails?

Yes. Untreated athlete's foot is one of the common ways that fungi reach the nails.

13. Why is toenail fungus more common?

Toenails are more often exposed to a warm, damp environment inside shoes, are injured more frequently and grow more slowly than fingernails.

14. Who is at greater risk?

The risk is higher in older adults, people with diabetes, poor circulation, weakened immunity or athlete's foot, athletes and people who often wear tight shoes.

15. Is nail fungus more dangerous in people with diabetes?

Yes. Foot infections and wounds can be more serious in people with diabetes, so nail changes should be shown to a doctor.

Consultation fee

Qualification Clients of the clinic First visit
Clinic Director 76 € 80 €
Dr. Med. 66.50 € 70 €
Highly qualified doctor 57 € 60 €
Doctor 45 € 55 €

Clinic's dermatologists

Clinic Director

Dermatologist Dr. Med. assistant professor Māra Rone-Kupfere

Ask a question Make an appointment

Dr. Med.

Dermatologist Dr. med. Dace Buile

Ask a question Make an appointment

Highly qualified doctors

Dermatologist Gunita Buiksa

Ask a question Make an appointment

Dermatologist Ilona Zablocka

Ask a question Make an appointment

Dermatologist Zanda Bogdanova

Ask a question Make an appointment

Dermatologist Ivanna Buvan

Ask a question Make an appointment

Make an appointment

We will contact you to remind you the time of your appointment!
Make an appointment

Ask a question

Name *
E-mail *
Ask a question *

Thank you for your question!

The specialist will contact you shortly