Diagnosis is usually clinical, based on visual inspection of the nails. A healthcare provider may perform additional tests to rule out other causes, such as fungal infections or psoriasis. In some cases, a biopsy of the nail bed or culture tests may be necessary to confirm the diagnosis.