Toenail fungus, also called onychomycosis, is a common condition that causes the nails to become thick, discolored, brittle, or crumbly. It develops when fungi enter the nail through small cracks or openings, often thriving in warm, moist environments like shoes or locker rooms. Without treatment, the infection can spread and cause discomfort, changes in nail shape, or difficulty wearing shoes.