On May 23, 1862, Hampton was promoted to brigadier general, while commanding a brigade in Stonewall Jackson's division in the Army of Northern Virginia.
On August 3, 1863, Hampton was promoted to major general and received command of a cavalry division.