Several layers of protection stand between you and the sun’s radiation, starting thousands of miles above Earth’s surface and ending inside your own cells. Some are planetary-scale shields you never think about. Others are built into your skin. And a few you apply yourself. Together, they form a defense system that blocks, absorbs, or repairs the damage from nearly every type of solar energy the sun produces.
Earth’s Magnetic Field
The first line of defense begins far from Earth’s surface. Deep inside the planet, churning molten iron generates a massive magnetic field called the magnetosphere. This field extends tens of thousands of miles into space and acts as a gatekeeper, repelling charged particles that the sun constantly fires outward as solar wind. Without it, that stream of energetic particles would strip away Earth’s atmosphere over time, the way it did on Mars.
When bursts of solar material do reach Earth, the magnetosphere traps most of them in two ring-shaped zones called the Van Allen Belts. These belts hold the particles at a safe distance, forcing them to bounce back and forth along magnetic field lines between the poles rather than reaching the surface. The result is that the most dangerous charged-particle radiation from the sun and from deep space never makes it to ground level.
The Ozone Layer and Atmosphere
Sunlight contains three types of ultraviolet radiation: UVA, UVB, and UVC. UVC is the most energetic and most dangerous, but the ozone layer in the upper atmosphere absorbs almost all of it before it reaches the ground. UVB, the primary cause of sunburn, is strongly reduced by ozone, though some still gets through. UVA, the longest-wavelength UV, passes through ozone essentially unaffected.
This is why ozone depletion matters so directly to human health. Even small reductions in the ozone layer allow significantly more UVB to reach the surface, raising the risk of skin damage and skin cancer. The atmosphere also scatters and absorbs some visible and infrared radiation, but it’s the ozone layer’s selective filtering of UV that makes the biggest difference for biological life.
Cloud cover adds another variable. Dense clouds can reduce UV levels by up to 50%, but they never eliminate UV entirely. Thin or partly cloudy skies block far less. Altitude matters too: UV intensity increases roughly 10 to 24% for every thousand meters of elevation gain, depending on humidity and air clarity. Snow, water, and sand reflect UV back upward, effectively hitting your skin twice. Time of day and season have the strongest influence on how much UV reaches any given spot on the ground.
Melanin in Your Skin
Your body’s own UV shield is melanin, the pigment produced by cells in the outer layer of your skin. Melanin works in two ways: it acts as a physical barrier that scatters UV radiation, and it functions as an absorbent filter that reduces how deeply UV penetrates. On top of that, melanin neutralizes unstable molecules called free radicals that UV generates inside cells, limiting the chain reaction of damage they can cause.
Not all melanin is equal. The darker brown-black type, called eumelanin, is a far better protector than the lighter red-yellow type, called pheomelanin. People with darker skin have more eumelanin, and the difference is dramatic. Dark skin allows only about 7.4% of UVB and 17.5% of UVA to penetrate, while lighter skin lets through 24% of UVB and 55% of UVA. Pheomelanin, which predominates in people with red hair and very fair skin, actually works against you in some ways. It breaks down easily under UV exposure and can generate damaging molecules of its own, potentially contributing to mutations in skin cells.
DNA Repair Inside Your Cells
Even with all the external shields, some UV radiation reaches your DNA and causes damage. When UV photons hit DNA, they can fuse neighboring building blocks together, creating distortions that interfere with normal cell function. Your cells have a built-in repair system to fix these errors, called nucleotide excision repair. Specialized proteins detect the damaged section, cut it out, and fill in the gap with the correct sequence.
How important is this system? People born with a genetic condition called xeroderma pigmentosum have mutations in the genes responsible for this repair process. They develop severe sunburns from minimal exposure and face extraordinarily high rates of skin cancer, sometimes in childhood. Their experience illustrates just how much cellular repair contributes to sun protection in healthy individuals. Your cells also have backup enzymes that can read past certain types of UV damage during DNA copying, reducing the chance of a permanent mutation even when the primary repair system hasn’t gotten to the lesion yet.
Sunscreen: Chemical and Mineral Filters
Sunscreen adds an external layer of UV protection using one of two approaches. Mineral sunscreens use tiny particles of zinc oxide or titanium dioxide that sit on the skin’s surface. Despite the common belief that these work purely by reflecting UV like a mirror, they actually absorb 85 to 95% of the UV radiation they block. The particles absorb UV photons, briefly exciting electrons to a higher energy state, then release that energy as a tiny amount of heat.
Chemical sunscreens use carbon-based compounds that absorb UV in a similar way. Their molecular structure captures UV energy, and a stable chemical filter will return to its original state afterward, ready to repeat the process. Some chemical filters are better at blocking UVA, others UVB, which is why many sunscreens combine several ingredients for broad-spectrum coverage.
SPF numbers measure UVB protection specifically, and the scale has diminishing returns. SPF 15 blocks 93% of UVB rays, SPF 30 blocks 97%, and SPF 50 blocks 98%. Going from SPF 30 to SPF 50 only adds one percentage point of protection. The real-world difference between SPF 30 and SPF 50 is far smaller than the difference between wearing sunscreen and not wearing it at all, or between applying enough and applying too little.
Clothing and Eyewear
Fabric is one of the most effective and underused forms of sun protection. Clothing is rated on the UPF (Ultraviolet Protection Factor) scale. A UPF rating of 15 blocks 93.3% of UV, UPF 30 blocks 96.7%, and UPF 50 or higher blocks 98%. To earn the Skin Cancer Foundation’s Seal of Recommendation, a fabric must achieve at least UPF 30. In the United States, garments labeled “UV Protective” must be tested after simulating two years of wear, including 40 wash cycles and exposure to sunlight and chlorinated water, so the rating reflects real-life performance rather than brand-new fabric.
Tightly woven, dark-colored fabrics generally block more UV than loose weaves or light colors. A basic cotton t-shirt might offer only UPF 5 to 7, meaning it lets a surprising amount of UV through. Purpose-built sun-protective clothing with high UPF ratings provides far more reliable coverage, and unlike sunscreen, it doesn’t need reapplication.
Your eyes need protection too. The cornea absorbs the shortest UV wavelengths, and the lens filters additional UV before it can reach the retina. But these structures can be damaged in the process, contributing to cataracts and other eye conditions over time. Sunglasses that block 99 to 100% of UVA and UVB pick up where the eye’s natural filtering leaves off, protecting both the surface tissues and the internal structures from cumulative UV damage.

