Near the outer edge of the Andromeda galaxy, a star slightly less massive than our Sun spiraled into a swollen supergiant and became part of it. The result, which astronomers have nicknamed Bao, is a rare glimpse of two stars turning into one—and perhaps of a star getting a new lease on life.

Stellar mergers are hard to catch as they happen. Astronomers had watched this system for years, but the decisive change came quickly. The research, funded by NASA, combines measurements from ground-based and space telescopes with observations from NASA’s James Webb Space Telescope. Its findings help explain how giant stars interact with companions, a process that can shape the later lives of stars and create some of the universe’s most extreme objects.

The pair had orbited one another for thousands of years. Their long stability ended when the smaller star began moving through the outer atmosphere of its enormous companion. Each pass disturbed gas and stripped away some of the giant’s outer layers. The system gradually brightened, offering an early warning of the dramatic event to come.

In 2023, researchers noticed that something unusual was happening and kept watching. Then, in 2025, the system erupted. “One day, its brightness started rising and within a week, it peaked!” said co-author Nadia Blagorodnova, an associate professor at the University of Barcelona. Astronomers had expected an outburst from such an extended star to take years, not days.

After the smaller star began interacting with the giant, the pair completed their merger in about seven years—just seven more orbits. That is strikingly fast: earlier observed mergers between smaller stars took thousands of orbits to reach the same outcome. Webb observed Bao 47 days after the eruption peaked, the earliest follow-up yet for an event of this kind. The telescope’s data helped researchers work out what the system looked like before, during and just after the merger.

Webb’s mid-infrared observations also revealed dust the giant had expelled over hundreds of years. Infrared light can show material that is difficult to see in ordinary visible light, giving scientists clues to Bao’s history well before the final eruption. Researchers refined computer simulations of the stars and compared them with these observations to reconstruct the collision.

The merger is an example of what astronomers call “common envelope evolution”: two stars become surrounded by shared gas after one expands and engulfs the other. As the smaller star moves through that gas, it loses energy and spirals inward. Sometimes the stars survive as separate objects in tighter orbits. Those systems can later become neutron stars or black holes, explode as supernovae, or produce gravitational waves—ripples in space-time. Bao’s companion instead plunged into the giant, leaving one star.

Scientists describe Bao as potentially rejuvenated, but the observations do not settle what its future will be. By capturing the aftermath so soon and tracing the system’s changes across time, Webb has given astronomers an unusually close look at a process that is usually hidden until it is over. Further study of such mergers may help explain how some of the universe’s most powerful stellar objects are born.