5th Regiment, North Carolina Infantry
5th Regiment, North Carolina Infantry was organized at Halifax, North Carolina, in July, 1861. It surrendered with the Army of Northern Virginia 9 April 1865. On 12 April 1865, 81 members of the 5th Regiment North Carolina State Troops were paroled. 
Companies in this Regiment with the Counties of Origin
Men often enlisted in a company recruited in the counties where they lived though not always. After many battles, companies might be combined because so many men were killed or wounded. However if you are unsure which company your ancestor was in, try the company recruited in his county first.
Company A - many men from Cumberland County.
Company B - many men from Gates County
Company C - many men from Johnston County
Company E - many men from Rowan County
Company F - many men from Bertie County
Company G - many men from Wilson County
Company H - many men from Gates County
Company I - many men from Caswell County
The information about the companies comes from A Guide to Military Organizations and Installations North Carolina 1861-1865.
Information about the companies and their rosters are in Manarin and Jordan, North Carolina Troops 1861-1865: a roster. 
- Beginning United States Civil War Research gives steps for finding information about a Civil War soldier. It covers the major records that should be used. Additional records are described in ‘North Carolina in the Civil War’ and ‘United States Civil War, 1861 to 1865’ (see below).
- National Park Service, The Civil War Soldiers and Sailors System, is searchable by soldier's name and state. It contains basic facts about soldiers on both sides of the Civil War, a list of regiments, descriptions of significant battles, sources of the information, and suggestions for where to find additional information.
- North Carolina in the Civil War describes many sources, specifically for North Carolina, and how to find them. These include compiled service records, pension records, rosters, cemetery records, Internet databases, published books, etc.
- United States Civil War, 1861 to 1865 describes and explains United States and Confederate States records, rather than state records, and how to find them. These include veterans’ censuses, compiled service records, pension records, rosters, cemetery records, Internet databases, published books, etc.
- Brotherton, Marvin K. (Marvin Kenneth). Civil War tragedy : the Lipe family of Mooresville, N. C. (Davidson, North Carolina : M.K. Brotherton, c1993), FHL book 929.273 L663b
- John Wheeler Moore. Roster of North Carolina Troops in the War between the States, volume 1. (Raleigh: Ash & Gatling, State printers, 1882). Internet Archive.
- National Park Service, The Civil War Soldiers and Sailors System, (accessed 24 January 2018).
- Guide to Military Organizations and Installations North Carolina 1861-1865, (accessed 23 March 2011)
- Manarin, Louis H., and Weymouth T. Jordan. North Carolina Troops 1861-1865: a roster. Vol 3. Raleigh, N.C. : State Dept. of Archives and History, 1966. FHL book975.6 M2nc Vol. 4