In September 2002, Boasberg became an Associate Judge of the Superior Court of the District of Columbia, where he served in the Civil and Criminal Divisions and the Domestic Violence Branch until his appointment to the federal bench in 2011. During the 111th Congress, DelegateEleanor Holmes Norton recommended Boasberg to fill a judicial vacancy on the United States District Court for the District of Columbia. On June 17, 2010, President Barack Obama formally nominated Boasberg to the District Court for the District of Columbia. Boasberg was confirmed on March 14, 2011 by a vote of 96 ayes to 0 nays. He received his commission on March 17, 2011.
On February 7, 2014 Chief Justice John G. Roberts announced that he would appoint Boasberg to the United States Foreign Intelligence Surveillance Court for a term starting May 18, 2014 to a seat being vacated by Reggie Walton. His term began May 18, 2014. On December 20, 2019, the FISC announced he will replace the Presiding Judge FISC January 1, 2020 and elevated to preside. In 2020, he was appointed to the United States Alien Terrorist Removal Court and designated as Chief Judge.
On April 26, 2012, Boasberg ruled that the public had no right to view government photos of a deceased Osama Bin Laden. Judicial Watch, a conservative legal group, had filed a request under the Freedom of Information Act, but were unsuccessful in convincing the Judge that FOIA rights outweighed national-security factors.
Registered tax return preparer regulations
On January 18, 2013, Boasberg issued a permanent injunction prohibiting the Internal Revenue Service from enforcing regulations on Registered Tax Return Preparers, which otherwise required tax return preparers to register with the IRS and pass a written test as evidence of competency. Loving v. Internal Revenue Service, No. 12-385. The IRS appealed and in 2014, the Court of Appeals upheld Boasberg's district court decision.
On August 22, 2016, Boasberg ordered the release of over 14,000 emails found in the United States Department of State correspondence of Hillary Clinton by the FBI during an investigation of Clinton's private server. These emails were requested by Judicial Watch, a conservative legal group, because the FBI has indicated that emails were work-related and not entirely private as Clinton had previously said.
Trump tax returns
On August 18, 2017, Boasberg dismissed a lawsuit from the Electronic Privacy Information Center, which had sued the IRS under FOIA seeking President Donald Trump's personal tax returns from 2010 to the present to be released. Boasberg concluded that because personal tax returns are confidential, they may only be obtained either by permission from Trump himself or if Congress's Joint Committee on Taxation signed off to allow the disclosure.
On March 25, 2020, Boasberg ordered a sweeping new environmental review of the Dakota Access Pipeline.
North Atlantic Right Whale
On April 9, 2020, Boasberg issued an opinion finding that the National Marine Fisheries Service violated the Endangered Species Act when it issued a Biological Opinion in 2014 allowing for the accidental killings of North Atlantic right whales by the American lobster fishery, which consists of seven areas spanning the East Coast from Maine to North Carolina. The whales become entangled in the ropes of the lobster gear.