The invention relates to a device and method for blocking a discarded well through an oil
pipe, the device comprises the oil
pipe, an intermediate casing and a melting tool, and the intermediate casing is vertically and fixedly installed on the discarded well; the oil
pipe is vertically and fixedly mounted in the intermediate casing, and the upper end of the oil pipe vertically and upwards extends out of the upper end of the intermediate casing; the melting tool can be lowered into an intermediate casing or an
open hole through an oil pipe, after the melting tool is lowered into the intermediate casing, a plurality of
metal balls can be released, the
metal balls are heated and melted into
liquid metal, and the
liquid metal is cooled and gradually solidified to form a
metal plug to plug the intermediate casing. The method has the beneficial effects that the design is reasonable, blocking of the discarded well can be completed on the basis that an oil pipe is not disassembled, and the
operation mode is simple; and meanwhile, a compact metal plug can be formed, the cost is low, the
air tightness is better, and the plugging effect is better.