When you date a majority of Hollywood’s most eligible A-listers, you’re bound to have a few awkward run-ins every now and then.

Case in point: Things got all kinds of weird for Taylor Swift after she ran into her ex-boyfriend Jake Gyllenhaal — the stud she allegedly penned several heartbreak anthems for — at a Golden Globes after party last night.

READ MORE: Taylor Swift Dyes Her Hair Brown!

The 25-year-old singer was hanging out at Hollywood hotspot Chateau Marmont with pals Selena Gomez and Lorde when she reportedly freaked out after seeing her 34-year-old former flame.

“She wasn’t dancing,” a source told ‘Us,’ “but I saw her grab her friend’s hand and repeat, ‘We have to go. We have to go.'”

taylor swift jake gyllenhaal

Taylor & Jake during happier times in 2011. (Photo Credit: Splash)

The ‘Trouble’ singer immediately headed towards the girls bathroom and leaned on fellow celebs like Cara Delevingne and Rita Ora for comfort.

“Taylor was having a mini meltdown,” the source revealed. “Cara’s arm was around Taylor, calming her down as Rita looked on. They were talking extremely closely.”

Onlookers reveal that TSwift was successful in avoiding her ex — whom she dated very publicly in 2011. At least this time, she KNEW he was trouble when he walked in.

taylor swift jake gyllenhaal