Lopez, 47, headlined a free concert for the Democratic presidential candidate at the Miami Bayfront Park. Lopez wore a black lace-up bodysuit and fishnets, while Anthony sported jeans, a white T-shirt and black jacket.
Clinton joined the former couple onstage in a turquoise coat and black pants. The trio shared hugs and held hands as the Democratic presidential nominee smiled at the crowd.
Lopez took to Instagram to share several moments from the event, including one photo of herself in a patriotic look with an image of Clinton in the background.
“Thank you Florida for coming out tonight… it was amazing!! #gohillary #strongertogether #govote #lovetrumpshate #Latinos #letsgetloud #vote photo by @lacarba,” she captioned her mid-performance photo.
She also shared some photos featuring President Barack Obama on the screen, as well as a video with the hashtags #STRONGERTOGETHER, #VOTEHILLARY and #imwithher.
Lopez and Anthony, who share 8-year-old twins Emme and Maximilian, are currently working on a Spanish album together and were last seen performing together at Anthony’s Radio City Music Hall show in August.
Earlier this month, Lopez opened up to People en Español for their 20th anniversary issue about working with her ex-husband.
RELATED VIDEO: Learn How Jennifer Lopez Balances the Men in Her Life
“It’s very exciting. We worked on my last Spanish album together [Como Ama una Mujer],” she said. “I can’t imagine doing it without him because the only kind of foray I’ve had into this world has always been with him. It’s going to be exciting.”