The child, Satya, fell into the abandoned borewell at Ramnagar village last evening and got stuck at a depth of around 25 feet.
As the news of the incident reached the district headquarters, the rescue operation was started immediately.
A 25-feet-deep pit parallel to the borewell was dug with the help of backhoe machines, Sehore District Collector Sudam Khade said.
A local health team also supplied oxygen into the borewell to enable the child to breathe, he said.
The rescuers managed to pull out the boy at around 5.30 am today after a 13-hour-long operation, Mr Khade said.
The child was rushed to the hospital where the doctors declared him dead, he said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.