With the outbreak of hostilities, Pleasants became a second lieutenant in the 6th Pennsylvania Volunteer Infantry, which enlisted for only three months. He re-enlisted as a captain in the 48th Pennsylvania Volunteer Infantry Regiment in July 1861. The regiment initially saw service in the Western Theater but came to the Eastern Theater and fought in such battles as Antietam, Second Bull Run, Fredericksburg and in the Wilderness.