By Sarah Mervosh

New York Times News Service

Ham salad from a tube. Apricot cereal cubes. Thermostabilized cheddar cheese spread.

These delicacies and more were packed inside Neil Armstrong and Buzz Aldrin’s lunar lunchbox when Apollo 11 hurtled them into space 50 years ago this month, landing humankind on the moon for the first time.

A little unpalatable, perhaps, but it was enough to get them through their eight-day excursion in space.

The next time astronauts make a giant leap in space travel, it could be with a mission to Mars, making the question of nutrition a lot more difficult. The round-trip journey is expected to take up to three years, and the astronauts may have to grow food.

Enter the Española pepper.

As the race to the red planet heats up — NASA hopes to send humans to Mars by the 2030s, and a private rocket venture, SpaceX, is aiming for sooner — scientists are working on building a garden in space. The goal is to grow fresh produce to supplement packaged foods.

NASA has harvested a variety of edible leafy greens, grown without earthly gravity or natural light. Soon, researchers plan to expand to a more difficult crop, Española improved chiles, in their quest to answer one of the most pressing questions of a Mars mission: How will astronauts get enough nutritious food to survive years in the unforgiving depths of space?

Scientists believe the project, if successful, could open the door to growing similar crops in space — think tomato plants and strawberries — and perhaps eventually to more advanced foods, like potatoes.

“This is the most complex crop we have done to date for food purposes,” said Matthew W. Romeyn, who is leading the pepper experiment for NASA.

The peppers are being tested on Earth, he said, and could be sent to space as early as next spring.

Scott Kelly, a retired astronaut who set an American record in 2016 when he returned after spending 340 days in space, said he received a shipment of fresh fruit and vegetables every few months while on the International Space Station. But that would not be possible on a trip to Mars.

“It’s not like you can just run out to the store,” he said. “To have fresh food, it helps with nutrition. It helps with morale.”

50 years of space food

The first moon landing took place in the “tube and cube days” of space food, when a typical menu included items like peanut cubes, turkey and gravy wet packs and brownies that were described as an “intermediate moisture bite.”

The beverage Tang also had a long association with spaceflight. Many people mistakenly believe NASA invented it.

About 200 food and drink items are available on the International Space Station, according to Stephanie Schierholz, a NASA spokeswoman.

The food, which is much like camping food and has to be reheated or rehydrated with water, ranges from your basics, like cereal and eggs, to more complex dishes like chicken fajitas, macaroni and cheese and blueberry crumble. “Shrimp cocktail is a longtime popular dish,” she said.

While scientists use the space station as a test kitchen for long-term space travel, there is another necessity to consider: water.

The station uses a sophisticated water recycling system, which collects humidity, sweat and even urine and turns it into drinking water.

Schierholz said the system would need to be smaller and to work more reliably on a mission to Mars, because there would be no option to send shipments of water from Earth. But the same ethos would hold true: “Yesterday’s coffee,” she said, “is tomorrow’s coffee.”

Lettuce, peppers and a garden in space

No matter how many options there are, packaged food alone would not be enough to fuel a mission to Mars.

Certain vitamins break down over time, leaving astronauts at risk of inadequate nutrition, said Gioia D. Massa, a scientist who works on space crop production for NASA.

“We don’t really have a food system that we are confident will be good for the entire duration of a Mars mission,” she said. “We feel plants are a good way to help solve that problem.”

Scientists have experimented with growing plants on board the International Space Station for years. The Russians grew peas in the early 2000s, for example. More recently, NASA harvested red romaine lettuce, which had been nurtured under the purplish, LED lighting of a special vegetable garden known simply as “Veggie.”

For a tasting in 2015, astronauts used extra virgin olive oil and balsamic vinegar to dress the leaves. “Kind of like arugula,” Kelly said.

NASA has since grown other types of leafy greens, including Chinese cabbage and mizuna mustard.

The Española improved chile, a durable pepper native to New Mexico, represents the next frontier. The peppers are, in many ways, the perfect test case: They are more difficult to grow than lettuces. They are a good source of vitamin C. And they pack a punch in spice, great for astronauts who have reduced senses of smell and taste in space.