Ben Affleck was spotted on a joint family outing with his wife Jennifer Lopez and ex-wife Jennifer Garner in Los Angeles on Sunday. 

Garner, 51, appeared to keep her distance from the actor, 51, and the singer, 54, as she walked ahead of the pair with their son Samuel, 11, and daughter Seraphina, 15, after leaving a musical performance.

Meanwhile Affleck and Lopez — who recently gave a glimpse into her raunchy love life with Ben

Affleck was spotted chatting with Emme, with Lopez walking arm-in-arm with him, while Garner walked a number of steps ahead with their kids in the front.

The trio have a famously complicated relationship history. Lopez and Affleck were engaged but split shortly before he met and married Garner, and Lopez moved on and wed Anthony. After they both got divorced, they rekindled their romance in 2021, before tying the knot in 2022.

Ben Affleck was spotted on a joint family outing with his wife Jennifer Lopez and ex-wife Jennifer Garner in Los Angeles on Sunday

Ben Affleck was spotted on a joint family outing with his wife Jennifer Lopez and ex-wife Jennifer Garner in Los Angeles on Sunday

Garner, 51, appeared to keep her distance from the actor, 51, and the singer, 54, as she walked ahead with their son Samuel, 11, and daughter Seraphina, 15, after leaving a musical performance

Garner, 51, appeared to keep her distance from the actor, 51, and the singer, 54, as she walked ahead with their son Samuel, 11, and daughter Seraphina, 15, after leaving a musical performance

Meanwhile Affleck and Lopez walked behind with her daughter Emme, 15, whom she shares with ex-husband Marc Anthony

Meanwhile Affleck and Lopez walked behind with her daughter Emme, 15, whom she shares with ex-husband Marc Anthony

Missing from action was Garner and Affleck’s eldest daughter Violet, 18, and Emme’s twin brother Maximilian.

Garner opted for her signature casual cool look in a grey sweater, blue jeans, and black sneakers.

The mother-of-three wore her brunette tresses halfway pinned back.

Lopez also dressed down for the occasion, ditching her usual glamorous style for a more casual white top and oversized white pants.

The On The Floor hitmaker had her caramel-toned hair pulled into a chic bun.

She accessorized with large gold hoop earrings.

Affleck matched the ladies in his own casual look, sporting a plaid button-up over a grey t-shirt and tan pants.

Seraphina showed off her youthful style in an all-black ensemble with grey sneakers, while her brother wore a graphic t-shirt and dark pants.

Affleck was spotted chatting with Emme, with Lopez walking arm-in-arm with him

Affleck was spotted chatting with Emme, with Lopez walking arm-in-arm with him

Garner walked a number of steps ahead with their kids in the front

Garner walked a number of steps ahead with their kids in the front

Missing from action was Garner and Affleck's eldest daughter Violet, 18, and Emme's twin brother Maximilian

Missing from action was Garner and Affleck’s eldest daughter Violet, 18, and Emme’s twin brother Maximilian

The Alias star opted for her signature casual cool look in a grey sweater, blue jeans, and black sneakers

The Alias star opted for her signature casual cool look in a grey sweater, blue jeans, and black sneakers

Lopez also dressed down for the occasion, ditching her usual glamorous style for a more casual white top and oversized white pants

Lopez also dressed down for the occasion, ditching her usual glamorous style for a more casual white top and oversized white pants

Affleck and Garner have been amicably co-parenting their three children since their divorce in 2018, following a 13 year-long marriage

Affleck and Garner have been amicably co-parenting their three children since their divorce in 2018, following a 13 year-long marriage

Their co-parenting relationship has been strong over the years, to the point of setting off frequent rumors they would reunite

Their co-parenting relationship has been strong over the years, to the point of setting off frequent rumors they would reunite

Emme donned a white tee, cargo pants and converse sneakers

Emme donned a white tee, cargo pants and converse sneakers

Affleck cozied up to his wife

Affleck cozied up to his wife

Ben and Jennifer stayed side-by-side during the evening outing

Ben and Jennifer stayed side-by-side during the evening outing

The On The Floor hitmaker had her caramel-toned hair pulled into a chic bun.

She accessorized with large gold hoop earrings

The On The Floor hitmaker had her caramel-toned hair pulled into a chic bun. She accessorized with large gold hoop earrings

The trio have a complicated relationship history. Lopez and Affleck were engaged but split shortly before he met and married Garner, and Lopez moved on and wed Anthony. After they both got divorced, they rekindled their romance in 2021, before tying the knot in 2022

The trio have a complicated relationship history. Lopez and Affleck were engaged but split shortly before he met and married Garner, and Lopez moved on and wed Anthony. After they both got divorced, they rekindled their romance in 2021, before tying the knot in 2022

The hitmaker was seen chatting on the phone

The hitmaker was seen chatting on the phone

She had a brown bag slung over her shoulder

She appeared to be speaking to someone on speaker phone

She had a brown bag slung over her shoulder

Along with her three divorces, J-Lo has also had two broken engagements - first to Ben in the early 2000s and later to Alex Rodriguez

Along with her three divorces, J-Lo has also had two broken engagements – first to Ben in the early 2000s and later to Alex Rodriguez

The pair flashed bright smiles

They made their way to the parking lot

The pair flashed bright smiles

Garner was seen calling out to someone

Garner was seen calling out to someone

Emme donned a white tee, cargo pants and converse sneakers.

They all stopped to say hi to comedian Will Ferrell, 56, who was also at the performance.

The Elf star looked sharp in a black suit jacket and crisp white shirt.

Affleck and Garner have been amicably co-parenting their three children since their divorce in 2018, following a 13 year-long marriage.

The former couple wed in 2005, and split in 2015. Their divorce was finalized three years later.

Their co-parenting relationship has been famously strong over the years, to the point of setting off frequent rumors they would reunite.

Since then, they have both moved on – Ben with Lopez and Jennifer with boyfriend John Miller.

Lopez recently confessed she and Ben still ‘both have PTSD’ from the glare of the spotlight on their first romance.

They dated in the early 2000s, sending their fanbases into a frenzy and attracting a storm of publicity around their infamous mega-flop movie Gigli.

They all stopped to say hi to comedian Will Ferrell, 56, who was also at the performance

The Elf star looked sharp in a black suit jacket and crisp white shirt

They all stopped to say hi to comedian Will Ferrell, 56, who was also at the performance

Ben smiled at Will who was seen waving

Ben smiled at Will who was seen waving

The pair stopped for a chat with the actor

The pair stopped for a chat with the actor

Garner also interacted with Will

Garner also interacted with Will

They reignited their relationship in 2021 and got married the following year, once again becoming one of the most talked-about couples in showbiz.

Lopez shared in a new Variety interview that ‘we both have PTSD’ from their initial experience, but explained that in their present life as a married couple ‘we’re older now. We’re wiser.’

J-Lo added: ‘We also know what’s important, what’s really important in life, and it’s not so much what other people think. It’s about being true to who you are.’

The couple first got engaged near the end of 2002 but broke the engagement in late 2003 before ending their relationship entirely in 2004.

She then went on to marry Anthony. They were together from 2004 until their divorce in 2014. She was also previously married to Ojana Noa and Cris Judd.