A fungal nail infection is a common infection of the toenails or fingernails. This condition affects toenails more often than fingernails. It often affects the great, or big, toes. More than one nail may be infected. The condition can be passed from person to person (is contagious).