James Cavanagh (1831 – 7 January 1901) was an Irish-American soldier. He was the first general officer in the New York Guard.