Arrested are Joshua Tokos, age 19 of Bradley Creek Road, Johnson City and Joshua Gable, age 19 of Lee Avenue, Endwell.
They face felony drug charges.
Police say the two met with an undercover officer to sell some of the heroin.
That's when they were arrested.
Police say the two had 140 bags of heroin after returning from Patterson, New Jersey.