Following her dramatic breakup with One Direction’s Harry Styles, Taylor Swift hit it off with up-and-coming Aussie actor Brenton Thwaites at the Toronto Film Festival on Monday night.

The “You Belong With Me” singer attended the world premiere of “One Chance” — starring James Corden as “Britain’s Got Talent” star Paul Potts — in Toronto after she’d penned a song for the inspirational film.

Swift arrived at the Weinstein Company and Grey Goose’s star-studded Soho House bash at 11 p.m., and wound up staying until the wee hours in a clubby booth with Thwaites — the star of another Toronto movie, “Oculus.” By the end of the night, they were nearly the last guests at the party.

In a sharp suit and open-collar shirt, Thwaites — who will star in the upcoming “Maleficent” with Angelina Jolie, as well as “The Giver” with Meryl Streep — seemed to put on his best moves.

“It looked like they were on a date all night,” said a spy. “It was like everyone else melted away.” The couple’s conversation was punctuated by guests stopping by, including “One Chance” distributor Harvey Weinstein, who’d introduced the pair.

At nearly 2 a.m., Swift and Thwaites grabbed burgers that were passed out for the late-night crowd. Then, even Swift’s bodyguard, who’d been standing for hours, finally said, “I’m sitting down,” and grabbed some water.

At one point, Thwaites looked like he was losing Swift’s attention, but by the end of the night she was giggling and playfully covering his eyes.

Earlier, Swift was approached by Julia Roberts — who was at the hot spot celebrating the premiere of “August: Osage County” along with her castmates Ewan McGregor, Chris Cooper, Abigail Breslin and Juliette Lewis — to take a photo together.

Roberts, in nerd glasses and a smoking red dress, was in rare party mode — taking pics with friends, jumping into a photo booth and ordering up Grey Goose Le Citron cocktails.