Diagnosis is often based on clinical presentation. However, to confirm the diagnosis, a healthcare provider might perform a KOH test (potassium hydroxide preparation) by scraping the affected area and examining it under a microscope for fungal elements. A fungal culture or a skin biopsy may also be done for more definitive identification.