Onychomycosis is a fungal infection of the nail unit. When onychomycosis is caused by dermatophytes, it is called tinea unguium. The term onychomycosis encompasses not only the dermatophytes but the yeasts and saprophytic molds infections as well.