"Ryan?" Ford asked.
"It's Ryan," Gosling again confirmed, prompting much audience laughter.
The two are new co-stars in the neo-noir science fiction film Blade Runner 2049, which will hit the big screen in a few days.
Ford continued the joke again in the interview, pretending to forget Gosling's name once more.
Ford told host Graham Norton that he'd told producers that Gosling would be a great fit for one of the characters in the Blade Runner script.
The producers told him they had been talking to Gosling for months.
"Now wait a second. They'd only been talking to me for weeks. So they probably would have gone ahead without me!"
Check out the clip below: