The shooting happened early Monday afternoon at a home near 297th Ave. & Tartesso Pakrway in Buckeye.
Police say the boy was rushed to Phoenix Children's Hospital where he underwent surgery.
The boy is now out of surgery and recovering in the hospitals intensive care unit.
"I saw the roped off caution tape, and the crime scene van, and I was just sick to my stomach," said Jesse Stone.Stone lives nearby and was home, but did not hear a gunshot.
Buckeye Police say they are still investigating who fired the shot. They are not releasing further details such as where the gun came from or who was inside the home.