Rainbow-colored halos around lights are caused by the way your eye splits white light into its component wavelengths, much like a prism. Several structures in the eye can produce this effect: the tear film coating the cornea, the cornea itself, the crystalline lens, and even the vitreous humor. In many cases the phenomenon is harmless and temporary, but it can also signal conditions like cataracts, corneal swelling, or acute glaucoma that warrant prompt attention. Understanding the most common triggers helps you decide whether what you are seeing is routine or something to bring to an eye doctor.
How Your Eye Creates Rainbows
White light from a streetlamp or oncoming headlight contains the full visible spectrum. When that light passes through any transparent medium whose refractive index changes with wavelength, the different colors bend by slightly different amounts. Your eye has several such media stacked in sequence: the tear film, the cornea, the aqueous humor, the lens, and the vitreous. Under normal conditions these structures focus light cleanly onto the retina, but subtle imperfections or changes in any one of them can spread the spectrum out just enough that you perceive a ring of color around the light source.
Blue wavelengths bend more than red ones, so the rainbow ring tends to appear with blue or violet on the outside and warmer colors closer to the center. Research confirms that blue light produces the largest perceived halo size, while green and white light produce the smallest, with red somewhere in between. This pattern holds across age groups, though older eyes show a larger overall effect because the lens becomes less able to compensate for the wavelength-dependent bending as it ages and stiffens.1PubMed Central. Quantifying the Role of Longitudinal Chromatic Aberration and Age in Night Vision Disturbances
The Tear Film and Everyday Halos
The most common and most benign reason for seeing rainbows around lights is a disrupted tear film. Tears spread across the cornea in a thin, smooth layer that acts as the eye’s outermost optical surface. When that layer dries out, becomes uneven, or accumulates mucus or debris, the irregular surface diffracts incoming light and creates a brief halo effect. This is why rainbow rings often appear when you are tired, have been staring at a screen for hours, or are in a dry or air-conditioned room.
Blinking a few times usually restores the film and the halo disappears within seconds. If it does not, artificial tears can help smooth things out. Contact lens wearers are especially prone to this because the lens sits on top of the tear film and can disrupt its uniformity, particularly toward the end of the day.
Cataracts and the Aging Lens
As the crystalline lens ages, proteins within it clump together and create tiny opacities. These scatter light rather than transmitting it cleanly, and the scattering separates wavelengths enough to produce rainbow halos, particularly around bright point sources at night. Early cataracts are one of the most frequently overlooked explanations for “new” halos in people over fifty. The effect tends to worsen gradually over months or years and is often accompanied by increased glare sensitivity and a general haziness to vision.
Cataracts also change the lens’s refractive index in an uneven way, which compounds the chromatic splitting described earlier. Because the older lens is already less efficient at compensating for wavelength-dependent bending, even a mild cataract can push the halo effect past the threshold of what you consciously notice.1PubMed Central. Quantifying the Role of Longitudinal Chromatic Aberration and Age in Night Vision Disturbances
Acute Glaucoma and Corneal Edema
Rainbow halos can also be a warning sign of dangerously high pressure inside the eye. In an acute angle-closure glaucoma attack, fluid drainage is suddenly blocked, pressure spikes, and the cornea swells with water. That waterlogged cornea acts as a diffraction grating, producing vivid colored rings around every light source. This version of the symptom is usually accompanied by severe eye pain, headache, nausea, and blurred vision. It is a medical emergency that requires treatment within hours to prevent permanent vision loss.
Corneal edema from other causes produces the same optical result without the dramatic pain. Fuchs endothelial dystrophy, for instance, gradually weakens the inner layer of the cornea so it absorbs more fluid, and people with early Fuchs often notice colored halos around lights first thing in the morning, before evaporation thins the cornea back down during the day. The halos tend to improve as the morning goes on and then return the next day.
Keratoconus and Irregular Corneas
Keratoconus is a progressive condition in which the cornea thins and bulges outward into a cone shape. The distorted surface bends light unevenly, and the resulting optical chaos can include halos, ghosting, streaks, and rainbow effects around lights. A recently described clinical sign involves an actual ring-shaped halo visible on the iris under slit-lamp examination. In one study, this “Halo Sign” was present exclusively in eyes with the most advanced stage of keratoconus. Researchers proposed that in earlier stages the cone-shaped cornea acts like an irregular lens, focusing light into a ring pattern through caustic optics, while in the most advanced cases the halo fragments and scatters because of scarring and structural breakdown in the deeper corneal layers.2PubMed Central. A novel optical sign in keratoconus: the Halo Sign and its clinical characteristics
If you are in your teens or twenties and notice worsening halos alongside progressively blurry vision that glasses do not fully correct, keratoconus is worth asking about. It is one of the more common corneal conditions in younger people, and early detection matters because treatments like corneal cross-linking can slow or halt the progression if caught before significant scarring develops.
Halos After LASIK
LASIK reshapes the cornea with a laser to correct nearsightedness, farsightedness, or astigmatism. The reshaped zone has a fixed diameter, and when your pupil dilates in dim light beyond the edge of that zone, light entering through the untreated peripheral cornea bends differently from light passing through the center. The result is halos and starburst patterns around lights at night.
Even in procedures considered fully successful by standard clinical measures, the halo effect roughly doubles compared to pre-surgery levels. A study measuring the “halo disturbance index” found it increased by a factor of about 2.15 after LASIK. The dominant optical culprits were spherical aberration and coma, two specific types of higher-order optical irregularities introduced by the reshaped corneal surface.3PubMed Central. Night vision disturbances after successful LASIK surgery
For most patients these halos are most noticeable in the first few months and gradually become less bothersome, partly because the cornea stabilizes and partly because the brain learns to filter the extra light scatter. Newer LASIK platforms use larger optical zones and wavefront-guided profiles that reduce the problem, but it has not been eliminated entirely. If you are considering LASIK and have large pupils, this is worth discussing with your surgeon, because larger pupils dilate further past the treatment zone.
Lens Implants and Rainbow Halos
Cataract surgery replaces the cloudy natural lens with an artificial intraocular lens (IOL). Multifocal IOLs, designed to reduce dependence on reading glasses, use concentric rings etched into the lens to split light into separate focal points for distance and near vision. Those rings also act as a diffraction grating, and the side effect is colored halos around lights, particularly at night.
Not all multifocal designs produce the same amount of rainbow halos. Diffractive bifocal lenses with sharp ring patterns tend to produce more noticeable colored rings than extended-range-of-vision lenses, which spread focus more gradually. One comparison found a statistically higher incidence of rainbow halos with a diffractive bifocal IOL than with an extended-range-of-vision model.4PubMed Central. Rainbow halos occur less following implantation of extended range of vision one-piece intraocular lenses vs diffractive bifocal intraocular lenses
Monofocal IOLs, which focus at a single distance, produce far fewer halos. At one week after surgery, patients with multifocal lenses rated their overall visual disturbances (glare and halos combined) about twice as severe as those with monofocal lenses. By six months, however, the two groups were essentially indistinguishable, with both reporting minimal bother.5PubMed Central. Comparison of Visual Neuroadaptations After Multifocal and Monofocal Intraocular Lens Implantation
Why Halos Fade Over Time
That six-month convergence between multifocal and monofocal IOL patients is not because the optics of the lens change. The rings are still etched into the implant, and the physics of light splitting remains identical. What changes is the brain. Functional brain imaging shows that in the early weeks after multifocal lens implantation, the brain recruits extra visual attention networks and procedural learning circuits to process the unfamiliar input. Over months, brain activity gradually normalizes toward a pattern similar to what is seen in people with standard monofocal lenses, suggesting a genuine long-term adaptation rather than the patient simply getting used to ignoring the halos.6PubMed. Functional magnetic resonance imaging to assess neuroadaptation to multifocal intraocular lenses
This neuroadaptation process explains why ophthalmologists generally counsel patience after multifocal IOL surgery. The worst period for halos is the first few weeks, and by three to six months most patients report that the halos have faded substantially or no longer bother them. A small percentage of people never fully adapt, which is one reason some surgeons offer lens exchange to a monofocal design as a last resort for patients who remain severely symptomatic after a year.
Migraines and Visual Aura
Not all rainbow-like visual disturbances originate in the eye itself. Migraine with aura produces transient visual phenomena that can include shimmering arcs, zigzag lines, and rings of light with prismatic color. Roughly 15 to 33 percent of people who experience migraines have visual aura as part of their attacks.7International Journal of Emergency Medicine. Neuro-ophthalmology and migraine: visual aura and its neural basis
The key distinction is timing and context. Halos caused by the eye’s optics appear around actual light sources and persist as long as you are looking at the light. Migraine aura appears regardless of what you are looking at, often starts in one area of your visual field and expands outward over five to thirty minutes, and typically resolves on its own. It may or may not be followed by a headache. If you see rainbow effects that move across your vision, shimmer or flicker, and are not anchored to a specific light source, migraine aura is a more likely explanation than anything optical.
When to See a Doctor
The rainbow rings you see briefly after rubbing your eyes, waking up, or stepping outside on a foggy night are almost always harmless. But certain patterns warrant a visit to an eye care provider:
- Sudden onset with pain: Severe eye pain, a red eye, nausea, and halos appearing together suggest acute angle-closure glaucoma. This is an emergency.
- Progressive worsening: Halos that are gradually getting larger or more vivid over weeks to months may indicate a growing cataract, corneal swelling, or keratoconus.
- Morning halos that improve during the day: This pattern is characteristic of corneal edema, particularly Fuchs dystrophy.
- New halos after surgery: Some level of halo is expected after LASIK or IOL implantation, but halos that worsen rather than improve over time, or appear months after surgery, could indicate a complication.
- Halos with visual field loss: If you notice both halos and missing patches of vision, that combination can indicate glaucoma or another optic nerve condition.
A comprehensive eye exam including measurement of intraocular pressure, corneal evaluation, and a dilated look at the lens can usually pinpoint or rule out the serious causes within a single visit.
Halos, Glare, and Night Driving
Rainbow halos are more than a visual curiosity for people who drive at night. Oncoming headlights and streetlamps trigger the effect at exactly the moment you need clear, high-contrast vision to spot pedestrians or road hazards. Research into how intraocular light scatter affects driving performance found that contrast sensitivity measured under glare conditions was a strong predictor of how far ahead a driver could recognize a hazard. The correlation was robust whether contrast sensitivity was tested with a clinical device or measured within a driving simulator.8Frontiers in Human Neuroscience. Does intraocular straylight predict night driving visual performance?
Interestingly, the study found that a commonly used measure of intraocular straylight was a poor predictor of actual driving hazard recognition. In other words, the amount of scattered light inside your eye does not map neatly onto your ability to see what matters on the road. What matters more is how well you can distinguish a low-contrast obstacle against a bright glare source. If you notice significant halos while driving at night, having your contrast sensitivity tested gives a better sense of whether you are at meaningful risk than simply knowing your visual acuity or straylight score.
Practical steps that reduce glare and halo effects while driving include keeping your windshield clean on both sides, making sure your headlight lenses are not yellowed or fogged, and using anti-reflective coatings on your glasses if you wear them. Polarized lenses help during the day but do not reduce glare from oncoming headlights at night. If halos are bothersome enough to make you feel unsafe driving after dark, that alone is a good reason to get a thorough eye exam.
Why Blue and White LEDs Make It Worse
Many people notice that halos seem worse around modern LED streetlights and car headlights than they were around the older yellowish incandescent or halogen bulbs. This is not imagined. LED lights emit a higher proportion of short-wavelength blue light, and as the chromatic aberration research confirms, blue light produces the largest perceived halo size in the human eye.1PubMed Central. Quantifying the Role of Longitudinal Chromatic Aberration and Age in Night Vision Disturbances Older warm-toned lights peak in the yellow-red part of the spectrum, which the eye handles with less chromatic spread. The global shift to cooler-temperature LED lighting, while more energy-efficient, has effectively amplified the halo problem for anyone whose eyes are already prone to it.
Older adults are hit hardest by this combination. The aging lens absorbs less blue light than it once did (a somewhat counterintuitive effect of early cataract changes that alter the lens’s filtering properties), and the increased chromatic aberration in older eyes means the blue component spreads out more. The same study found that while younger eyes could compensate for the extra blue-light bending well enough that their perceived halo was similar to what they saw under white light, older eyes could not manage the same compensation. If you are over fifty and feel like nighttime driving has become noticeably more glare-filled in recent years, the lighting infrastructure itself is part of the explanation, not just your eyes.