During the 1864 Overland Campaign, Hagood brought a brigade north to Petersburg, Virginia, and fought under Major General Robert F. Hoke in the battles of Drewry's Bluff and Cold Harbor. He and his men served in the entrenchments at the Siege of Petersburg until December 1864, when Hoke's Division was ordered to the relief of Fort Fisher. Hagood commanded Fort Anderson during the Battle of Wilmington.