The John Joseph Moakley United States Courthouse is a federal courthouse for the United States Court of Appeals for the First Circuit and the United States District Court for the District of Massachusetts, located on Fan Pier on the Boston, Massachusetts waterfront.