During the Civil War, Thaxter was a member of the 1st Maine Volunteer Cavalry Regiment. He earned his Medal of Honor for his actions at the Battle of Boydton Plank Road in October 1864.