The recently explored inactive Tianzuo hydrothermal field, in the amagmatic segment of the ultraslow-spreading Southwest Indian Ridge (SWIR), is closely associated with detachment faults. In this site, sulfide minerals are hosted by serpentine-bearing ultramafic rocks and include high-temperature (isocubanite, sphalerite, and minor pyrrhotite) and low-temperature (pyrite I, marcasite, pyrite II, and covellite) phases. In this study, trace-element concentrations of isocubanite and pyrite II were used to elucidate mineralization processes in ultramafic rocks hosting sulfides. Results show that isocubanite is enriched in metals such as Cu, Co, Sn, Te, Zn, Se, Pb, Bi, Cd, Ag, In, and Mn, and pyrite II is enriched in Mo and Tl. The marked enrichment in Te, Cu, Co, and In in isocubanite (compared with Se, Zn, Ni, and Sn, respectively) is most likely due to the contribution of magmatic fluids from gabbroic intrusions beneath the hydrothermal field. The intrusion of gabbroic magmas would have enhanced serpentinization reactions and provided a relatively oxidizing environment through the dissolution of anhydrite precipitated previously in the reaction zone, within high temperature and low pH conditions. This might have facilitated the extraction of metals by initial hydrothermal fluids, leading to the general enrichment of most metals in isocubanite. Metals in pyrite II have compositions similar to those of isocubanite, except for strong depletion in magmatically derived Te, Cu, Co, and In. This means that serpentinization processes had a dominating role in pyrite II precipitation as well. The enrichment of pyrite II in Mo and Tl is also indicative of seawater contribution in its composition. The study concludes that serpentinization reactions contribute effectively both to high- and low-temperature sulfide mineralization at Tianzuo hydrothermal field, with gabbroic intrusions further promoting high-temperature sulfide mineralization, providing additional metals, fluids and heat. In contrast, low-temperature sulfide mineralization occurred during the cooling of gabbroic intrusions, with decreasing rates of serpentinization reactions and a significant influence of seawater.