The main terminal at Washington Dulles International Airport

Hundreds of flights out of major airports in New York and Washington were delayed or canceled Saturday because of a computer problem at a regional air traffic control center, aviation officials said.

Flights at Washington's Dulles International Airport, Reagan National Airport and Baltimore-Washington International Airport (BWI) were among those affected, as well as those at New York's John F. Kennedy International Airport and LaGuardia Airport.

Tracking service FlightAware reported that around 400 flights had been delayed or canceled across those airports.

Some flights at BWI were pushed back more than three hours, while a number of travelers at Dulles were told to expect delays of more than an hour.

"The FAA is diagnosing an automation problem at an air traffic center in Leesburg," the Federal Aviation Administration said, referring to the control center in the US state of Virginia, just south of Washington.

"Some flights into and out of the New York and Washington, DC metro area airports may be delayed," it added.

The FAA said is was directing high altitude traffic around the affected airspace.

BWI warned passengers to check with airlines for travel updates as the issue was being handled.

The affected airports are among the country's busiest, especially in the summer holiday months.

The delays had nothing to do with accidents or hacking, an aviation official said.