Sofia Vergara was the surprise guest during Pitbull's Grammys finale performance.

ADVERTISEMENT
The "Modern Family" star emerged from under the stage after Monday night's ceremony while the Miami-based rapper performed his hit "Taxi" with Robin Thicke and drummer Travis Barker.

Initially wearing a glittering cartoon taxi costume, Vergara stripped into a golden minidress upon reaching the stage to dance alongside Pitbull and Thicke.

Vergara shared a clip of her practicing her moves backstage before her surprise Grammys appearance.

"Rehearsal in the dressing room," Vergara wrote on Instagram.