This is the data about improving corrosion resistance of laser powder bed fusion 316L stainless steel by modifying the microstructure through heat treatment.