In order to obtain excellent surface quality NiTi alloy for medical use,the effects of current density,polishing temperature,electrode spacing,and polishing time on the surface roughness of the alloy were studied.The experiment results show that when the current density is small,there are still deep scratches on the surface of the sample;when the current density is appropriately increased,the surface roughness is obviously reduced,and when the current density is too large,excessive corrosion will occur.With the increase in polishing temperature,the surface quality of the alloy decreases at first and then increases.When the distance between electrodes is small,the temperature of the polishing solution will increase,and over-corrosion pits will appear.If the electrodes spacing is too large,the current density will be reduced and the polishing effect will be worse.When the polishing time is short,the surface of the alloy has scratches that are not polished completely.If the polishing time is prolonged properly,a smooth surface will be obtained.If the polishing time continues to be increased,over-corrosion pits will appear on the alloy surface,and the surface quality will decrease.