Fungal nail infections are common infections of the fingernails or toenails that can cause nails to become discolored, thick, and more likely to crack and break. Infections are more common in toenails than fingernails. The technical name for a fungal nail infection is “onychomycosis.”