A magnetic resonance imaging (MRI) apparatus includes a processor, and a memory storing a program including instructions that, when executed by the processor, cause the processor to acquire first data of a subsampled magnetic resonance (MR) image, acquire, based on a learning model using a neural network, first reconstructed data with respect to rows of pixels in a first phase encoding direction of the first data of the subsampled MR image, and obtain a reconstructed image corresponding to the subsampled MR image, using the first reconstructed data.