Erections in the morning are often caused by a rush of blood to the penis as a result of a man's body preparing for sexual activity. This can happen regardless of whether or not the man is actually planning on having sex. Morning erections can also be caused by dreams or thoughts about sex.