In this work, we show the in vitro anticancer potential of surgical wires, obtained from zinc (ZnMg0.004) or magnesium (MgCa0.7) alloys by spatial technology comprising casting, extrusion, and final drawing processes. We also present the selective anticancer effects of applied soluble multilayer nanocoatings of zinc and magnesium onto titanium surfaces using the pulse laser deposition method. In the latter, the titanium samples were produced via 3D printing using the selective laser melting method and coated with various combinations of zinc and magnesium layers. For cytotoxicity studies, human dental pulp-derived stem cells (hDPSCs) and human osteosarcoma SaOS-2 cell line were used as representatives of healthy and cancer cells. Cells were examined against the 0.3-3.0 cm2/mL material extract ratios obtained from experimental and steel surgical wires, the latter being the current clinical industry standard. The MgCa0.7 alloy wires were approx. 1.5 times more toxic to cancer cells at all examined extract ratios vs. the extracts from steel surgical wires that exhibited comparable toxicity towards healthy and cancer cells. The ZnMg0.004 alloy wires displayed increased toxicity towards cancer cells with decreasing extract ratios. This was also reflected in the increased anticancer effectiveness, calculated based on the viability ratio of healthy cells to cancer cells, from 1.1 to 4.0 times. Healthy cell viability remained at 80-100%, whereas cancer cell survival fluctuated at 20-75%, depending on the extract ratio. Furthermore, the culture of normal or cancer cells on the surface of Zn/Mg-coated titanium allowed us to select combinations of specific coating layers that yielded a comparable anticancer effectiveness to that observed with the experimental wires that ranged between 2 and 3. Overall, this work not only demonstrates the substantial anticancer properties of the studied wires but also indicates that similar anticancer effects can be replicated with appropriate nanocoatings on titanium samples. We believe that this work lays the groundwork for the future potential development of the category of new implants endowed with anticancer properties.