Early in his legal career, Moody first was elected city solicitor of Haverhill, Massachusetts in 1888. After appointment as the District Attorney for Eastern Massachusetts in 1890, he gained widespread notoriety in 1893 as the junior prosecutor in the Lizzie Borden murder case. While his efforts were unsuccessful he was generally acknowledged as the most competent and effective of the attorneys on either side.
U.S. Congress
He was elected to the U.S. House of Representatives from Massachusetts, and served from 1895 until 1902. He served on the powerful Appropriations Committee, and also held seats on Insular Affairs, Expenditures in the Department of Justice, and the Joint Commission on the Transportation of the Mails. He was a candidate to succeed Thomas B. Reed as Speaker in 1899, but the post was won by David B. Henderson.
Secretary of the Navy
During President Theodore Roosevelt's administration, Moody served as the Secretary of Navy from 1902 to 1904. He oversaw the start of the Roosevelt-era expansion of the Navy, including an increase in the number of ships, as well as an effort to increase manpower by improving efforts to recruit sailors from non-coastal states. Moody also negotiated with the government of Cuba for the original lease that permitted construction and occupation of the Guantanamo Bay Naval Base.
Moody served as Attorney General from 1904 to 1906. In this post, Moody actively followed Roosevelt's trust-busting policies, negotiating with 'good' trusts like U.S. Steel but prosecuting 'bad' ones like Standard Oil. After failing to convince William Howard Taft to take the seat, on December 3, 1906, Roosevelt nominated Moody as an Associate Justice of the U.S. Supreme Court and Moody was confirmed on December 12, 1906. He took his seat on the Court on December 16, 1906.
U.S. Supreme Court
Moody's service on the Court was brief but eventful, and he authored 67 opinions and five dissents. His most noted opinion was in the minority in Employers Liability Cases, where he held that Congress' power to regulate interstate commerce included the ability to legislate management's relationship with employees. While he generally supported enhanced federal powers, opinions as Twining v. New Jersey, where he held that the Fifth Amendment's protection against compulsory self-incrimination did not apply to cases presented in state courts, made him hard to pigeonhole. He also wrote for a unanimous court in the famous case of Louisville & Nashville Railroad Co. v. Mottley, which limited federal question jurisdiction to cases in which the plaintiff's cause of action was based on federal law. By 1908, Moody suffered severe rheumatism. This affected Moody to such an extent that his last sitting on the bench was May 7, 1909, when he left for a brief rest and never returned. With the age- and health-enfeebled Supreme Court of 1909 crippled, Taft urged Moody, then the youngest justice at 55, to step down. After Taft successfully lobbied Congress for a Special Act to grant Moody retirement benefits not normally granted unless justices reached age 70 or 10 years of service, Moody retired from the Court on November 20, 1910.
Death and burial
Moody was not married, and had no children. He died in Haverhill, Massachusetts on July 2, 1917, and was buried at Byfield Cemetery in Georgetown, Massachusetts.
After Moody's death, some of his official papers were placed in the custody of Professor Felix Frankfurter, then of Harvard Law School. They are now in the collection of Frankfurter's papers in the Manuscript Division of the Library of Congress. Moody's office furnishings and papers were donated to the Haverhill Historical Society and there is a Moody Room open to the public at the Buttonwoods Museum in Haverhill that features his personal collection. USS Moody was named for him. In 2018, television and film actor Jay Huguley portrayed Moody in Lizzie, a biographical thriller film about Lizzie Borden.