A Metra spokesperson said the fire started above one set of tracks shortly after a train departed.
The cause of the fire isn't known but investigators are trying to determine if sparks from the tracks were responsible.
There were no evacuations and train service was not disrupted.