Jersey City issued a boil-water advisory for all residents Friday morning, urging them to boil water for consumption through 5 p.m. Saturday.
The order was lifted shortly after the city's deadline by officials that said "the drinking water quality meets all regulatory requirements and is no longer necessary for customers to boil their water."
The advisory was prompted by a positive E. coli bacteria test at Christ Hospital in Jersey City.
Mayor Steven Fulop confirmed the order in a tweet, saying there was an "irregularity" during regular water testing Thursday in New Jersey's second-largest city.
The order will affect more than a quarter-million people.