The two actors reunite on screen for the first time since 2005 in “The Internship,” opening Friday. The two star as recently fired salesmen who seek to reinvent themselves by winning internships at Google, bringing the same kooky chemistry that made “Wedding Crashers” a surprise smash.

That chemistry was on display during a recent visit to Google’s Northern California headquarters. Past the beach-volleyball court and rows of red-and-green bikes, in a conference room with a coffee table shaped like California, Vaughn, 43, and Wilson, 44, can’t help but crack each other up.

Asked if their off-screen friendship fuels their comedy on screen, Wilson joked that Vaughn tried to avoid him on set.

“A lot of times I’d go up to talk to Vince and I’d want to kind of catch up and shoot the breeze, and maybe crack some jokes, and he was always just buried in his computer,” Wilson said. “And then one time I noticed that it wasn’t turned on, it was just when I was coming up. So I didn’t know what to make of that.”

“It’s called I’m looking for some downtime, I don’t need to hear the same story again, you know what I mean?” Vaughn replied without missing a beat. “That’s the thing with Owen that I love is his stories will start always in different ways, but the endings are consistent, which is: That’s why I win. So no matter where the stories start, I never get nervous because the last page is always: That’s why I win.”

Both men felt like winners when their toddler children visited the set during filming last year.

“It did kind of give you a good feeling just seeing the kids running around,” Wilson recalled.

Wilson’s son and Vaughn’s daughter are close in age, and Vaughn has another baby on the way. But the actors disagree on the best approach for parenting.

“Owen is like it’s important to tell the kid they’re great and give them confidence,” Vaughn said, “where I feel like you throw them in the pool and it’s going to go one way or the other.”