Potential complications of onychomycosis include pain in the nails, permanent damage to the nails, development of other serious infections that can spread beyond the feet for individuals with a suppressed immune system due to medication, diabetes or other conditions, such as leukemia and AIDS.