Sofia Vergara and Ed O'Neill are staple figures on the hit comedy show "Modern Family". The dynamic duo plays Gloria and Jay Pritchett and are without a doubt a fan-favorite couple. After having worked together as an on-screen married couple for 11 seasons, the two had an emotional final day on set when wrapping up the series finale.

Although their characters bickered quite a lot on the show, whether it was about a surprise visit from Gloria's family, the family dog, or their newborn's name, it appears as if Sofia and Ed don't butt heads as often as they did on-screen. After 11 years of working together, fans always wonder how these two got along behind the scenes, and we're diving into that right now!

Related: Modern Family: 10 Things The Cast Have Said About Working On The Show

A True "Modern Family" Friendship

When it comes to on-screen couples, there is certainly one that stands out as a fan favorite, and that is none other than Gloria and Jay Pritchett of "Modern Family". The dynamic duo received a lot of slack on the show from the on-screen family, particularly for their vast age difference, however, when it comes to real life, Sofia Vergara and Ed O'Neill are truly two peas in a pod. After spending 11 years together as on-screen hubby and wife, it is only fitting for these two to have nothing but a loving friendship and filming experience behind the scenes.

During one of Sofia Vergara's many visits to the "Ellen Show", she has expressed just how much love and respect she has for Ed. "The relationship is so perfect", Ellen said, and not a single lie was told. "I love going to work with him", Vergara said gleefully. Although Ellen couldn't pass up another opportunity to make fun of Sofia's Colombian accent, the actress had nothing but lovely things to say about her experience working with O'Neill on the show.

Related: The Cast Of Modern Family: Then & Now

When Ed's 70th birthday rolled around, the entire cast referred to him as a "legend", and rightfully so! Sofia took things a step further and posted an adorable shot of the two together on her Instagram feed, sending the actor nothing but love. The two have developed quite a loving friendship, so much that Sofia once dressed up as Peggy Bundy, Ed O'Neill former "Married With Children" wife! Although Sofia has made it clear she's loved working with Ed, it goes without saying that the feeling is very much mutual.

After finding out Sofia Vergara would be playing his on-screen wife, Ed O'Neill claims "that makes perfect sense", hinting that he didn't mind working with someone as beautiful as Sofia one single bit. As if her looks weren't enough, Ed was thrilled to find out just how funny Vergara is. which transcends perfectly on-screen. While their time together has come to an end, it is safe to say that this is a friendship that will thrive for years and years to come.

Next: Modern Family: 10 Ridiculously Expensive Things The Cast Has Bought