Locker rooms, pool decks, shower areas, and other warm, humid environments are common sources of fungal spores that cause nail infections. Walking barefoot in these areas increases exposure to dermatophytes. The fungus thrives in moist conditions and can survive on surfaces.