Thirteen freight train cars derailed Monday in the San Bernardino County community of Colton.
No injuries were immediately reported in the derailment near 5th and K streets.
Aerial video showed about a dozen derailed cars, many loaded with lumber.
A spokesperson for Union Pacific Railroad said the locomotive briefly caught fire. Flames were soon extinguished.