The Second Battle of Funkstown (more commonly simply referred to as the Battle of Funkstown) took place near Funkstown, Maryland, on July 10, 1863, during the Gettysburg Campaign of the American Civil War. Union forces of the Army of the Potomac attacked the rear guard of the Confederate Army of Northern Virginia during its retreat from Pennsylvania following the Battle of Gettysburg.