Toenail fungus is a slow-growing infection underneath the nail. The most common signs of fungal infection are a thickening of the nail, yellow or brown discoloration, change in nail texture, and flaky debris under the nail.