Authorities busted nine suspected members of a narcotics trafficking ring in the Bronx and Westchester — where they found drugs and weapons inside secret car and furniture compartments, officials said Thursday.

In one search, agents found 17,000 glassines of heroin concealed in a hidden section of a dresser and, on another property, drugs and cash secreted in chambers inside three vehicles.

“The arrests announced today took merchants of death and their deadly products off the streets of the Bronx and Westchester,” said the city’s Special Narcotics Prosecutor Bridget G. Brennan.

“Even as customer overdoses and deaths mounted, their business flourished. They stockpiled not only cash but an arsenal of deadly weapons.”

Agents seized over 30 pounds of heroin and fentanyl, over $170,000 in cash and half a dozen firearms in the operation.

On Oct. 9, Ismael Lugo and Ricardo Gonzalez were arrested inside a stash house on Holland Avenue in the Bronx, where they were seated a table in front of a pile of powder, according to the city’s Special Narcotics Prosecutor.

Agents seized $100,000 in cash, six guns, including an assault rifle, and 17,000 glassine envelopes of heroin concealed in a hidden dresser compartment, officials said.

In another court-authorized search, at Lugo’s Elmsford home, authorities seized $10,000 in cash and about 11 pounds of heroin and fentanyl.

Inside three cars on the property, agents discovered hidden “trap” compartments that contained approximately 250 grams of fentanyl and over $35,000 in cash, officials said.

On Thursday morning, authorities rounded up six members of the narcotics ring, Macario “Mac” Vasquez, Victor Munett, Charles Underwood, Gabriel Velasquez, Joshua Vega, Hermelinda Anglada and Frank Laboy for their alleged roles in the operation.

Street-level managers Vasquez and Munett allegedly sold narcotics to undercover officers more than a dozen times between May of 2018 and August 2019.

But Vasquez overdosed in June and suffered permanent health problems, forcing him to hand over control to Munett, a source told the Post.

Authorities launched the two-year investigation in response to two fatal overdoses and two non-fatal ODs in the Bronx and Westchester in 2017, officials said.

The defendants face serious drug charges, ranging from conspiracy to criminal possession of a controlled substance.