Austin Romain and Khalif Phillips face federal charges after prosecutors say they sold marijuana to inmates inside Rikers Island.
They're also accused of smuggling marijuana, cigarettes and scalpels into the facility.
Each faces 10 years in prison if convicted.
The pair was arrested on Monday.