“Wearing socks overnight alone doesn't necessarily cause athlete's foot,” explains Garshick, “but in general, prolonged moisture can increase the risk of developing athlete's foot. This is because fungi—like the ones that cause athlete’s food—love moist environments."