Get the Mach newsletter.
By Jaclyn Jeffrey-Wilensky

Imagine lying in bed for weeks on end, eating and sleeping without getting up — and being paid handsomely for your trouble.

What sounds like a dream job to some is actually the setup of a new experiment being conducted by NASA and the European Space Agency. The study, which kicked off Monday in Cologne, Germany, aims to assess the health effects of long-duration spaceflight by limiting participants' movements for two months.

Called Agbresa (for Artificial Gravity Bed Rest—European Space Agency), the study will also explore the potential benefits of artificial gravity in helping to keep astronauts healthy on missions to Mars and other far-flung destinations. It’s the first such collaboration between the space agencies, and the first to use a space-age “human centrifuge” to create artificial gravity.

The :envihab human centrifuge spins people around to create an environment of artificial gravity.DLR

The study “offers space researchers from all over Europe and the U.S.A. the opportunity to work together and jointly acquire as much scientific knowledge about human physiology as possible,” Hansjörg Dittus, a board member at the German Aerospace Center, said in a statement.

The study is being conducted at the center’s ":envihab" facility (from "environment" and "habitat") in Cologne, where the participants — 12 men and 12 women — will spend 60 consecutive days in bed during the entire 89-day study, which includes extra time for preparation and recovery. For their time, they’ll be paid 16,500 euros (about $19,000).

More than a half-century of human spaceflight has shown that the microgravity environment of space causes the human body to undergo drastic and potentially dangerous changes. Without Earth’s gravity to pull things down, bodily fluids drift upward to collect in the chest and head, and bones and muscles waste away.

Lying in bed for long periods can cause similar changes, so the study participants will do just about everything from their :envihab beds for the duration of the study.

But lying in bed isn’t exactly a walk in the park. The participants’ beds are tilted slightly downward to encourage fluids to pool in the upper body. And to mimic the effects of microgravity on their muscles, bones and tendons, participants are required to minimize movement of any sort. That means at least one shoulder on the mattress at all times.

While lying in bed, some of the men and women will endure daily sessions in a “human centrifuge,” which spins like a carousel to create forces that simulate gravity. When they’re not spinning for science, they’ll be subjected to cognitive function tests, blood draws and muscle biopsies.

If all that sounds good to you, you’re in luck. The German Aerospace Center says slots are still open for phase two of the experiment, which begins in September.

Want more stories about spaceflight?

SIGN UP FOR THE MACH NEWSLETTER AND FOLLOW NBC NEWS MACH ON TWITTER, FACEBOOK, AND INSTAGRAM.