Click to expand UP NEXT

UP NEXT

The came, they saw, they laughed, they made us laugh...they had the time of their lives. After 11 years, the cast of Modern Family is saying goodbye.

Sofia Vergara, Jesse Tyler Ferguson and other stars of the ABC sitcom took to Instagram on Friday to share photos and videos of themselves on the set on their last day of filming.

Vergara posted a clip of the cast and crew standing and waving outside a soundstage on a studio lot.

"We're out of the party!!! Adios stage5 ! Modern Family❤️ 11 years!!!" she wrote in Spanish.

Vergara also posted a video of her, Ferguson , Julie Bowen, Sarah Hyland and other co-stars singing Green Day's hit ballad "Good Riddance (Time of Your Life)," a popular late '90s high school graduation song.

Vergara earlier posted other cast pics, including one of her standing on a staircase with Ferguson, Hyland, Bowen and fellow co-stars Ed O'Neill, Ariel Winter, Rico Rodriguez, Nolan Gould, Ariel Winter, Ty Burrell, Reid Ewing and Jeremy Maguire.

Fuller House Cast Bids Farewell to Series

"I will never forget this set, this people ,there where only good times," Vergara wrote. "Thank you Moden Family❤️❤️ Thank you Gloria Pritchett."

The actress also shared photos of her embracing son Manolo Gonzalez Vergara and husband Joe Manganiello on the set.

"Gracias to my real family for being with me today!! ❤️❤️ #modernfamilyfinale I luv u" she wrote.

She also posted on her Instagram Story photos of the two standing separately with O'Neill.

"My two husbands," Vergara captioned a pic of Manganiello and the actor.

Ferguson brought along his husband Justin Mikita and both posted pics and videos.

"We definitely had the time of our lives," Mikita wrote. "Love this family so much. Goodbye sweet @abcmodernfam."

a group of people standing in front of a crowd posing for the camera: The Modern Family cast gathers outside a soundstage on their last day on set. © Instagram / Sofia Vergara The Modern Family cast gathers outside a soundstage on their last day on set. a group of people sitting on a bench: The actress embraces her husband © Instagram / Sofia Vergara The actress embraces her husband Sofia Vergara standing in front of a car posing for the camera: The actress embraces her son. © Instagram / Sofia Vergara The actress embraces her son. a man standing on a sidewalk: The actor bids farewell. © Instagram / Eric Stonestreet The actor bids farewell. a group of people standing in front of a crowd posing for the camera: The cast sings Green Day 's "Good Riddance (Time of Your Life)." © Instagram / Jesse Tyler Ferguson The cast sings Green Day 's "Good Riddance (Time of Your Life)." Rico Rodriguez, Nolan Gould, Julie Bowen, Sarah Hyland, Reid Ewing, Ty Burrell posing for a photo: The cast poses on a staircase. © Instagram / Sofia Vergara The cast poses on a staircase. Sofia Vergara, Joe Manganiello standing around a table: Sofia Vergara gets her hair done while husband Joe Manganiello and son Manolo Gonzalez Vergara watch. © Instagram / Sofia Vergara Sofia Vergara gets her hair done while husband Joe Manganiello and son Manolo Gonzalez Vergara watch. Reid Ewing, Sarah Hyland, Ty Burrell, Ed O'Neill, Eric Stonestreet sitting in a restaurant: The cast poses for a pic. © Instagram / Sofia Vergara The cast poses for a pic. Ty Burrell sitting on a table: Sarah Hyland posted this video of her onscreen dad on her Instagram Story. © Instagram / Sarah Hyland Sarah Hyland posted this video of her onscreen dad on her Instagram Story. Jesse Tyler Ferguson riding a skateboard down a sidewalk: The actor poses for a pic. © Instagram / Sofia Vergara The actor poses for a pic. Jesse Tyler Ferguson, Justin Mikita posing for the camera: Ferguson's husband shared this photo of his beau with his onscreen dad. © Instagram / Justin Mikita Ferguson's husband shared this photo of his beau with his onscreen dad. Ed O'Neill standing in front of a bus: The actor heads into a trailer. © Instagram / Sofia Vergara The actor heads into a trailer. Sofia Vergara, Rico Rodriguez posing for the camera: Vergara shared this pic of her with her co-stars. © Instagram / Sofia Vergara Vergara shared this pic of her with her co-stars. Ed O'Neill, Joe Manganiello are posing for a picture: Sofia Vergara shared this pic of her "two husbands." © Instagram / Sofia Vergara Sofia Vergara shared this pic of her "two husbands." a couple of people that are standing in front of a building: Sofia Vergara posted on her Instagram Story this photo of her onscreen husband and real-life son. © Instagram / Sofia Vergara Sofia Vergara posted on her Instagram Story this photo of her onscreen husband and real-life son.

Stonestreet posted on his Instagram page a photo of himself looking at the soundstage door.

"I guess I'll see myself out now stage 5," he wrote. "11 years walking in and out of this door went by in a flash. #modernfamily."

The Modern Family series finale will air on ABC in April.