Tom Cruise was photographed performing his own nail-biting stunt while filming "Mission: Impossible 8."

Cruise, 59, climbed out of the cockpit of a 1941 Boeing B75N1 Stearman biplane at 2,000 feet and sat on the wing. He then dangled himself upside down from the wing. As Cruise hung upside down, the plane flipped upside down so that the actor was sitting upright on the wing.

Tom Cruise is seen rehearsing one of his most dangerous stunts ever as he hangs upside down on the wing of a war plane as it does a loop the loop 2000 feet in the air. (Geoff Robinson / Terry-Harris.com - Splash News)

Cruise was attached to the plane with a harness during the stunt.

The "Top Gun" actor has been taking flying lessons to prepare for the filming of "Mission: Impossible 8."

TOM CRUISE SURPRISES HIKERS AFTER LANDING HELICOPTER, PARACHUTING OFF CLIFF

Cruise began filming for "Mission: Impossible 8" immediately after wrapping up filming for "Mission: Impossible 7." Both films were announced at the same time, with one being released in 2022 and one in 2023.

The coronavirus did stall filming of "Mission: Impossible 7," which pushed the expected release date of "Mission: Impossible 8" to July of 2023.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Cruise is known for his stunts, including the time he climbed the Burj Khalifa, known as the world's tallest building.

Cruise recently reflected on his career and his decision to perform all of his own stunts in his action movies.

Tom Cruise prepares to perform a stunt while filming "Mission: Impossible 8." (Geoff Robinson / Terry-Harris.com - Splash News)

CLICK HERE TO GET THE FOX NEWS APP

"I am a very physical actor, and I love doing them," Cruise said during an appearance on "The Graham Norton Show." "I study and train and take a lot of time figuring it all out. I have broken a lot of bones."

"The first time of any stunt is nerve-wracking, but it also exhilarating," he added. "I have been told a few times during shooting a stunt to stop smiling."