Getting a restful night’s sleep is essential for maintaining your physical and mental health. Learn more about what your heart rate should be while sleeping, factors that affect it, and how to track it for maximum rest.