After the show, it's the after party!

Sofia Vergara and the rest of the "Modern Family" cast really went crazy after their big Emmy win on Sunday night -- dancing up a storm at HBO's official bash at the Pacific Design Center.

The sexy 41-year-old showed off her movies in a red, skin-tight Vera Wang dress, which surprisingly didn't rip in the rear again like it did last year ... exposing her g-string-clad behind!

She was joined by all her costars at the event, many of whom she was seen dancing with all night ... and even posted a pic proving she knows how to twerk better than Miley Cyrus.

"Miley cyrus this is where the twerk was invented. Colombia," she posted along with the shot:

But she wasn't hardly the only one celebrating.

Winners like Julia Louis-Dreyfus, Tony Hale, Michael Douglas, Anna Gunn, Jeff Daniels, Jim Parsons, Stephen Colbert, Bobby Cannavale and Derek Hough were all seen holding onto their trophies as they partied after their big wins. 

Plus, the casts of "Breaking Bad," "Game of Thrones," "American Horror Story," "The Newsroom" and many more were all down for a little drinking and dancing as well.

Check out the photos above to see more stars at the HBO and Fox soirees, plus shots from the fancy Governors Ball

For more Emmy Award coverage, check out our BestWorst Dressed Lists and 5 Can't-Miss Moments from the show!

Plus, see all the red carpet pics below:


Hot Videos