The 40-year-old actor will be playing Lopez's longtime love, Trey.
Milo Ventimiglia has officially been cast to work on a project with another big-name pop star... Jennifer Lopez!
The 40-year-old actor, who currently stars opposite Mandy Moore on NBC's This Is Us, will be joining the singer in STXFilms' Second Act.
Directed by Peter Segal (50 First Dates, Anger Management), the romantic comedy will follow the story of a big-box store employee, portrayed by Lopez, who tries to prove that in New York City, street smarts are just "as valuable as a college degree."
Deadline reports that Ventimiglia will play Lopez's longtime boyfriend, Trey.
RELATED: 'This Is Us' Reveals Where Kate Was When Jack Died, How (& When!) Rebecca Moved On With Miguel
The movie is currently filming in New York, and also stars Vanessa Hudgens, Leah Remini, Dan Bucatinsky, Annaleigh Ashford and Freddie Stroma.
Lopez is a producer on the project with Benny Medina and writers Justin Zackham and Elaine Goldsmith-Thomas.
"There are so many things I love about this project and script," Lopez previously said in a statement. "People try to put women to sleep at a certain age. Second Act is a story that empowers the every woman to do more, to be more and not limit their dreams. I am thrilled to partner with STX as they continue to create and empower the female audience."