Onychomycosis – Diagnostics

Go back

Diagnosing onychomycosis, the fungal infection affecting nails, requires more than just looking at discolored or thickened nails—proper testing helps doctors confirm what’s really causing the problem and choose the right treatment path.

Introduction: Who Should Seek Diagnostic Testing

If you notice that your nails are starting to look different—perhaps turning yellow, white, or brown, becoming thicker than usual, or separating from the nail bed—it may be time to see a healthcare provider. While these changes might seem like a cosmetic concern, they could signal a fungal infection called onychomycosis, which affects millions of people worldwide.[1]

Not everyone with an unusual-looking nail has a fungal infection. Many other conditions can make nails look unhealthy, including aging, psoriasis, injuries, and even the chemicals in nail polish. Because only about half of all nail problems are actually caused by fungus, getting a proper diagnosis before starting treatment is essential.[4][15] Without confirmation, you might spend time and money on treatments that won’t work for your specific condition.

You should consider seeking diagnostic testing if you notice your nails becoming discolored, thickened, brittle, or crumbly, or if they start to separate from the skin underneath. If you also have a foul smell coming from your nails or notice white spots and streaks appearing on them, these are additional signs that warrant a visit to your doctor.[1][2] People with certain health conditions—such as diabetes, poor circulation, a weakened immune system, or a history of athlete’s foot—should be especially vigilant, as they face higher risks for developing fungal nail infections and their complications.[1][3]

⚠️ Important
Even if your nail changes seem minor, seeking medical attention early can prevent the infection from worsening and spreading to other nails or parts of your body. Early diagnosis also means simpler treatment options and better outcomes overall.

Classic Diagnostic Methods for Identifying Onychomycosis

When you visit a healthcare provider with concerns about your nails, the first thing they will do is perform a visual examination. By looking closely at the affected nail, an experienced doctor can often recognize patterns that suggest fungal infection. However, because other conditions can mimic the appearance of onychomycosis, visual inspection alone is not enough to confirm the diagnosis.[1][9]

Collecting the Sample

To confirm whether fungus is causing your nail problems, your healthcare provider will need to collect a sample from the affected nail. Before taking the sample, they will clean your nail with alcohol to remove any bacteria and surface debris that could interfere with testing.[4] The way the sample is collected depends on which part of your nail is affected.

For the most common type of infection—where the nail becomes thick and yellow starting at the tip—the doctor will remove the loose, damaged part of the nail and then scrape material from the nail bed underneath. This area contains the highest concentration of fungal organisms, making it the best place to find evidence of infection.[5][9] If your infection appears as white patches on the surface of your nail, the doctor will use a blade to scrape off some of the chalky material from the top layer.[5] When the infection starts near the base of your nail—which is less common—the overlying nail must first be carefully pared away so that a sample from underneath can be obtained.[10]

Potassium Hydroxide (KOH) Preparation

The most widely used initial test for nail fungus is called a potassium hydroxide preparation or KOH test. In this procedure, the nail sample is placed on a glass slide and mixed with a solution containing potassium hydroxide, sometimes combined with a substance called dimethyl sulfoxide (DMSO).[4][5] The potassium hydroxide dissolves the nail material but leaves the fungal structures intact, making them easier to see under a microscope.

If DMSO is included in the solution, the preparation can be examined right away without heating or waiting. The laboratory technician or doctor then looks through the microscope for thread-like structures called hyphae, which are characteristic of fungal growth.[4][15] This test provides quick results—often within the same day—and helps screen for the presence of fungus. However, it doesn’t identify the specific type of fungus causing the infection.

Fungal Culture

To identify exactly which organism is responsible for your nail infection, your doctor may order a fungal culture. In this test, the nail sample is placed in a special growing medium that encourages fungi to multiply. Over the course of several days to weeks, any fungus present in the sample will grow and can then be identified by its appearance and characteristics.[3][4]

Fungal culture is considered the traditional standard for diagnosis because it can tell doctors which specific type of fungus is present. This information can be important for treatment decisions, as different organisms may respond differently to various medications. However, fungal culture has some drawbacks: it takes a long time to get results, and sometimes fungi that are actually present in the sample fail to grow in the laboratory, leading to false-negative results.[4][15]

Histopathologic Examination (Tissue Study)

Another highly accurate method for diagnosing onychomycosis involves examining nail tissue under a microscope after treating it with special stains. The most commonly used stains are called periodic acid-Schiff (PAS) stain and Grocott-Gomori methenamine silver (GMS) stain, both of which highlight fungal structures and make them stand out clearly against the surrounding nail tissue.[4][9]

This method is more sensitive than KOH preparation or culture, meaning it’s better at detecting fungi when they’re present. Studies have shown that PAS staining can increase the detection rate of fungal infections significantly compared to other methods.[4][15] Results are typically available faster than with fungal culture. However, while this test confirms the presence of fungus, it cannot always identify the exact species responsible for the infection.

Polymerase Chain Reaction (PCR) Testing

A newer and more advanced diagnostic approach uses polymerase chain reaction or PCR technology. This molecular test detects the genetic material (DNA or RNA) of fungi present in the nail sample. PCR testing is highly sensitive and specific, meaning it’s very good at both finding fungi when they’re present and avoiding false-positive results.[9][15]

One of the major advantages of PCR is that it provides results much faster than traditional culture—often within a few days—and it can identify the specific type of fungus involved. This technology is particularly useful when other tests give unclear results or when rapid diagnosis is needed. However, PCR testing may not be available at all healthcare facilities and can be more expensive than conventional methods.[15]

Dermoscopy

Some healthcare providers use a tool called a dermoscope to examine nails more closely. This handheld device provides magnified, illuminated views of the nail and can help identify patterns consistent with fungal infection. While dermoscopy cannot replace laboratory testing, it can guide doctors in deciding whether further testing is needed and where to collect samples from.[9]

⚠️ Important
Your doctor may use more than one test to confirm your diagnosis. Combining different testing methods increases accuracy and helps ensure you receive the correct treatment. Never rely on appearance alone—laboratory confirmation is essential before starting treatment, especially since medications for onychomycosis require long-term use and can have side effects.

Diagnostics for Clinical Trial Qualification

When patients are being considered for participation in clinical trials studying new treatments for onychomycosis, diagnostic requirements are often more stringent than those used in routine clinical practice. Clinical trials need to ensure that all participants truly have the condition being studied and that the infection meets specific criteria for severity and type.

Most clinical trials for onychomycosis treatments require laboratory confirmation of fungal infection before a patient can be enrolled. This typically means obtaining positive results from both a KOH preparation showing the presence of fungal structures and either a positive fungal culture identifying the specific organism or a positive PAS-stained histopathology result.[14][15] This dual confirmation approach helps eliminate participants who might have nail abnormalities from other causes.

Classification and Severity Assessment

Clinical trials often specify which type of onychomycosis they’re studying. The condition is classified into several subtypes based on how the infection presents. The most common type is called distal lateral subungual onychomycosis, where the fungus invades the nail starting at the tip and sides. Other patterns include white superficial onychomycosis, where white patches appear on the nail surface, and proximal subungual onychomycosis, where infection begins at the base of the nail near the cuticle.[3][15]

To participate in a clinical trial, patients’ infections usually need to meet certain severity criteria. Researchers commonly use a scoring system called the Onychomycosis Severity Index, which measures three factors: how much of the nail is involved, how much the nail has thickened or separated from the nail bed, and the degree of discoloration or other abnormal appearance.[15] Trials may require that participants have a minimum level of nail involvement—for example, at least 25% of the nail plate affected—to ensure the treatment’s effects can be properly measured.

Excluding Other Conditions

Before enrolling participants, clinical trials must rule out other conditions that can mimic fungal nail infections. This might involve additional testing or examination to exclude psoriasis, lichen planus, nail trauma, or other inflammatory conditions that affect nail appearance. Some trials may perform biopsies or additional laboratory tests to ensure participants don’t have these alternative diagnoses.[15]

Baseline Documentation

Clinical trials require careful documentation of each participant’s condition before treatment begins. This baseline documentation typically includes photographs of all affected nails, measurements of the area of infection, assessment of nail thickness, and recording of any symptoms like pain or discomfort. These baseline measurements provide a comparison point for evaluating whether the treatment being studied is working.[14]

Ongoing Monitoring During Trials

Throughout a clinical trial, participants undergo regular follow-up testing to monitor their response to treatment. This often includes repeat laboratory tests—such as periodic KOH preparations and cultures—to determine whether the fungus is being eliminated. Trials typically measure both mycologic cure (when laboratory tests show no more fungus) and complete cure (when the nail looks normal and no fungus is detected). Because nails grow slowly, these assessments may continue for many months after treatment ends to evaluate long-term effectiveness.[4][14]

The rigorous diagnostic standards used in clinical trials help ensure that research findings are reliable and that new treatments are tested in patients who genuinely have the condition. While these requirements are more demanding than routine clinical care, they ultimately contribute to developing better treatment options for everyone with onychomycosis.

Prognosis and Survival Rate

Prognosis

Onychomycosis is not a life-threatening condition, but it is a chronic infection that tends to persist and worsen over time if left untreated. The prognosis for patients with nail fungus varies depending on several factors, including their overall health, the severity of the infection, and whether they receive appropriate treatment. Without treatment, the infection typically spreads to involve more of the affected nail and may spread to other nails as well.[1] In some cases, the fungus can spread beyond the nails to cause athlete’s foot or other skin infections.[1]

One of the challenges with onychomycosis is that even with treatment, recurrence rates are quite high. Studies show that between 10% and 50% of patients experience reinfection or lack of complete cure after treatment, meaning the fungus returns within months or years after seemingly successful therapy.[4][13][15] The recurrence rate is reported at approximately 25% in many cases.[15] This happens because the fungus may not be completely eliminated, or because patients become reinfected from their environment, footwear, or contact with infected surfaces.

Several factors affect a patient’s prognosis. Older adults tend to have worse outcomes because they often have reduced blood circulation to their extremities, slower nail growth, and other health conditions that weaken their immune response.[3][15] People with diabetes, peripheral vascular disease, or compromised immune systems face higher risks of complications and may find their infections more difficult to treat successfully. The type and extent of nail involvement also matter—infections that affect the base of the nail or involve multiple nails typically have poorer outcomes than those limited to the nail’s outer edge.[13]

With modern antifungal treatments, the outlook for many patients has improved significantly. Oral medications like terbinafine can achieve complete cure in approximately 35% to 40% of patients, while mycologic cure (elimination of the fungus even if the nail appearance hasn’t fully normalized) occurs in 70% to 76% of cases.[4][13] However, even successful treatment requires patience, as it can take four months to a year or more for a completely new, healthy nail to grow out and replace the infected one.[2][11]

For certain high-risk populations, onychomycosis can lead to serious complications. In people with diabetes or poor circulation, the infection can serve as a starting point for more severe problems like cellulitis (a bacterial skin infection), tissue damage, or even bone infections. These complications can occasionally result in the need for hospitalization or surgical intervention.[3][9] Additionally, thickened, painful nails can interfere with walking and physical activity, reducing quality of life and potentially leading to other health problems related to decreased mobility.[15]

Survival rate

Onychomycosis itself does not affect survival rates, as it is not a deadly disease. The condition is chronic and can persist for years, but it does not directly cause death or significantly reduce life expectancy in otherwise healthy individuals. However, in patients with serious underlying health conditions—particularly those with diabetes and peripheral vascular disease—complications arising from untreated or poorly managed nail fungus can contribute to more serious health events that may affect overall prognosis. For example, severe infections leading to cellulitis or sepsis in immunocompromised or diabetic patients can become life-threatening if not properly managed.[3] Nevertheless, when considering onychomycosis alone, there are no survival statistics associated with the condition because it is a non-fatal infection that affects quality of life rather than mortality.

Ongoing Clinical Trials on Onychomycosis

  • Study on the Effect of Ciclopirox in Treating Nail Fungal Infection in Patients

    Recruiting

    1 1 1 1
    Investigated diseases:
    Spain

References

https://my.clevelandclinic.org/health/diseases/11303-toenail-fungus

https://www.mayoclinic.org/diseases-conditions/nail-fungus/symptoms-causes/syc-20353294

https://www.ncbi.nlm.nih.gov/books/NBK441853/

https://www.aafp.org/pubs/afp/issues/2013/1201/p762.html/

https://emedicine.medscape.com/article/1105828-overview

https://www.apma.org/patients-and-the-public/conditions-affecting-the-foot-and-ankle/toenail-fungus/

https://en.wikipedia.org/wiki/Onychomycosis

https://www.cdc.gov/ringworm/about/index.html

https://www.merckmanuals.com/professional/dermatologic-disorders/nail-disorders/onychomycosis

https://www.aafp.org/pubs/afp/issues/2001/0215/p663.html

https://www.mayoclinic.org/diseases-conditions/nail-fungus/diagnosis-treatment/drc-20353300

https://pmc.ncbi.nlm.nih.gov/articles/PMC3040862/

https://emedicine.medscape.com/article/1105828-treatment

https://pmc.ncbi.nlm.nih.gov/articles/PMC10941855/

https://www.aafp.org/pubs/afp/issues/2021/1000/p359.html

https://my.clevelandclinic.org/health/diseases/11303-toenail-fungus

https://www.aad.org/public/diseases/a-z/prevent-another-nail-infection

https://www.footandanklesnh.com/tips-and-advice/b/how-to-handle-recurring-fungal-nail-infections-long-term-solutions

https://my.clevelandclinic.org/health/diseases/11303-toenail-fungus

https://www.health.harvard.edu/diseases-and-conditions/staying-one-step-ahead-of-toenail-fungus

https://www.aafp.org/pubs/afp/issues/2021/1000/p359.html

https://www.mayoclinic.org/diseases-conditions/nail-fungus/diagnosis-treatment/drc-20353300

https://www.apma.org/patients-and-the-public/conditions-affecting-the-foot-and-ankle/toenail-fungus/

https://www.sapodiatry.com/blog/7-healthy-habits-to-prevent-toenail-fungus

https://pmc.ncbi.nlm.nih.gov/articles/PMC5753109/

https://medlineplus.gov/diagnostictests.html

https://www.questdiagnostics.com/

https://www.healthdirect.gov.au/diagnostic-tests

https://www.who.int/health-topics/diagnostics

https://www.yalemedicine.org/clinical-keywords/diagnostic-testsprocedures

https://www.nibib.nih.gov/science-education/science-topics/rapid-diagnostics

https://www.health.harvard.edu/diagnostic-tests-and-medical-procedures

https://www.roche.com/stories/terminology-in-diagnostics

FAQ

Can I diagnose nail fungus myself just by looking at my nails?

No, you cannot reliably diagnose onychomycosis just by looking at your nails. While discolored, thickened, or brittle nails may suggest fungal infection, many other conditions—including psoriasis, aging, trauma, and other inflammatory disorders—can cause similar changes in nail appearance. Only about 50% of nail abnormalities are actually caused by fungus, so laboratory testing is essential before starting treatment.[4][15]

What is the most accurate test for diagnosing toenail fungus?

The most accurate single test for diagnosing onychomycosis is histopathologic examination with PAS (periodic acid-Schiff) or GMS (Grocott-Gomori methenamine silver) staining. This method has higher sensitivity than KOH preparation or fungal culture, meaning it’s better at detecting fungus when it’s present. However, many doctors use a combination of tests—such as KOH preparation plus either culture or PAS staining—to increase diagnostic accuracy.[4][15]

How long does it take to get test results for nail fungus?

The time to get results varies depending on which test is used. A KOH preparation can provide results the same day or within a few days. Fungal culture takes much longer—typically several days to weeks—because the fungus needs time to grow in the laboratory. Histopathologic examination with special stains usually takes a few days to a week. PCR (polymerase chain reaction) testing, when available, can provide results within a few days and is faster than culture.[4][15]

Why do doctors need to test my nails if they already look like they have fungus?

Laboratory confirmation is essential before starting treatment because onychomycosis medications require long-term use (often 3 to 12 months), can have side effects, may interact with other drugs, and are relatively expensive. Since only half of nail problems are caused by fungus, treating without confirmation could mean spending time and money on medications that won’t help your actual condition. Additionally, knowing the specific type of fungus can help guide treatment choices.[4][15]

Does onychomycosis testing hurt?

No, collecting a sample for onychomycosis testing is generally not painful. The doctor will clip the affected nail and scrape material from underneath the nail or from the nail surface. Since the affected part of the nail is typically already separated or damaged, most patients feel little to no discomfort during sample collection. The procedure is quick and can usually be done during a regular office visit.[4][5]

🎯 Key takeaways

  • Half of all nail problems aren’t caused by fungus, so never start treatment without laboratory confirmation—you might be wasting time and money treating the wrong condition.
  • The KOH preparation is the quickest screening test and can give results the same day, but combining it with culture or histopathology increases diagnostic accuracy significantly.
  • Where your doctor collects the sample matters—scraping from the area closest to where healthy nail meets infected nail provides the highest concentration of fungus and the best chance of accurate diagnosis.
  • About 39% of nail fungal infections involve more than one type of organism, making precise diagnosis crucial for choosing the most effective treatment approach.
  • Clinical trials use much stricter diagnostic criteria than regular practice, requiring multiple positive tests to ensure participants truly have the condition being studied.
  • PCR testing is the newest diagnostic tool and can identify fungal DNA within days, but it may not be available everywhere and costs more than traditional methods.
  • Even with perfect treatment, 10% to 50% of patients experience recurrence, so accurate initial diagnosis and follow-up testing are essential for long-term management.
  • People with diabetes, poor circulation, or weakened immune systems should seek testing at the first sign of nail changes, as early diagnosis can prevent serious complications like cellulitis or bone infections.