No person over the age of 18 shall be imprisoned except in the common jail of the county, unless otherwise provided by law: Provided, that whenever the sheriff of any county shall be imprisoned, he may be imprisoned in the jail of any adjoining county. If the person being imprisoned is under the age of 18, that person shall be imprisoned in a detention facility approved by the Division of Juvenile Justice to provide secure confinement and care for juveniles, or to a holdover facility as defined in G.S. 7B-1501(11).
N.C. Gen. Stat. § 15-6