Frederick Krafft (1860–1933) was an American socialist political activist and politician. Twice nominated by the Socialist Party of America as its candidate for Governor of New Jersey and twice a candidate for United States Congress, Krafft is best remembered as the defendant in a 1918 trial for alleged violation of the Espionage Act. Krafft later was the only person convicted under this law to receive a full executive pardon from President Woodrow Wilson.