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.
Justin Bieber crashes Drake Bell's album release party
Rosie O'Donnell unveils nearly 50-pound weight loss