Purpose: To cope with intrafraction tumor motion, integrated MRI-linac systems for real-time image guidance are currently under development. The multileaf collimator (MLC) is a key component in every state-of-the-art radiotherapy treatment system, allowing for accurate field shaping and tumor tracking. This work quantifies the magnetic impact of a widely used MLC on the MRI field homogeneity for such a modality. Methods: Results: Conclusions: This work shows that the MRI field distortions caused by the MLC cannot be ignored and must be thoroughly investigated for any MRI-linac system. The numeric distortion values obtained for our1.0T magnet may vary for other magnet designs with substantially different fringe fields, however the concept of modest increases in the SID to reduce the distortion to a shimmable level is generally applicable.