Cluster headaches and ocular migraines can cause eye pain. A cluster headache causes intense pain in or around the eye socket. It lasts 15 minutes to an hour and recurs daily for several weeks.  Ocular migraines can cause temporary vision loss. It's not unusual to have more than one type of migraine. See your healthcare provider if you experience a loss of vision, even if you are used to having migraines.