The threat is said to have been sent by email to the district court in the morning on Thursday.
The police and the security department are investigating the matter, reports P4 Uppland.
The negotiations that had started when the bomb threat became known were paused and the evacuation is said to have gone smoothly, according to UNT.