More than 75 million PSN and Qriocity subscribers had personal data stolen when the services were hacked last April, leading to customers in the US taking legal action.
The plaintiffs' complaint alleged that Sony "failed to follow basic industry-standard protocols to safeguard its customers' personal and financial information, thereby creating foreseeable harm and injury to the Plaintiff class."
However, district court judge Anthony Battaglia has now cleared the company of any wrongdoing and thrown out the case, reports The Register.
He said: "None of the named plaintiffs subscribed to premium PSN services, and thus received the PSN services free of cost.
"Plaintiffs freely admit, plaintiffs' personal information was stolen as a result of a criminal intrusion of Sony's Network. Plaintiffs do not allege that Sony was in any way involved with the data breach."
Battaglia went on to say that Sony cannot be held fully responsible for the breach as "there is no such thing as perfect security" and that "we cannot ensure or warrant the security of any information transmitted to us".
The plaintiffs have until November 9 to decide whether they wish to amend their lawsuit.