Closing your eyes usually brings darkness, not light. So when flashes appear against the back of your eyelids, it can feel strange and a little unsettling. The short answer: those flashes are almost always your own retina or brain generating a signal, not light coming in from outside. With your eyes shut, there is no external light to see — so anything you perceive is being produced inside your visual system.
Most of the time this is harmless. The retina can fire off small spontaneous signals, especially in dim light or when you rub your eyes. But in some cases, flashing lights are a warning sign of a retinal problem that needs urgent medical attention. Knowing the difference matters.
Why Do I See Flashing Lights When I Close My Eyes?
The retina is a layer of light-sensitive tissue at the back of your eye. It converts light into electrical signals that travel to the brain. When something stimulates the retina mechanically — not with light — the brain still interprets it as light. That is why you can “see” flashes with your eyes closed.
The most common cause is photopsia, the medical term for perceived flashes of light. These can come from several sources:
- Spontaneous firing of retinal cells, which happens to everyone occasionally
- Physical pulling on the retina, often from the vitreous gel inside the eye
- Pressure on the eye, such as from rubbing
- Migraine activity in the brain’s visual cortex
- Rarely, irritation of the optic nerve or visual pathways
When your eyes are open, external light dominates what you see. When they are closed, your visual system is more sensitive to these internal signals. That is why flashes are often more noticeable in the dark or with eyes shut.
What Causes Flashes of Light in the Eye?
The vitreous is a clear gel that fills the inside of your eye. With age, it slowly shrinks and pulls away from the retina. This is called posterior vitreous detachment, and it is very common after middle age. As the gel tugs on the retina, it can trigger flashes.
Posterior vitreous detachment itself is usually not dangerous. The problem is when the pulling tears the retina. A retinal tear can lead to a retinal detachment, which is a medical emergency. Research consistently shows that prompt treatment of a retinal tear greatly reduces the risk of permanent vision loss.
Other causes of flashes include:
- Migraine with aura — visual disturbances that can include flashes, zigzag lines, or shimmering patterns, sometimes without a headache
- Eye injury or surgery — recent trauma or procedures can irritate the retina
- Inflammation — conditions affecting the eye’s internal tissues
- Certain medications — some drugs can affect the retina or visual pathways
- Blood flow problems — reduced circulation to the eye or brain
Some of these are harmless. Others require immediate care. The pattern, timing, and accompanying symptoms help tell them apart.
Are Flashing Lights a Sign of Retinal Detachment?
They can be. Flashes are one of the classic warning signs of a retinal tear or detachment. So is a sudden increase in floaters — those small specks or cobweb shapes that drift across your vision.
When the retina is torn, fluid can seep underneath and lift it away from its normal position. This is retinal detachment. Without treatment, it can cause permanent vision loss in that eye. The warning signs usually appear before the detachment is complete, which is why acting fast matters.
Seek urgent care if you notice:
- A sudden shower of new floaters
- Flashes that start suddenly and keep happening
- A curtain or shadow moving across part of your vision
- Loss of side vision
These symptoms do not always mean detachment. But they need to be checked by an eye doctor right away. Do not wait to see if they go away.
When Are Flashes Harmless?
Many flashes are nothing to worry about. Rubbing your eyes can press on the retina and create brief flashes. Standing up quickly can cause a temporary drop in blood pressure that affects vision. Some people see faint flashes when they are very tired or in a dark room.
Migraine-related flashes are another common harmless cause. They often appear as shimmering or zigzag patterns that expand over several minutes. They can occur with or without a headache. The evidence indicates these are generated by altered electrical activity in the brain’s visual cortex, not by the eye itself.
The key difference is pattern and context. Harmless flashes tend to be brief, occasional, and not accompanied by new floaters or vision loss. Concerning flashes are sudden, persistent, or come with other symptoms.
How Are Flashing Lights Diagnosed?
An eye doctor will ask about your symptoms and examine your eyes. The most important test is a dilated fundus exam. Eye drops widen your pupil so the doctor can look directly at the retina and check for tears or detachment.
Other tests may include:
- Optical coherence tomography (OCT) — a scan that creates detailed images of the retina
- B-scan ultrasound — used when the view of the retina is blocked, such as by blood or a dense cataract
- Visual field testing — checks for gaps in your side vision
If a tear is found, it can often be sealed with laser treatment or freezing (cryotherapy) in the office. If the retina has already detached, surgery is usually needed. The sooner it is treated, the better the outcome tends to be.
What Should You Do If You See Flashing Lights?
If the flashes are new, sudden, or getting worse, call an eye doctor right away. If you also have a sudden increase in floaters or a shadow across your vision, treat it as an emergency and go to an emergency room or urgent eye clinic.
If the flashes are occasional and you have no other symptoms, it is still worth mentioning at your next eye exam. Your doctor can check for any underlying issues.
Do not try to diagnose yourself. A retinal tear can only be confirmed with a proper eye exam. Waiting can turn a treatable problem into permanent vision loss.
Can Stress or Anxiety Cause Flashing Lights?
Stress and anxiety do not directly cause retinal flashes. But they can trigger or worsen migraines, which can include visual disturbances. Anxiety can also make you more aware of normal bodily sensations, including occasional harmless flashes.
If you notice flashes mainly when you are stressed or tired, and they are brief and not accompanied by other symptoms, they are less likely to be a retinal problem. But any new or changing visual symptom deserves a professional evaluation.
What About Flashes With Eyes Open?
Flashes can happen with your eyes open too. The causes are the same. If anything, you may notice them more with your eyes closed because there is less external visual input to mask them.
Some people see flashes only in certain positions, like when looking to the side or moving their eyes. This can happen when the vitreous is tugging on the retina in a specific spot. It is a reason to get checked, especially if it is new.
Frequently Asked Questions
Are flashing lights when I close my eyes serious?
They can be. Most flashes are harmless, but sudden or persistent flashes — especially with new floaters or vision changes — can signal a retinal tear or detachment, which is a medical emergency.
What does it mean if I see flashing lights only when my eyes are closed?
It usually means your retina or visual system is generating a signal without external light. This can be normal, but if it is new or frequent, it should be checked by an eye doctor.
Can dehydration cause flashing lights?
Dehydration can contribute to visual disturbances in some people, often through effects on blood pressure or migraine triggers. It is not a direct cause of retinal flashes, but it can play a role in certain visual symptoms.
When should I worry about flashing lights in my vision?
Worry — and act — if the flashes start suddenly, keep happening, or come with a shower of new floaters, a shadow across your vision, or loss of side vision. These are signs of a possible retinal problem that needs urgent care.

