Between July 26 and August 7, 1971 – as the Apollo 15 Lunar Module Pilot (LMP) – Irwin logged 295 hours and 11 minutes in space.
His extravehicular activity (EVA) on the Moon's surface amounted to 18 hours and 35 minutes of the mission time (an additional 33 minutes was used to do a stand-up EVA by opening the LM's docking hatch to survey the surroundings and take photographs).
Irwin and David Scott's mission was more science-based than previous missions, which meant that they received intensive geological training to meet the demanding nature of the J-Mission profile.
 This extra training is credited with allowing them to make one of the most important discoveries of the Apollo era, the Genesis Rock.

Apollo 15 landed in the Moon's Hadley-Apennine region, noted for its mountains and rilles.
As a J-Mission, they would spend more time on the Moon than previous missions, to allow for three EVAs.
 As well, Irwin was the first automobile passenger on the Moon as Scott drove the Lunar Roving Vehicle (LRV) carried along for this mission in the Lunar Module (LM) Falcon's Descent Stage.
Scott and Irwin's stay on the Moon was just under three days at 66 hours and 54 minutes.

Once the rendezvous procedure was completed between Falcon and the Endeavour CSM, Irwin and Scott were busy moving items like rock samples into the CSM and preparing the Lunar Module for final separation.
During this intense period of work the earliest symptoms of a heart condition appeared.
Both Scott and Irwin had been working with no sleep for 23 hours, during which they conducted a final moonwalk, performed the ascent from the lunar surface, rendezvoused with Endeavour, and encountered the problems that delayed the Lunar Module jettison maneuver.
The astronauts' physiological vital signs were being monitored back on Earth, and the flight surgeons noticed some irregularities in Irwin's heart rhythms.
Irwin's heart had developed bigeminy.
Dr. Charles Berry stated to Chris Kraft, deputy director of the Manned Spacecraft Center (MSC) at the time: "It's serious, [i]f he were on Earth.
I'd have him in ICU being treated for a heart attack."
However, Berry concluded that since Endeavour's cabin atmosphere was 100% oxygen when in space, Irwin was in the best of circumstances.
Specifically, "In truth, ... he's in an ICU.
 He's getting one hundred percent oxygen, he's being continuously monitored, and best of all, he's in zero g. Whatever strain his heart is under, well, we can't do better than zero g."
During the post-trans-Earth injection (TEI) phase of the mission there wasn't much more for Irwin to do other than provide help with Al Worden's EVA to retrieve film magazines from the CSM's SIM bay, by donning a pressure suit and monitoring him.
He was able to rest and apparently recover during the rest of the mission.
The flight surgeons continued to monitor his EKG until splashdown, but his heart rhythm was normal.
This incident was not discussed during the mission debriefing sessions, and the condition did not appear when he returned to Earth.
Between July 26 and August 7, 1971 – as the Apollo 15 Lunar Module Pilot (LMP) – Irwin logged 295 hours and 11 minutes in space. His extravehicular activity (EVA) on the Moon's surface amounted to 18 hours and 35 minutes of the mission time (an additional 33 minutes was used to do a stand-up EVA by opening the LM's docking hatch to survey the surroundings and take photographs). Irwin and David Scott's mission was more science-based than previous missions, which meant that they received intensive geological training to meet the demanding nature of the J-Mission profile.  This extra training is credited with allowing them to make one of the most important discoveries of the Apollo era, the Genesis Rock.
Apollo 15 landed in the Moon's Hadley-Apennine region, noted for its mountains and rilles. As a J-Mission, they would spend more time on the Moon than previous missions, to allow for three EVAs.  As well, Irwin was the first automobile passenger on the Moon as Scott drove the Lunar Roving Vehicle (LRV) carried along for this mission in the Lunar Module (LM) Falcon's Descent Stage. Scott and Irwin's stay on the Moon was just under three days at 66 hours and 54 minutes.
Once the rendezvous procedure was completed between Falcon and the Endeavour CSM, Irwin and Scott were busy moving items like rock samples into the CSM and preparing the Lunar Module for final separation. During this intense period of work the earliest symptoms of a heart condition appeared. Both Scott and Irwin had been working with no sleep for 23 hours, during which they conducted a final moonwalk, performed the ascent from the lunar surface, rendezvoused with Endeavour, and encountered the problems that delayed the Lunar Module jettison maneuver. The astronauts' physiological vital signs were being monitored back on Earth, and the flight surgeons noticed some irregularities in Irwin's heart rhythms. Irwin's heart had developed bigeminy. Dr. Charles Berry stated to Chris Kraft, deputy director of the Manned Spacecraft Center (MSC) at the time: "It's serious, [i]f he were on Earth. I'd have him in ICU being treated for a heart attack." However, Berry concluded that since Endeavour's cabin atmosphere was 100% oxygen when in space, Irwin was in the best of circumstances. Specifically, "In truth, ... he's in an ICU.  He's getting one hundred percent oxygen, he's being continuously monitored, and best of all, he's in zero g. Whatever strain his heart is under, well, we can't do better than zero g."
During the post-trans-Earth injection (TEI) phase of the mission there wasn't much more for Irwin to do other than provide help with Al Worden's EVA to retrieve film magazines from the CSM's SIM bay, by donning a pressure suit and monitoring him. He was able to rest and apparently recover during the rest of the mission. The flight surgeons continued to monitor his EKG until splashdown, but his heart rhythm was normal. This incident was not discussed during the mission debriefing sessions, and the condition did not appear when he returned to Earth.
James Irwin