A Union Pacific train derailed Friday near the Netflix headquarters in the Northern California town of Los Gatos.
A spokeswoman for Union Pacific said two cars were forced off the tracks.
The closure affected thousands of Bay Area drivers.
"Winchester Boulevard isn't so bad, but freeway traffic is backed up pretty good," Los Gatos police Sgt. Randy Rimple told the San Jose Mercury News.
The track is only used by Union Pacific. Amtrak does not use this particular track.
No injuries were reported.
The trains that use this track go between the South Bay and Milpitas, according to Union Pacific.