Marsh joined the Union Army from Randolph, New York, in August 1861. He fought in the Battles of Fair Oaks (aka Seven Pines), Gettysburg, and Spotsylvania, and was wounded each time. He was mustered out in September 1864.