MRI is widely used in radiation therapy planning, particularly in stereotactic radiosurgery for brain metastases. The article addresses the geometric distortion of MRI images, which can lead to errors in radiation therapy planning. A series of experiments with a simple phantom were conducted on two MRI scanners with 0.5 T and 1.5 T magnetic fields. Deviations in the positions of the phantom objects from their actual locations were observed. The detected deviations can reach up to 5 mm. A theoretical dependence of the magnetic field gradient on the distance to the center of homogeneity was calculated, which agrees well with the approximation of experimental data. An assessment was made of the dependence of the image area distortion of objects located at the center of the field homogeneity on their actual sizes. It was found that the area deviation can reach up to 20%.