Jennifer Lopez and Ben Affleck are heading for a multimillion-dollar “exercise in closure” — all because they couldn’t stop wondering about the “unfinished business” of their past, according to sources.

“They got caught up in the moment. Jennifer had wanted this wedding — the gowns, the friends, all the trappings and trimmings — for decades,” one friend told Page Six.

After calling off their first engagement in 2004, the two apparently always wondered “what if,” leading to a rekindled romance and wedding in 2022. The three-day affair at Affleck’s $8 million estate in Georgia was a blow-out, with Lopez wearing not one but three gowns by Ralph Lauren.

Now, sources told Page Six, the couple is expected to announce their marriage is officially over by the end of the summer.

Jennifer Lopez and Ben Affleck kissing at wedding, with fireworks in the background

Nostalgia got the best of Jennifer Lopez and Ben Affleck, who wanted a big wedding extravaganza after losing out on their first one, sources tell Page Six.jlo/Instagram

Ben Affleck and Jennifer Lopez on their wedding day.

Lopez and Affleck first tied the knot at the Little White Chapel in Las Vegas on July 17, 2022.jlo/Instagram

Sources said the couple had never gotten over the “what if” factor of their failed romance from 20 years ago. Here, Affleck and Lopez are at the “Gigli” premiere in 2003 — the same year they postponed their first engagement, before breaking up.jlo/Instagram

The friend said both Affleck and Lopez got caught up in nostalgia and the idea of finally living out their dream from two decades ago.

Now, “They’ve turned the page on all the unfinished business of 20-plus years ago. They’ve seen things through to the end — and they know for sure now that they are not built for the long haul,” the friend said. “No further unanswered questions. They’ve seen all they need to see, and it’s over.

Jennifer Lopez in wedding dress.

Lopez donned a simple white dress for her secret Vegas wedding to Affleck, months before the Georgia wedding.

“In the end, it’s gonna be the most elaborate and expensive exercise in closure ever.”

In May, a source told Page Six of Affleck: “If there was a way to divorce on grounds of temporary insanity, he would. He feels like the last two years was just a fever dream …”

The couple have listed their $68 million Beverly Hills house for sale, and Affleck has already bought a $20 million home in Brentwood, close to his three children and his ex-wife Jennifer Garner.

Jennifer Lopez riding a bike.

Lopez has been in the Hamptons for the summer, where she celebrated her birthday without Affleck.TheImageDirect.com

Lopez, meanwhile, has been touring homes since returning to Los Angeles after spending the past month in the Hamptons.

“Ben’s found his new home, Jen’s about to select hers. It’s absolutely done and there is zero interest, inclination or reason to turn back,” said the friend.

Jennifer Lopez in swimsuit.

The singer went to Italy without her husband earlier this summer.Courtesy House of Delola/Mega

What do you think? Post a comment.

Affleck, who turns 52 on August 15, did not join his wife on her 55th birthday in the Hamptons, which she celebrated with a “Bridgerton”-themed bash followed by a brunch.

“Her summer isn’t exactly what she originally had planned, but she’s making the best of it. She’s always grateful for family time,” a source told People.

We have reached out to reps for comment.