Tinea unguium is a type of fungal infection. The fungus infects the fingernails and, more commonly, the toenails. It's more common in men, older adults, and people who have diabetes or peripheral vascular disease.