It takes 6 months or longer for an infected nail to grow out and be replaced by healthy new nail growth. Oral medication may speed up recovery.