His ancestors were of English extraction, and the family in America was first established in Virginia, removing thence to South Carolina before the revolution. He was graduated at the Citadel military academy in 1847, and then studying law was admitted to the bar in 1850. Throughout his subsequent career he maintained an association with the State military forces, holding the rank of brigadier-general when South Carolina seceded. He was then elected colonel of the First regiment, and after participating in the reduction of Fort Sumter was ordered to Virginia, where he was present at the first battle of Manassas. Returning to South Carolina with his regiment he was engaged in the operations about Charleston and the battle of Secessionville, June, 1862, after which he was promoted brigadier-general. Until May, 1864, he served on the coast of the State, in defense of Charleston during Gillmore's siege, and was distinguished for gallantry in the defense of Fort Wagner and the operations on James island. On May 6, 1864, part of his brigade arrived at Petersburg and immediately went into battle at Walthall Junction with the advancing forces of Butler, and a few hours later General Hagood arrived with reinforcements. With three regiments, the Twenty-first, Twenty-fifth and Twenty-seventh South Carolina, he repulsed Butler's advance, "at least two brigades," on the 7th; and on the 9th, the remainder of his brigade having come up, the Eleventh regiment and Seventh battalion, he was again engaged. As General Beauregard has written: "General Hagood and his command became the heroes of the day, and were justly looked upon as the saviors of Petersburg on that occasion." At the battle of Drewry's Bluff, May 16th, Hagood, with great vigor and dash, drove the enemy from the outer lines in his front, capturing a number of prisoners and three 20-pound Parrotts and two fine Napoleons. These Parrott guns were afterward used in shelling Butler's transports, causing him to set about the famous Dutch Gap canal. In June Hagood and his gallant men fought at Cold Harbor, and soon afterward were sent to meet Grant before Petersburg, the brigade being the first of Hoke's division to reach the field, June 16th, at the critical moment and save Petersburg for the second time. During the siege which followed his brigade served in the trenches at one period sixty-sevcn days without relief, and was reduced in numbers from 2,300 to 700 present for duty. In August, 1864, during the fighting on the Weldon railroad, 200 of his men, he accompanying them, charged into the enemy's works at a re-entering angle, and found themselves under a severe cross-fire, and about to be surrounded. A Federal officer rode up, seized the colors of the Eleventh and called upon them to surrender, when General Hagood, on foot, his horse having been killed, demanded the return of the colors, and ordered the officer back to his lines. This being refused, he shot the Federal officer from his horse, the colors were regained by Orderly Stoney, and the intrepid general mounted his antagonist's horse and brought off his men. General Beauregard warmly commended this act of gallantry of a "brave and meritorious officer," and recommended him for promotion. When Wilmington was threatened in December, Hagood was sent to the relief of Fort Fisher. Subsequently he participated in the North Carolina campaign, including the battles of Kinston and Bentonville, and was surrendered with Johnston's army, the brigade then containing less than 500 officers and men. During the exciting period of reconstruction he took a conspicuous part in the movement which finally brought about the election of General Hampton in 1876, and he was elected on the same ticket as comptroller-general, having previously rendered services of great value in investigating the financial condition of the State and the State bank. He and Gen. James Conner were the advisers and executive officers of General Hampton during the perilous period preceding the recognition by President Hayes of the Hampton government. In 1878 he was re-elected comptroller, and in 1880 he was honored with the highest office in the gift of the commonwealth. His admirable reorganization of the finances of the State was fitly complemented by his honest, business-like and common-sense administration as governor. By his marriage to Eloise, daughter of Senator A. P. Butler, he had one son, Butler Hagood. The death of General Hagood occurred at Barnwell, January 4, 1898.