New York City braced on Sunday for a winter storm that was expected to bring five to eight inches of snow, with northern parts of Queens, Upper Manhattan and the Bronx expected to see the most accumulation.

The storm was forecast to start around 9 p.m. Sunday and last until 4 a.m. Monday. The city will receive about an inch of precipitation every hour during that time and there is a chance of lingering showers during the morning rush on Monday, city officials said.

“The morning commute will be problematic, there’s no doubt about that,” said Joseph J. Esposito, commissioner of the New York City Emergency Management Department.

The National Weather Service issued a winter storm warning effective from 1 p.m. Sunday to 7 a.m. Monday for northeastern New Jersey, southern Connecticut and parts of southeastern New York, including New York City.