It was the third train accident in Tacoma in two months.
Seven cars of a freight train heading through the city derailed Thursday.
The Burlington Northern Santa Fe train was on its way from Pasco to Seattle when the seven empty flat cars came off the tracks, BNSF spokesman Gus Melonas said.
The accident happened about 3 p.m. along Dock Street downtown, close to the state Route 509 cable bridge.
Premium content for only $0.99
For the most comprehensive local coverage, subscribe today.
No one was hurt, and no hazardous materials leaked, Melonas said.
Crews got the cars, five of which were on their sides and two of which were upright, back on the track Friday.
The train had 106 cars total, 69 of which were carrying cargo. The rest were empty. Melonas said the cargo included diesel, ethanol, flour, minerals and other freight.
Nothing spilled, he said.
Other trains were not delayed by the derailment because they were able to use an adjacent track, Melonas said.
On Sept. 3, a Tacoma Rail train hit an idle BNSF train near Lincoln Avenue and Port of Tacoma Road.
On Aug. 28, two locomotive engines collided in the 2300 block of Cleveland Way and punctured diesel tanks on both engines, which contained about 3,000 gallons of fuel.