NJ Transit says service was temporarily suspended on the two lines between Newark's Broad Street station and New York and Hoboken.
Service on the lines resumed just before 5:00 p.m. with one hour delays.
Numerous fire companies were working to try to contain the fire.