Police said a shooting nearby may have led to the crash. Emergency crews hat to cut out one person who was trapped in one of the cars, but no one was seriously injured.
Two people were taken into custody after the crash, police said.
All Metra Rock Island line operations returned to normal as of 8:30 p.m.