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.
Key points
check_circleHalf 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.
check_circleThe 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.
check_circleWhere 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.
check_circleAbout 39% of nail fungal infections involve more than one type of organism, making precise diagnosis crucial for choosing the most effective treatment approach.
check_circleClinical trials use much stricter diagnostic criteria than regular practice, requiring multiple positive tests to ensure participants truly have the condition being studied.
check_circlePCR 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.
check_circleEven with perfect treatment, 10% to 50% of patients experience recurrence, so accurate initial diagnosis and follow-up testing are essential for long-term management.
check_circlePeople 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.
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.
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. 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. 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.
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.
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. 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. 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. 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.
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). 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. 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.
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.
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.
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. 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.
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.
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.
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. 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.
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. 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.
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.
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.
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. In some cases, the fungus can spread beyond the nails to cause athlete's foot or other skin infections.
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. The recurrence rate is reported at approximately 25% in many cases. 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. 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.
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. 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.
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. 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.
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. 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.
lightbulb Did you know?
01Fingernails grow about three times faster than toenails, which is why toenail fungal infections are much harder to treat—it can take 12 to 18 months for a new, healthy toenail to grow out completely compared to just 3 to 6 months for fingernails.[12]
02About 39% of nail fungal infections are actually "mixed" infections caused by more than one type of organism—such as a combination of dermatophytes, yeasts, and molds—which can make diagnosis and treatment particularly challenging.[15]
03The infection rate jumps dramatically with age: while onychomycosis affects 1 in 10 people overall, it affects 1 in 2 people (50%) over the age of 70, making it one of the most common conditions affecting seniors' nails.[1][3]
Questions people often ask
info This guide is here to help you understand the condition. It does not replace a conversation with your doctor, who knows your situation best.