“Saturday Night Live” host Ryan Gosling grew frustrated as a surprise appearance from Harry Styles — next weekend’s emcee and musical guest — totally distracted him during his monologue.

The actor, who is making media rounds for his movie “Project Hail Mary,” swiftly pointed out Styles as the pop star sat in the front row so he could “get a feel for” his upcoming hosting gig.

“So professional, that’s awesome,” said a nervous Gosling as Styles calmly watched along with the rest of the crowd.

As Gosling pitched his sci-fi movie using a floating model Earth to his side, he emphasized that “everyone you know” and “everyone you’ve ever heard of” has lived out their lives on the planet.

But the “SNL” cameras were focused on Styles, who was nodding along to Gosling’s monologue.