Olson, M.D. Yes, lack of sleep can affect your immune system. Studies show that people who don't get quality sleep or enough sleep are more likely to get sick after being exposed to a virus, such as a common cold virus. Lack of sleep can also affect how fast you recover if you do get sick.