Nail fungus, also known as onychomycosis, begins as a white or yellow patch under the tip of your fingernail or toenail. Nail fungus can cause your nail to darken, thicken, and disintegrate at the edge as the illness progresses. It might impact a number of nails at once.