AbstractThe present work shows that the effect of several heat treatments on the corrosion resistance and mechanical properties of Ti6Al4V processed by selective laser melting (SLM). The microstructure of Ti6Al4V alloy produced by selective laser melting exhibited bulky prior β columnar grains, and a large amount of fine acicular martensites α′ were observed inside the prior β columnar grains. The acicular martensitic α′ were transformed to a mixture of α and β after heat treatment, and the grain size increases with the increase of heat‐treated temperature. The results of 3.5 wt% NaCl solution electrochemical corrosion test showed that the heat‐treated samples possess a higher corrosion resistance than the as‐received sample. Among of them, the sample after heat‐treated at 730 °C exhibited best corrosion resistance and excellent fracture strain. The sample heat treated at 1015 °C showed worst mechanical properties due to the formation of Widmanstätten structure.