The girl was taken to Comer Children's Hospital in critical condition, where she was stabilized, police said.
The incident occurred at about 3 p.m. in the 9100-block of South Blackstone Avenue in the Calumet Heights neighborhood.
Preliminary information indicates that the shooting was an accident, police said.
The llinois Department of Children and Family Services has been notified, police said.