If you wake up in the middle of the night with a rapid heartbeat accompanied by panic, there may be a dysregulation of nerve function. When the body rests at night, the vagus nerve should dominate, and the vagus nerve can slow down the heart rate and lower the blood pressure, so that all organs can get effective and sufficient rest, and the body can carry out normal work. During the daytime, the sympathetic nerve dominates the body and can increase the heart rate and blood pressure slightly, which is enough for the body to cope with daytime work. If the sympathetic nerve and vagus nerve dysregulation occurs, it will cause the human body to have higher blood pressure and faster heart rate at night, and then wake up in the middle of the night with a faster heartbeat, accompanied by the symptoms of panic. If you drink tea, coffee or smoke for a long period of time, it will lead to dysregulation of the sympathetic nerve and cause the above symptoms.