There are lots of reasons why you might have blurred vision and headache. The more serious ones are: a brain tumor, head injury, stroke, low or high blood pressure. There are also various eye diseases that could cause your vision to become blurry. It’s also one of the most common symptoms of headaches and migraines.
And these visual disturbances can occur before, during and after the headache or pain phase of an attack.
Are your blurred vision and headache disturbances persistent and repetitive?
These disturbances are typically episodic and associated with the head pain phase of a migraine attack. However, you might find that the visual sensitivities wreak more havoc than the pain phase.
Visual symptoms can be dominant due to "frequency (migraine aura status), duration (persistent migraine aura and other persistent positive visual phenomena), or complexity (visual snow syndrome)." 
We will look at a couple of these syndromes that are rarer and more challenging, so you can take this information to your doctor and be aware of what to watch for.
Your body’s visual system is involved in your migraine attacks in different ways. You are probably aware of the visual auras that can come before an attack, but what you might not know yet is that they also consist of categories: positive, negative, and distorted visual symptoms.
Cortical spreading depression is currently believed to be the function that underlies it. "Even in migraine without aura, vision is not totally excluded given that one of the major criteria for the diagnosis of migraine is photophobia." 
For example, in persistent visual aura, many migraine patients refer to symptoms as visual snow and television static. 
In retinal migraine one-sided decreased vision or complete visual loss occurs. 
Ophthalmoplegic migraine symptoms are characterized by "palsy of one among the three ocular motor nerves." 
Approximately one-third of migraine sufferers also experience an aura with all or some of their attacks. The migraine aura is the second stage of the migraine process following the prodrome. According to the International Classification of Headache Disorders (ICHD), migraine aura is also a specific sub-type of migraine with its own diagnostic criteria. 
The aura is most commonly known for the distorted visual problems, but this phase can include other sensory disturbances such as nausea or touch sensitivity.
New research is looking at using the term "migraine with prolonged aura" as a useful bridge between "typical aura and persistent aura." But further studies would be necessary to assess whether changing the classification category would eventually help diagnose or treat patients more effectively. 
Here are the common symptoms of the aura phase:
These are the three distinct symptom categories of aura: positive*, negative** and distorted vision symptoms.*** 
This is a specific type of migraine with aura that has similar symptoms to a classic migraine’s typical aura, but it only affects one eye. Retinal migraine has positive aura symptoms such as: flashing lights, zigzag patterns, etc. as well as negative symptoms like: partial blindness and or blind spots. It is common for the resulting headache phase of an attack to be concentrated on the same side of the head as the visual disturbance(s).
Note: Other common names used are: eye migraine, "ophthalmic, optical or ocular migraine to describe these symptoms that affect one eye; however, retinal migraine is the only subtype of migraine that is officially recognized by the ICHD." 
Do you get dizzy before or during an attack? How about after?
Vertigo, nausea and dizziness can occur at any time even when you’re not having an attack if you are prone to vestibular migraine. The "ICHD considers vertigo an episodic syndrome associated with migraine attacks instead of a primary headache disorder." 
You might experience the room moving without it actually moving or feel like you are on the ocean. Spinning and losing your balance are typical symptoms of this syndrome.
The length of time for the whole episode can vary greatly. The "dizziness can persist anywhere from a few seconds in duration to days or even weeks, but it differs from aura in that it usually lasts more than an hour." 
I’ve written more about vestibular migraine here - Vestibular Migraine.
From blurred vision and headache to temporary blindness.
Do you ever lose vision in both eyes during a migraine attack or headache?
This can be associated to the aura phase of a migraine, or for some, it can occur with no previous history of aura. There are few studies to date on this syndrome.
One study of 383 female patients at the "Geisinger Headache Center in Pennsylvania showed that this type of temporary blindness occurred instantaneously during the headache phase of a migraine attack" in 1.6% (6) patients. So, instantly versus slow onset.
It also varied in frequency and duration. One patient experienced it with 50% of her attacks while others only dealt with it once. Duration also differed from patient to patient. Varying results revealed it could last for only a few seconds; between 2 – 10 minutes; from 60 – 120 minutes. 
Does light make you cringe even when you are not experiencing blurred vision and headache?
If you get migraines, which you must do or you wouldn’t be here, you may have developed sensitivity to light. This is called photophobia.
"Conservative estimates suggest that 80 to 90% of migraine patients are affected by light sensitivity, making it among the most common symptoms of the headache disorder. It is also one of the distinguishing criteria for diagnosing migraine." 
This can also be one of your triggers. Glare from computer screen, sunlight, any brightness or exposure to certain types of light (e.g. fluorescent) can trigger an attack.
Aura and light sensitivity can often get confused. But they are different. One can lead to the pain phase, or not, and one triggers the pain phase. Do you know which is which? It’s hard to tell.
Another way to distinguish the difference could be to say that light sensitivity can impact anyone causing blurred vision and headache, even if you get migraine without aura.
The visual aura you get from just light exposure may or may not manifest for you as pain or a painful sensitivity. It may just present as irritating. But it’s also a sign that the migraine phases have started. So when exposure to light actually initiates the migraine episode, it can lead to the next phase of a migraine which is a visual aura.
You can read more about that here - Stages of Migraine: Prodrome, Aura, Head pain, Recovery.
Now this is important… the experts stress not to avoid light.
Disappearing into a nice dark room during an attack is acceptable as a temporary option for relief, “but you risk dark adapting your eyes if you shield them from all forms of light - such as by wearing sunglasses indoors - as a preventative measure.”
TheraSpecs precision-tinted glasses are one of your options available to help alleviate painful photophobia without compounding this risk.
Here’s a more detailed explanation of migraine-related light sensitivity – Migraine Light Sensitivity: How To Reduce It.
This is a unique syndrome that often gets mistaken for migraine with aura, but it is its own unique syndrome. Migraine (with or without aura) is not the only trigger for episodes of Visual Snow, it can also come with headaches or be aggravated by migraine medications like triptans and other prophylactics. 
It can manifest in other ways too, so be aware of those after images, trailing floaters, diminished night vision, and tinnitus... blurred vision and headache!
Research has uncovered that migraine sufferers are three times more likely to have dry eyes as a symptom, even if they’re not diagnosed with dry eye syndrome (Blepharitis). 
Your blurred vision and headache would fall into this category as well.
Your dry eye symptoms might look like:
Blepharitis is a long-term (chronic) condition. It is, by definition, inflammation of the eyelid and is not a sight-threatening problem. But it can result in decreased vision, which can come and go. The symptoms of chronic blepharitis tend to come and go as well.
You may have periods of remission (a pause in symptoms) followed by periods of exacerbations (a flare-up). It usually affects both eyes equally.
This dry eye syndrome can't usually be cured, but the symptoms can be controlled with good eyelid hygiene. 
Here are the symptoms I notice most with mine:
Make sure to discuss your blurred vision and headache with your doctor or specialist if you think your migraine or headaches may also be causing dry eye symptoms. There are numerous over-the-counter or prescription drops to help treat it.
Blurred Vision and Headache References - Accessed Feb. 12, 2019
1. Bullock, G. (2017) 6 Visual Symptoms and Disturbances of Migraine. Available [online] at: https://www.theraspecs.com/blog/the-many-visual-symptoms-and-disturbances-of-migraine/
2. Rozen T. Migraine With Binocular Blindness. Headache. 2011;51(10):1529-1536. Cited in Bullock . Available [online] at: https://www.ncbi.nlm.nih.gov/pubmed/21812773
3. Marzoli SB1, Criscuoli A2. The role of visual system in migraine. Neurol Sci. 2017 May;38(Suppl 1):99-102. doi: 10.1007/s10072-017-2890-0.
4. Schankin CJ1, Maniyar FH, Sprenger T, Chou DE, Eller M, Goadsby PJ. The relation between migraine, typical migraine aura and "visual snow". Headache. 2014 Jun;54(6):957-66. doi: 10.1111/head.12378. Epub 2014 May 9.
5. Christoph J. Schankin MD, PhD Michele Viana MD Peter J. Goadsby MD, PhD. Persistent and Repetitive Visual Disturbances in Migraine: A Review. First published: 07 October 2016 https://doi.org/10.1111/head.12946
6. Stuart A., EyeNet Magazine (2012) Managing Blepharitis: Tried-and-True and New Approaches. Available [online] at: https://www.aao.org/eyenet/article/managing-blepharitis-tried-true-new-approaches