A nanny cam caught footage of a burglar crawling into the bedroom of a Queens home early Wednesday as the resident slept in a bed just feet away.

The burglar, who held a knife between his teeth, crept into the home on Union Street and 33rd Avenue in Flushing around 2:20 a.m., the New York Post reported.

Police said the suspect snatched a Samsung S6 cellphone from the top of a dresser before waking the 42-year-old homeowner.

That's when the burglar fled, police said. The homeowner was not hurt.

The suspect, who wore a black snow cap with the word “diamond” on it in red and white lettering, stands about 6-foot-2 and weighs approximately 200 pounds.

Watch the video below.