Danish Qureshi, 25, of Huntington Station, N.Y., is accused of hiding a small camera in a phony smoke detector looking over the women's bathroom at Dunkin' Donuts, Newsday reported Monday.
"This is one aberrant act committed by a store employee using poor judgment," a Dunkin' Donuts statement said.
Police said a man who had similar equipment reported Qureshi's plan when he accidentally picked up footage of the bathroom on his home system.
It is reported Qureshi is facing charges of second-degree unlawful surveillance, which is a Class E felony.
He was let out of police custody on $7,500 bail Sunday after being arraigned at First District Court in Central Islip, N.Y., the report said.
Celebrity Breakups and divorces of 2014 [PHOTOS]