Two-dimensional MRF is considered to be less sensitive to in-plane motion than conventional imaging techniques. However, in scanning populations prone to rapid and extensive motion, challenges remain. Here, we suggest a two-step 3D MRF procedure that includes the correction of subject motion during the reconstruction. In the first step, we reconstruct the data in small segments consisting of images with equal contrast and calculate the between-segment motion. In the second step, we perform motion correction and use corrected images for matching with dictionary. This results in higher quality of reconstructed images and better precision of quantitative maps.