Eliel Argudo-Tenorio was arrested just after 6:30 p.m. Tuesday in Oak Park, Chicago police said.
CPD said Argudo-Tenorio shot a 27-year-old man about 12:15 a.m. Tuesday in the 300-block of East Jackson Drive.
Police said the victim was riding his bicycle on the sidewalk when he heard shots and felt pain.
He was wounded in the upper leg and taken to Northwestern Memorial Hospital, where he later died, police said.
The Cook County Medical Examiner's Office identified the victim as 27-year-old Malik Jones of Chicago.
Video showed a Divvy bike surrounded by evidence markers after the shooting.
According to data from the Chicago Police Department, this marks the fifth person shot in the Loop community.
Argudo-Tenorio is due in court Friday.
The video in the player above is from an earlier report.
INTERACTIVE SAFETY TRACKER Track crime and safety in your neighborhood