Police identified the suspects as Rainel Feliz-Perez, 20, of 33 Fessenden Street, Boston and Christopher M. Taylor, 34, of 736 Washington Street, Weymouth.
Weymouth Police Captain Richard Fuller said detectives had information about drug activity occurring at 118 Pierce Road in Weymouth involving Taylor and information regarding Feliz-Perez distributing heroin around the South Shore.
Weymouth Police observed Feliz-Perez pull up to 118 Pierce Road, which is not far from Weymouth Landing, and observed Taylor enter the vehicle, while monitoring the location on Wednesday at approximately 3:15 p.m.
After witnessing a drug transaction, police approached Taylor as he walked away from the vehicle. He quickly attempted to swallow several bags of heroin but was unsuccessful, Fuller said.
The suspect then admitted to having just purchased the heroin from Feliz-Perez, police said.
He was arrested and charged with possession to distribute heroin, conspiracy to violate the drug laws, possession of class B Suboxone, and he also had a warrant for his arrest for assault and battery, resisting arrest, and disorderly conduct.
Detectives then began searching for Feliz-Perez and located him making another heroin delivery at an address on East Street. Detectives followed him and stopped him at a nearby intersection.
Feliz-Perez also attempted to swallow several bags of heroin, but was also unsuccessful, Fuller said.
Detectives found over $500 from Feliz-Perez. He was arrested and charged with distribution of heroin, possession to distribute heroin, obstruction of justice, resisting arrest, and conspiracy to violate the drug laws, according to police.
Both suspects were held without bail overnight and are due to be arraigned in Quincy District Court on Friday.