Nighttime sweating, or hyperhidrosis, is a common condition that can be caused by a variety of factors, including hormonal imbalances, menopause, anxiety, and certain medications. If you suffer from nighttime sweating, you know how difficult it can be to keep your pillowcase clean and free of sweat stains.