When you’re sleeping, your immune system produces protective cytokines and infection-fighting antibodies and cells. It uses these tools to fight off foreign substances like bacteria and viruses. These cytokines and other protective substances also help you sleep, giving the immune system more energy to defend against illness.
Sleep deprivation means your immune system doesn’t have a chance to build up its forces. According to the Mayo Clinic, studies show that if you don’t get enough sleep, it’s more likely that your body won’t be able to fend off invaders. It may also take you longer to recover from illness. Long-term sleep deprivation raises your risk of developing chronic illnesses like diabetes and cardiovascular diseases.