The 48-year-old actor plays Jennifer Lopez's on-screen love interest in the upcoming rom-com but admitted shooting the flick in the Dominican Republic almost killed him as a wave swept him off a cliff.
During an appearance on 'The Tonight Show Starring Jimmy Fallon', Josh Duhamel played some footage of the incident and said: "I had some time off and right below where I was staying was this beautiful cove. Earlier in the shoot, it was this perfectly calm turquoise little cove.
"I actually jumped off this platform into the water and swam over to the beach then walked back. A week later this place was completely different because now the ocean was really tumultuous that day.
"The waves were crashing like 30 feet in the air. This rogue wave comes up as I'm videotaping this thing and literally washed me almost over the edge of this cliff.
"But it turned me into hamburger on many parts of my body afterwards. It was one of the near-death experiences of my life, for sure."