Sleep runs in cycles of roughly ninety minutes, and in the second half of the night the cycles contain more light sleep. Brief awakenings between cycles are normal and usually forgotten. The problem is staying awake once the mind starts working.
The racing mind
Stress and worry raise alertness, and the quiet of the night gives thoughts nowhere else to go. Checking the clock adds pressure. Turning the clock away and keeping the phone out of reach removes two common triggers.
Evening habits that matter
Alcohol helps people fall asleep but disturbs the second half of the night. Late caffeine, a heavy late meal and a bedroom that is too warm all make early waking more likely.
If you cannot get back to sleep
Lying in bed frustrated tends to make things worse. After about twenty minutes, getting up to do something calm in dim light, such as reading, and returning to bed when sleepy is usually more effective.
When it is worth discussing
Regular early waking with low mood or loss of interest, loud snoring with pauses in breathing, or poor sleep that affects daytime life for several weeks is worth raising with a doctor.