This study aimed to determine the optimal direction of the frequency-encoding gradient when acquiring T2WI-STIR images with titanium alloy. To investigate this, we made in vitro MRI experiment. The water-pork phantom with ten different-length titanium alloys was constructed, and the short- and long-axis ratios calculated in different frequency-encoding directions were compared with each other, respectively. We found that when the frequency-encoding axis was perpendicular to the screw, the metallic artifact was smaller in whatever long axis or short axis. This result may improve observing more anatomical structures around the embedded metal.