In 1862, Merritt was appointed captain in the 2nd Cavalry and served as an aide-de-camp to Brig.
In the initial cavalry actions of the Battle of Gettysburg, Merritt saw no action; his reserve brigade guarded the lines of communications of the Army of the Potomac.