On March 1, 1862, Timrod enlisted into the military as a private in Company B, 20th South Carolina Regiment, and was detailed for special duty as a clerk at regimental headquarters, but his tuberculosis prevented much service, and he was sent home.