zpostcode
Why is there sometimes a green flash at sunset and sunrise?
Jun 17, 2026 3:07 PM

As the sun dips below the horizon and the light starts to dim, lucky observers may spot a rare, brief flash of emerald. This is the "green flash," which can sometimes be seen right after sunset or before sunrise.

So what causes the green flash?

Like many colorful spectacles in the sky, such as rainbows, the green flash is the result of sunlight being separated into different colors. Normally, sunlight is white because it is made up of all of the wavelengths of visible light, Johannes Courtial, an optics researcher at the University of Glasgow, told Live Science. But when white light passes through a medium that is higher-density, like glass or water, at an angle, wavelengths of different colors start to bend and separate. This separation is called refraction.

Earth's atmosphere, with its varying density of gases, can refract light, too. It's why we sometimes see rainbow halos around the sun, or mirages in the distance, said Jan Null, a meteorologist based in California. Refraction is especially apparent when the sun gets closer to the horizon, because sunlight is entering the thickest part of the atmosphere at a particularly sharp angle. This is when the green flash may be visible, Null said.

A diagram showing how different wavelengths of light are bent by the atmosphere at slightly different angles as the sun sets, briefly leaving only the green wavelength visible to an observer on Earth

Most green flashes fall into two categories. One type occurs just before the sun disappears. This is the one referenced in Jules Verne's novel "The Green Ray," Null said. But the type Null sees more often is when the sun is still above the water. "You get this light off the top of the disk," he said.

Related: When will the sun explode?

How to see the green flashFor the best chances of seeing this verdant flash, the right conditions need to align. First, you have to be able to see the sun while it's close to the horizon, like on the coast or high up in the mountains, Courtial said. In coastal areas like San Francisco, you're also most likely to spot the green flash on warmer days, when there's a layer of warm air on top of colder water, Null said. These layers of air help to refract sunlight.

Whether green is visible also "depends on what stuff there is in the atmosphere," Courtial said. Particles can scatter blue and purple light, making green light more apparent. Courtial demonstrated this in a simple experiment: by adding milk powder to a tank full of water and then shining a white bike light into it. When he added just the right concentration of those particles, "you see a vibrant green," he said.

Of course, you also need to be able to have a direct line of sight of the sun on a clear day to see the green flash, which is easier said than done. (Never look directly at the sun without special eye protection, as it can damage your eyes.) So Null recommended using a camera with a zoom lens to capture the green flash (again, make sure to exercise caution and protect your eyes). Zooming in on the sun also makes tiny flashes more visible, Null noted.

RELATED MYSTERIESWhat's the maximum number of planets that could orbit the sun?

Is Earth getting closer to the sun, or farther away?

Are there any moons that are made of gas?

Green flashes usually happen in less than a second. But if you're lucky, a green flash could shine for a minute or two. Null has observed this only rarely, even after over 45 years of documenting this phenomenon. Green flashes can be sustained if the conditions in the atmosphere stay stable enough, he said.

"It's really weird when you see green in the sky," Courtial said, which is likely why the green flash is so intriguing. So, the next time you're watching a sunset, indulge in that fascination. Now, you know more on how it happens.

Comments
Welcome to zpostcode comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Recommend >
Rayssa Leal
  Rayssa Leal (born January 4, 2008, Imperatriz, Maranhão, Brazil) is a professional skateboarder who won the silver medal in street skateboarding at the 2020 Tokyo Olympics (delayed until 2021 because of the COVID-19 pandemic), becoming at age 13 one of the youngest medalists in the history of the Games and the youngest Olympic medalist from Brazil.   What’s a heel flip?In...
Rob Zombie
  Rob Zombie (born January 12, 1965, Haverhill, Massachusetts, U.S.) is an American heavy metal musician and filmmaker whose work is known for its motifs of horror and science fiction. Zombie earned fame initially through his role as frontman of the heavy metal band White Zombie in the 1980s and ’90s, and he later gained prominence through his solo career and...
Lisa Kudrow
  Lisa Kudrow (born July 30, 1963, Los Angeles, California, U.S.) is an actress who excels at applying her keen comedic timing and delivery to offbeat, eccentric characters. She rose to fame portraying the free-spirited massage therapist and coffee-shop folk musician Phoebe Buffay on the popular sitcom Friends (1994–2004). She is also known for portraying the former sitcom actress Valerie Cherish...
Matt Gaetz
  Matt Gaetz (born May 7, 1982, Hollywood, Florida, U.S.) is a lawyer and a congressman representing Florida’s 1st congressional district (2017– ). He is one of the most outspoken ultraconservative members of his party, has been a staunch defender of former U.S. president Donald Trump, and played a pivotal role in the ouster of Kevin McCarthy from his role as...
Information Recommendation
Neil Sedaka
  Neil Sedaka (born March 13, 1939, Brooklyn, New York, U.S.) is an American singer, songwriter, composer, and pianist, one of the most prolific songwriters of his era, having written or cowritten more than 500 songs, including the hits “Calendar Girl” (1959), “Breaking Up Is Hard to Do” (1960), and “Happy Birthday, Sweet Sixteen” (1961). Although Sedaka himself performed many of...
Matthew Macfadyen
  Matthew Macfadyen (born October 17, 1974, Great Yarmouth, Norfolk, England) is a British stage and screen actor who has had a long and steady career playing a diverse set of characters, including the brooding Mr. Darcy in Pride & Prejudice (2005) and the irritatingly ambitious Tom Wambsgans in the HBO series Succession (2018–23).   Early life and career Macfadyen is the...
Robert Swan
  Robert Swan (born July 28, 1956, Durham, England) is a British explorer and global environmental activist who became the first person to successfully walk to both the South Pole and the North Pole.   While studying history at the University of Durham in the mid-1970s, Swan became intrigued by British naval officer and explorer Robert Falcon Scott’s tragic expedition to the...
Rafi Bistritzer
  Rafi Bistritzer (born 1974, Israel) is an Israeli physicist known for his work on graphene.   Bistritzer was born into a family of physicians and seemed likely to follow them into the medical profession, but his first high-school physics teacher awoke in him an interest in physics. He received a bachelor’s degree in physics and computer science from Tel-Aviv University in...
Natalie Diaz
  Natalie Diaz (born September 4, 1978, Fort Mojave Indian Village, Needles, California, U.S.) is an American poet who won the 2021 Pulitzer Prize for poetry for her book Postcolonial Love Poem (2020). She is also a Native language activist working to revitalize the Mojave language.   Diaz grew up in the Fort Mojave Indian Village, on the Fort Mojave Indian Reservation,...
Percival Everett
  Percival Everett (born December 22, 1956, Fort Gordon (now Fort Eisenhower), Georgia, U.S.) is an American writer whose works reflect a wide range of subjects and styles and often deal head-on with philosophy and preconceptions concerning race. He has authored more than 30 books of fiction and poetry, including the novels I Am Not Sidney Poitier (2009), So Much Blue...
Pablo Jarillo-Herrero
  Pablo Jarillo-Herrero (born 1976, Valencia, Spain) is a Spanish physicist known for his work in the field of twistronics, the study of how the properties of layers of two-dimensional materials change when one layer is rotated with respect to the other.   Jarillo-Herrero received a bachelor’s degree in physics from the University of Valencia in Spain in 1999. He earned a...
Nolan Arenado
  Nolan Arenado (born April 16, 1991, Newport Beach, California, U.S.) is a professional baseball player considered to be one of the best all-around third basemen in Major League Baseball (MLB). An elite infielder, Arenado won the Gold Glove Award in each of his first 10 seasons. He made his MLB debut with the Colorado Rockies in 2013 and quickly became...