It is not advisable to sleep with wet hair, since during the course of the night hours, if the hair is wet and rubs against the pillow and sheets, it does not air out and can be damaged. It is true that it is unlikely to rot, but the humidity of the hair itself can generate pathogens and infections both locally and systemically (e.g., colds, headache due to cold, etc.).