The incident took place at Deeghi village in Pahasu area, SP (Rural) Vijay Gautam said.
The boy, identified as Sunil, took the girl to a farm promising her chocolate and raped her there, he said.
The accused has been arrested and he has confessed to the crime, the SP said.