Consistently sleeping poorly has been linked to worse heart health and increased risk of obesity, type 2 diabetes, depression, anxiety, and poor immune function. Lack of sleep also leads to a buildup of certain proteins that is linked to greater risk of developing Alzheimer’s disease and dementia.