Following a judge's orders, Adam Sapikowski will be moved from his cell at the Orange County Jail.
The Chapel Hill teen charged with murdering his parents will be relocated and held in custody at a hospital due to concerns about his mental well-being.
Court officials did not provide further details about the hospital.
Sapikowski, 17, appeared in court Wednesday in a bright orange jumpsuit for a placement hearing.
The hearing followed a recent motion filed concerning the teenager's emotional state.
"There is evidence that he may suffer some mental illness and may be in danger of himself and in need of treatment," Superior Court Judge Wade Barber told the courtroom.
Barber noted the situation is unusual because Sapikowski still is a minor and is being held without bond.
Sapikowski's attorney, Public Defender James Williams, requested bond for the teen at a previous hearing in June.
District Court Judge Charles Anderson denied the request for several reasons, including evidence that he could be a flight risk.