A grimy would-be thief pulled a gun on a Queens Walgreens worker while his accomplice tried to steal detergent, police said Thursday.

One of the sticky-fingered goons was trying to Wisk the soap out a back exit of the store on Broadway near 47th Street at about 3:30 a.m. on Wednesday when a 39-year-old employee confronted him, officials said.

As the pair were squabbling, a second man ran into the store and whipped a black firearm, threatening the worker in an attempt to turn the Tide and Gain an advantage.

Both men made a clean getaway on foot — but without the detergent, cops said. It was unclear what caused them to flee, but the store employee was not injured in the scrape, officials said.

No arrests have been made.