The duo, who were in an inebriated state, barged into the house of the 16-year-old victim last night and raped her, SHO, Nangal Rajawatan police station, Laxmikant Sharma said.
Later, when the victim raised an alarm, the accused threw her into a well near the house.
After she was rescued from the well, the victim was rushed to a nearby hospital where doctors referred her to Sawai Man Singh government hospital here for further treatment, Sharma said.
The accused, identified as Udai Meena and Anand Rajput, both aged around 25 years, have been detained and the matter is being probed, the SHO added.