Patiraj Chauhan, 42, and Pramod Ram, 30, were taking out the bricks from the 60-ft deep well's wall yesterday when the wall collapsed suddenly around noon.
Both the workers were trapped under the debris which was removed with the help of three JCB machines. It took 11 hours to take the bodies out from debris.
Police have recovered both the bodies and sent them for postmortem.