Many methods are used to locate preoperative small pulmonary nodules. However, deficiencies of complications and success rates exist. We introduce a novel magnetic gel for small pulmonary nodules localization in rabbit model, and furtherly evaluate its safety and feasibility. Rabbits were used as the experimental objects. A magnetic gel was used as a tracer magnet, mixed as sodium alginate-Fe3O4 magnetic fluid and calcium gluconate solution. In short-term localization, a coaxial double-cavity puncture needle was applied to inject the gel into the lung after thoracotomy, and a pursuit magnet made of Nd-Fe-B permanent magnetic materials was used to attract the gel representing location of the nodule. In long-term localization, the gel was injected under X-ray guidance. Imaging changes to the lung were observed under X-ray daily. Thoracotomy was performed to excise tissue containing the gel, and hematoxylin–eosin staining was used to observe the tissue on postoperative days 1, 3, 5, and 7. Observe tissues morphology of heart, liver, spleen, and kidney in the same way. The gel was formed after injection and drew lung tissue to form a protrusion from the lung surface under the applied magnetic field. No complication was observed. The shape and position of the gel had not changed when viewed under X-ray. Pathological analysis showed the gel had a clear boundary without diffusion of magnetic fluid. All tissues retained good histologic morphology and no magnetic fluid was observed. Our study preliminarily suggested that the technique using sodium alginate-Fe3O4 magnetic gel to locate small pulmonary nodules with guidance of X-ray, and to search for them under an applied magnetic field during the operation is safe and feasible.