Why Does Gravity Bend Light If Photons Have No Mass?

Gravitational lensing visualization showing light bending around a galaxy cluster warping spacetime, illustrating how gravity affects massless photons in general relativity


Have you ever stopped and wondered — if light weighs nothing at all, why does it bend when it passes near a star, a black hole, or a galaxy cluster? It sounds like a contradiction, doesn’t it? Something with zero mass shouldn’t care about gravity. And yet, photons — those tiny packets of light — curve around massive objects all the time. Astronomers observe it. Physicists predict it. The math confirms it.

So what’s going on?

Welcome to FreeAstroScience.com, where we take complex scientific principles and explain them in terms anyone can grasp. We believe knowledge should never be locked behind jargon or paywalls. Here at FreeAstroScience, we want to educate you to never turn off your mind and to keep it active at all times — because, as Goya once warned us, the sleep of reason breeds monsters.

We’re Gerd Dani, and today we’re going to walk you through one of the most beautiful puzzles in modern physics. Grab a cup of coffee, settle in, and stay with us to the end. By the time you’re done reading, you won’t just understand the answer — you’ll see the universe a little differently.


What Exactly Is a Photon — And Why Is It Massless?

Let’s start at the beginning. A photon is the smallest unit of light. It’s a quantum of electromagnetic radiation — a little bundle of energy that moves through space at roughly 299,792,458 meters per second. That’s the speed of light. Nothing with mass can reach it.

And here’s the key point: a photon has zero rest mass. If you could somehow stop a photon (you can’t, but hypothetically), it wouldn’t weigh a thing. It has no rest mass at all .

But — and this is a big “but” — a photon does carry energy and momentum. Think of energy as the currency of the universe. Everything trades in it. A photon’s energy depends on its frequency: a blue photon carries more energy than a red one. And energy, as Einstein showed us, is deeply connected to gravity.

So how do we square these two facts? A particle with no mass, yet full of energy. A thing that weighs nothing, yet bends near heavy objects.

The answer lies not in the photon itself, but in the nature of gravity.


How Did Newton’s Gravity Fail to Explain Light Bending?

For more than 200 years, Isaac Newton’s theory of gravity ruled physics. His law was elegant: every object with mass attracts every other object with mass, and the strength of that pull depends on how much mass each object has and how far apart they are.

Simple. Powerful. And — when it comes to light — incomplete.

Under Newtonian gravity, if photons are truly massless, the gravitational force on them would be exactly zero. No mass, no attraction. Light would travel in perfectly straight lines forever, no matter what massive objects it passed .

There was a workaround, though. Some physicists tried assigning photons an “effective mass” using Einstein’s famous equation E = mc². If a photon has energy E, then you could treat it as if it had a mass equal to E/c². Plugging that into Newton’s formula gave a small deflection — but only half of what we actually observe.

Newton got us halfway. Getting the full answer required a completely different way of thinking about gravity.


What Did Einstein Get Right That Newton Missed?

In 1915, Albert Einstein published his general theory of relativity. It changed everything.

Einstein said gravity isn’t a force in the traditional sense. It’s not one object pulling on another across empty space. Instead, mass and energy warp the fabric of spacetime itself, and everything — whether it has mass or not — follows the curves that result.

Think about it this way. Imagine you’re rolling a marble across a flat trampoline. It goes in a straight line. Now place a bowling ball in the center. The fabric dips. Roll the marble again, and its path curves — not because the bowling ball reached out and grabbed it, but because the surface it’s traveling on is no longer flat.

That’s what happens with light near a massive object. The mass doesn’t pull on the photon directly. Instead, the mass warps the spacetime through which the photon travels . The photon is just following the road — and the road bends.

The Rubber Sheet Analogy

This “rubber sheet” picture isn’t perfect (spacetime is four-dimensional, not two), but it captures the essential idea. In Einstein’s framework, gravity is geometry. A star curves the spacetime around it. A galaxy cluster curves it even more dramatically. Photons, traveling through this curved geometry, have no choice but to follow the curves .


How Does Spacetime Curvature Affect Photons?

When a photon zips through the universe, it always takes the straightest possible path through spacetime. Physicists call this path a geodesic.

In flat spacetime — far from any massive object — a geodesic is just a straight line. But near a star or galaxy, spacetime bends. The “straightest possible path” through curved spacetime isn’t straight at all. It’s curved.

As one source describes it beautifully: “When the photon encounters a massive object, its path ‘dips’ and ‘rises'” . Space-time is, after all, the only thing to travel through. The photon isn’t being “pulled.” It’s following the only road available.

Geodesics: The Shortest Path Through Curved Space

Here’s an analogy from everyday life. If you fly from New York to London, the airplane doesn’t go in a straight line on a flat map. It follows a curved path — a great circle route — because the Earth’s surface is curved. That curved route is actually the shortest distance between the two points on a sphere.

Photons do the same thing in curved spacetime. They follow geodesics, the shortest (or more precisely, the “extremal”) paths through warped geometry.

The deflection angle for a photon grazing a massive body is given by Einstein’s formula:

Einstein’s Deflection Angle Formula


δ = 4GM / (rc²)

δ Deflection angle (radians)
G Gravitational constant (6.674 × 10⁻¹¹ N·m²/kg²)
M Mass of the deflecting body
r Closest approach distance
c Speed of light (≈ 3 × 10⁸ m/s)

The deflection angle δ is typically very small. For reference, an arcsecond is 1/3600th of a degree — so the predicted bending is tiny, but it isn’t zero, as Newtonian gravity would predict. This formula shows directly how a massless photon is affected by gravity: not through a force, but through the natural bending of spacetime caused by matter.


What Is the Stress-Energy Tensor — And Why Does It Matter?

Now let’s go a step deeper. If gravity isn’t about mass pulling on mass, then what exactly tells spacetime how to curve?

Einstein’s field equations say spacetime curvature is determined by something called the stress-energy tensor. This is a mathematical object that describes the distribution of energy, momentum, pressure, and stress in a region of space.

Here’s where things get interesting for photons. In general relativity, the source of gravity is the four-momentum vector — a combination of energy and momentum. Light has both energy and momentum. So light is, in fact, a source of gravity itself .

Rest mass? It’s just the length of the four-momentum vector. And here’s an oddity of spacetime geometry: a vector can have a length of zero even when its individual components are nonzero . That’s exactly the case for a beam of light. The whole vector matters for gravity — not just its length.

Newton vs. Einstein: Gravity and Light

Feature Newtonian Gravity General Relativity
What causes gravity? Mass attracts mass Energy-momentum curves spacetime
Does gravity affect massless photons? No (or half the correct value with workaround) Yes — full predicted deflection
Light deflection near the Sun 0.87 arcseconds (with effective mass) 1.75 arcseconds ✓
How does light respond? Pulled by force (if mass assigned) Follows curved spacetime geometry

So photons contribute to the stress-energy tensor, and therefore to the curvature of space . They’re not just passengers in the cosmos — they actually shape the road they travel on, even if their contribution is usually tiny.


How Was Light Bending First Confirmed?

Einstein published his general relativity equations in 1915 and predicted that light from distant stars would bend as it passed near the Sun. The predicted deflection angle for light just grazing the solar surface was about 1.75 arcseconds — exactly double the Newtonian estimate .

The 1919 Solar Eclipse

The test came on May 29, 1919. British astronomer Sir Arthur Eddington led two expeditions — one to Sobral, Brazil, and one to the island of Príncipe off the west coast of Africa — to photograph stars during a total solar eclipse. During the eclipse, with the Sun’s blinding light blocked by the Moon, stars near the Sun’s edge became visible.

The question was simple: would those stars appear shifted from their normal positions?

They did. The measured deflection matched Einstein’s prediction, not Newton’s. The result made front-page news around the world. Einstein became an overnight celebrity, and our understanding of gravity was forever transformed .


What Happens When Light Meets a Galaxy Cluster?

Scale the effect up from a single star to a massive galaxy cluster — hundreds or thousands of galaxies bound together by gravity — and the bending of light becomes spectacular. We call this phenomenon gravitational lensing.

When light from a distant galaxy passes near a massive foreground cluster, the cluster’s gravity warps spacetime so dramatically that the background galaxy’s image gets distorted, magnified, or even split into multiple copies arranged in arcs and rings.

There are three types of gravitational lensing:

  • Strong lensing — produces dramatic arcs, multiple images, or Einstein rings. Happens near the most massive clusters.
  • Weak lensing — causes subtle shape distortions in background galaxies. Astronomers use it to map dark matter.
  • Microlensing — occurs when a smaller object (like a star) passes in front of a more distant star, briefly brightening it.

None of this would be possible if photons weren’t responsive to curved spacetime. The fact that massless light bends around galaxy clusters is one of our most powerful tools for studying dark matter — matter we can’t see directly, but whose gravitational effects on light we can measure.

It’s not that the galaxy pulls on the photons directly — the galaxy warps the spacetime through which the photons travel . Light simply follows the shortest available path through that curved geometry.


Can Light Ever Be Trapped by Gravity?

Yes. And this brings us to the most extreme case: black holes.

A black hole is a region where mass has been compressed so densely that the spacetime curvature becomes infinite (or near-infinite) at the center. The boundary around a black hole — the event horizon — is the point of no return. Once a photon crosses it, the curvature of spacetime is so severe that all paths, even those of light, point inward .

Light doesn’t escape a black hole — not because the black hole “pulls” it with a force, but because spacetime inside the event horizon curves so completely that there are no outward-pointing paths left. Every geodesic leads deeper in.

There’s also a fascinating region just outside the event horizon, at a distance of 1.5 times the Schwarzschild radius, called the photon sphere . At this exact distance, a photon can orbit the black hole in a circle — though the orbit is unstable. A slight nudge inward, and the photon spirals in. A slight nudge outward, and it escapes.

It’s haunting to think about: light itself, trapped in orbit around an object, circling endlessly on the edge of darkness.


So, Why Does Gravity Bend Light? — A Quick Summary

Let’s bring it all together. The answer to our opening question comes down to a single, profound shift in how we think about gravity:

  1. Photons have zero rest mass — that’s true .
  2. Newtonian gravity can’t explain light bending — it predicts either zero deflection or half the observed value.
  3. Einstein’s general relativity redefines gravity — it’s not a force between masses; it’s the curvature of spacetime caused by energy and momentum.
  4. Photons carry energy and momentum — they contribute to the stress-energy tensor and follow the curvature of spacetime .
  5. Photons travel along geodesics — the straightest paths through curved spacetime, which appear “bent” to outside observers
  6. It’s not that gravity pulls on the photon — it’s that spacetime itself is curved.

The photon is just following the road. The road bends because a massive object warped it.


A Final Thought — And an Invitation

If there’s one thing this story teaches us, it’s that the universe is far stranger and more beautiful than our everyday intuitions suggest. Gravity isn’t what we thought it was. Light isn’t as simple as it seems. And the fact that a particle with no mass at all can be guided by the curves of spacetime — that’s not a flaw in our understanding. It’s a feature of reality.

Sometimes the answers that feel most counterintuitive turn out to be the most elegant. Einstein showed us that by asking a simple question — “What if gravity isn’t a force?” — he could explain something Newton never could.

We hope this article made you feel a little less alone in your curiosity. The universe is vast, and the questions are endless. But that’s what makes it exciting — there’s always more to learn, more to question, more to wonder about.

Here at FreeAstroScience.com, we exist to make the cosmos accessible to everyone. Whether you’re a physics student, a lifelong learner, or someone who just stumbled onto this page during a late-night scroll, you belong here. Come back soon — we’ll keep explaining the universe, one question at a time.

And remember: keep your mind active. Always. Because the sleep of reason breeds monsters.

Gerd Dani, President of Free AstroScience – Science and Cultural Group