XXIV Corps was a corps of the Union Army during the American Civil War.
The Union Army of the James was formed in April 1864 under the command of Major General Benjamin Butler for the purpose of taking Richmond, Virginia and Petersburg, Virginia while the Union Army of the Potomac along with the separate IX Corps under the direction of Union General-in-chief Lieutenant General Ulysses S. Grant and the tactical command of Major General George Meade engaged Confederate General Robert E. Lee's Army of Northern Virginia in the Overland Campaign. In April 1864, the Army of the James was composed of the X Corps, the XVIII Corps and a cavalry division under the command of Brigadier General August V. Kautz. Butler failed to achieve his objectives in the Bermuda Hundred Campaign when his forces were stopped by a small Confederate force led by General P.G.T. Beauregard.