The singer was being sued for £27 million for allegedly stealing the lyrics for her song Shake It Off.
US R&B singer Jesse Braham claims Swift stole the words from a song he wrote in 2013 called Haters Gone Hate.
But US district court judge Gail Standish disagreed and took up the chance to show off her Swifty fandom.
In a written statement dismissing the suit, Standish lifted lyrics from We Are Never Ever Getting Back Together, Blank Space and Bad Blood.
“At present, the Court is not saying that Braham can never, ever, ever get his case back in court.
“At least for the moment, Defendants have shaken off this lawsuit,” Standish concluded.
Braham had previously told the New York Daily News he believed there was “no way” Swift could have penned the lyrics independently of his song.
“Her hook is the same hook as mine. If I didn’t write the song Haters Gone Hate, there wouldn’t be a song called Shake It Off,” he said.
He added he’d spoken to Swift’s record label, Big Machine, four or five times about the issue.
He originally asked to be named as a writer and requested a selfie with the pop star but was repeatedly dismissed and told his claim had no merit.
“At first I was going to let it go, but this song is my song all the way,” he said.