John Mahlon Barnes (1866–1934) was an American trade union functionary and socialist political activist. Barnes is best remembered as the Executive Secretary of the Socialist Party of America from 1905 to 1911, during which time he originated the idea of the party's 1908 "" campaign train on behalf of its Presidential nominee, Eugene V. Debs.