Introduction
Onychomycosis is a fungal infection of the nail unit, usually caused by dermatophytes, though yeasts and non-dermatophyte molds can also be involved. It develops when fungi invade the nail plate, nail bed, or surrounding nail structures and gradually alter nail growth and appearance. Because several non-fungal conditions can produce similar nail changes, diagnosis is not based on appearance alone. Medical professionals combine examination, history, and laboratory confirmation to identify the infection with reasonable certainty.
Accurate diagnosis matters for several reasons. First, treatment is long and may involve oral medication, topical therapy, or both, so confirming a fungal cause helps avoid unnecessary exposure to drugs that may have side effects. Second, nail changes from psoriasis, trauma, lichen planus, or bacterial infection may require different management. Third, the specific organism can affect the choice of treatment, since dermatophytes, yeasts, and molds may respond differently. Diagnosis therefore serves both to confirm infection and to guide appropriate care.
Recognizing Possible Signs of the Condition
Onychomycosis is often suspected when the nail becomes progressively abnormal in a pattern consistent with fungal invasion. Typical changes include thickening of the nail plate, yellow or white discoloration, crumbling at the edge of the nail, separation of the nail from the nail bed, and accumulation of debris beneath the nail. The nail may become brittle, distorted, or irregular in shape. In some cases, more than one nail is affected, and the toenails are more commonly involved than the fingernails.
The underlying biological process is slow fungal growth within keratinized nail tissue. Fungi digest keratin and spread along the nail plate or under the nail, which is why changes often develop gradually rather than suddenly. Affected nails may show patchy discoloration or a more diffuse opaque appearance. Some patients notice mild discomfort, pressure in shoes, or a change in nail texture before the nail becomes visibly deformed. However, pain is not always present, and many cases are identified because of cosmetic change or persistent nail thickening.
Clinical suspicion increases when the nail changes are chronic, worsen over time, or occur in a pattern typical of fungal spread from the skin, especially if the patient has athlete’s foot, moist footwear exposure, a history of nail trauma, or recurrent nail disease. Even so, appearance alone is not reliable enough to establish the diagnosis, since several other disorders can mimic these findings.
Medical History and Physical Examination
Diagnosis begins with a targeted medical history. Clinicians ask when the nail changes started, how quickly they have progressed, whether one or multiple nails are affected, and whether there is associated itching, scaling of the feet, pain, drainage, or recurrent skin fungus. They also assess risk factors that increase the likelihood of fungal nail infection, such as older age, diabetes, peripheral vascular disease, immunosuppression, excessive sweating, frequent use of occlusive shoes, communal bathing exposure, or a history of nail trauma. Previous nail treatments, including antifungal creams or oral agents, are also important because they may alter test results or partially suppress fungal growth.
Physical examination focuses on the nail plate, nail bed, surrounding skin, and sometimes the feet and hands as a whole. The clinician looks for patterns suggestive of fungal disease, such as distal edge involvement, subungual debris, thickening, discoloration, and onycholysis, which is the lifting of the nail from the bed. Examination of the skin may reveal tinea pedis or fungal infection between the toes, which can serve as a reservoir for reinfection. The doctor may also compare multiple nails to determine whether the pattern fits infection or another disorder.
The physical exam also helps assess whether the nail findings could reflect another process. Psoriasis may produce pitting, oil-drop discoloration, or associated skin plaques. Trauma may cause localized thickening or splitting in a single nail. Lichen planus can lead to ridging and thinning, sometimes with scarring. These distinctions are important because treatment approaches differ substantially. A careful examination narrows the differential diagnosis and guides the choice of confirmatory testing.
Diagnostic Tests Used for Onychomycosis
Because many nail disorders look alike, laboratory confirmation is commonly used before starting systemic treatment. The standard approach is to obtain a specimen from the affected nail and analyze it for fungal elements. The exact method may vary by clinic and laboratory, but the goal is to show that fungus is present in the nail and, when possible, identify the type of organism.
Direct microscopy is often the first test. In this method, nail clippings or scrapings are treated with potassium hydroxide, or KOH, which dissolves keratin and clears the specimen so fungal hyphae, spores, or yeast forms can be seen under the microscope. This test is useful because it is relatively quick and inexpensive. It does not identify the exact species, but it can demonstrate fungal structures consistent with infection.
Fungal culture is another important laboratory test. The specimen is placed on a culture medium and incubated to allow fungal growth. Culture can identify the organism more specifically, distinguishing dermatophytes from yeasts or non-dermatophyte molds. This information may be clinically useful when the infection is stubborn, atypical, or resistant to standard therapy. Culture is slower than microscopy and may take weeks, and it can sometimes be falsely negative if the sample is poor or if the fungus is not viable.
Histopathologic examination of nail tissue or clippings can also be used. The specimen is stained, often with periodic acid-Schiff, or PAS, which highlights fungal elements within the keratin. This method is sensitive because it can detect fungal invasion even when organisms are not growing well in culture. It also helps confirm whether the fungus is actually inside the nail plate rather than merely contaminating the surface. In many practices, PAS staining is one of the most reliable confirmatory tests.
Polymerase chain reaction, or PCR, may be used in some centers. PCR detects fungal DNA in the specimen and can provide rapid identification of the organism at a molecular level. It can be more sensitive than culture in certain cases and faster than waiting for fungal growth. Its availability is variable, and interpretation depends on the laboratory method used.
Imaging tests are not routine for uncomplicated onychomycosis because the diagnosis is usually made clinically and with laboratory confirmation. However, imaging may be considered when there is concern for deeper involvement, an alternative diagnosis, or complications such as bone infection. For example, an X-ray may be ordered if the nail problem is severe, if there is significant pain, or if there is suspicion of underlying trauma or osteomyelitis. Imaging does not diagnose onychomycosis directly, but it can help evaluate surrounding structures.
Functional tests are not standard diagnostic tools for onychomycosis itself. In some cases, however, clinicians may assess vascular supply, sensation, or metabolic factors because these conditions influence healing and treatment planning. For example, people with diabetes or poor circulation may have nail changes that complicate the clinical picture and may require broader assessment. These evaluations are supportive rather than confirmatory.
Specimen collection technique is crucial for accurate testing. Samples are usually taken from the most active area of disease, often the nail bed debris or the advancing edge of the abnormal nail, rather than from the outermost surface alone. If the specimen is taken from a poorly chosen site, the test may miss the fungus. Clinicians may clean the nail first and then collect clippings, subungual debris, or material from beneath the nail plate.
Interpreting Diagnostic Results
Doctors interpret test results in the context of the clinical picture. A positive KOH preparation, PAS stain, culture, or PCR result supports the diagnosis of onychomycosis, especially when the nail appearance is compatible with fungal invasion. In practice, a combination of findings is often more convincing than a single test. For example, a thickened discolored nail with positive microscopy and fungal culture strongly suggests true infection.
A negative result does not always exclude the diagnosis. Sample quality, prior antifungal use, limited fungal burden, or deep infection within the nail plate can reduce test sensitivity. If the clinical suspicion remains high, the clinician may repeat sampling or use a different test. This is particularly important when only one test was performed and the specimen may have been inadequate.
Interpretation also involves determining whether the detected fungus is the cause of the nail disease or merely a contaminant. Dermatophytes isolated from nail specimens are more likely to represent true infection, while non-dermatophyte molds may require correlation with repeated positive cultures or histologic evidence of invasion. This distinction matters because fungi can be present on the nail surface without causing disease. Confirmation of invasion, rather than simple presence, is the key diagnostic principle.
When pathology or molecular testing is available, results may help classify the infection more specifically. Dermatophyte infection often follows a pattern of distal spread and subungual invasion. Yeasts may be more common in fingernails or in patients with chronic moisture exposure. Identifying the likely organism can shape treatment duration and drug selection, particularly if oral therapy is being considered.
Conditions That May Need to Be Distinguished
Several disorders can resemble onychomycosis. Psoriasis is one of the most common mimics and can cause nail thickening, discoloration, and separation from the nail bed. Clues to psoriasis include pitting, oil-drop changes, a personal or family history of psoriasis, and skin plaques elsewhere on the body. Nail lichen planus may produce longitudinal ridging, thinning, and scarring, sometimes with loss of nail plate integrity. These disorders are important to identify because they are not treated as fungal infections.
Traumatic nail dystrophy can look similar, particularly when a single nail is involved. Repeated pressure, tight footwear, or a prior injury can cause thickening, splitting, or subungual debris. In these cases, the history often reveals a mechanical cause and laboratory tests for fungus are negative. Chronic paronychia, bacterial infection, and eczema around the nail may also create secondary nail changes.
Other less common considerations include onychogryphosis, which produces marked thickening and curvature, and tumors of the nail unit, which may cause persistent distortion or pigment change. In some cases, splinter hemorrhages, melanonychia, or inflammatory changes point away from fungal disease. Distinguishing these conditions requires both clinical judgment and laboratory evidence.
Factors That Influence Diagnosis
Several factors affect how onychomycosis is diagnosed. Severity is important because mild disease may involve only subtle discoloration, making the diagnosis harder to suspect, whereas advanced infection is easier to recognize clinically. Longstanding disease can also produce secondary nail damage that complicates interpretation of tests.
Age influences both risk and appearance. Older adults are more likely to have onychomycosis because nails grow more slowly, circulation may be reduced, and exposure to chronic mechanical stress is greater. At the same time, older patients may have multiple causes of nail dystrophy, so laboratory confirmation becomes especially valuable. In children, fungal nail infection is less common, and clinicians may look carefully for other explanations before diagnosing it.
Underlying medical conditions also affect diagnostic reasoning. Diabetes, peripheral vascular disease, immunosuppression, and chronic skin disease can all alter nail appearance or increase the likelihood of fungal infection. Prior antifungal treatment may suppress fungal growth and reduce the yield of culture or microscopy. The number of affected nails, the pattern of involvement, and whether the hands, feet, or skin are simultaneously involved all influence the clinician’s assessment. In uncertain cases, repeat testing is often more informative than relying on appearance alone.
Conclusion
Onychomycosis is diagnosed by combining clinical observation with targeted testing. The process usually begins with recognition of characteristic nail changes, such as thickening, discoloration, debris under the nail, and separation of the nail plate. A medical history and physical examination help determine whether the pattern is consistent with fungal invasion and whether other conditions could explain the findings. Laboratory tests such as KOH microscopy, fungal culture, PAS staining, and sometimes PCR are used to confirm the presence of fungus and, when possible, identify the organism. Imaging and functional assessments are reserved for selected situations rather than routine diagnosis.
Because many nail disorders resemble fungal infection, confirmation matters. The most accurate diagnosis comes from matching the clinical picture with evidence that fungi are truly invading the nail unit. This approach helps distinguish onychomycosis from psoriasis, trauma, inflammatory nail disease, and other mimics, allowing treatment to be selected on a firmer basis.
