And sources tell Page Six that Maguire’s already been taking a page from the book of his longtime best friend, the 41-year-old club crawler, Leonardo DiCaprio.

Multiple sources told Page Six that the split between Maguire, 41, and Meyer, 39 — the daughter of CAA co-founder and NBCUniversal vice chairman Ron Meyer — was in the works for “many months.”

And Maguire has been “seen with and without Leo” hitting LA’s clubs for months, a source said.

One Hollywood nightlife habitué told us that over the summer, “Tobey was out in LA at all these hot spots . . . It looked like he was following in [supermodel maven] Leo’s footsteps . . . Tobey hasn’t been known to date those types of girls in the past. But he has been all over LA lately. It looks like Leo’s rubbed off on him.”

But a source familiar with the star said that while newly single Maguire’s been on the town, “it’s not a secret — Jen knows. Jen goes out, too. These two people are the best of friends, there is no third party involved and there is no animosity. He’s just going to clubs with Leo — that’s what’s happening.”

A different source said Maguire’s been going out “more often than usual” to DiCaprio fave 1Oak in LA. He was at supper club Delilah with actor Shane Powers on Friday, where “there were lots of hot girls,” according to a source, but “Tobey seemed fine. He was just enjoying being out with guy friends.”

A more mature Maguire — now a father of two, who met Meyer in 2003 before a 2007 wedding — told People in a joint statement with Jen: “After much soul searching and consideration, we have made the decision to separate . . . As devoted parents, our first priority remains raising our children . . . with enduring love, respect and friendship.”