What causes morning erections in men?

The sleep cycle. Erections occur as part of the sleep cycle. This is called nocturnal penile tumescence (npt) and occurs 3-5 times per night, with the last one noticed as a morning erection. The cause is not known, but there appears to be a neural and hormonal circuit which is disinhibited during sleep, specifically in the rem stage of sleep.