The study introduces an innovative approach to enhance the precision of metal-sensitive magnetometers used in unmanned aerial vehicles (UAVs). The three-pronged strategy comprises of using lightweight drone bodies produced via 3D printing, elongated rods, and electrical shielding. The system’s primary objective is to enhance reading accuracy, especially in regions with volcanic activity, hence improving safety and efficiency. The study highlights the need of integrating magnetometer data with other geophysical methods in order to comprehend metal depositions. The technology has potential applications in the fields of environmental protection, infrastructure inspection, and archaeology. The suggested approach entails the integration of drones equipped with magnetometers to enhance safety, efficiency, and precision in conducting surveys inside a volcanic region. The quadrotor drone equipped with magnetometers is a significant advancement in unmanned aerial vehicle (UAV) technology. It provides autonomous navigation capabilities, a magnetic interference compensator and a real-time metal detecting sensor.