Lack of sleep can contribute to weight gain. When you don’t get enough sleep, your body releases a stress hormone called cortisol. Cortisol traps in fat instead of burning it to be used as energy the following day. This is how you end up gaining weight by not sleeping enough.