Trapier was born in 1815 at a plantation called "Windsor" located along the Black River near the city of Georgetown, South Carolina. In 1834 he attended the United States Military Academy at West Point, and graduated four years later standing third out of 45 cadets. P.G.T. Beauregard, whom Trapier would serve under later in life, placed second in this same class.