According to one embodiment, a magnetic resonance imaging apparatus includes a spectrum acquisition unit, a resonance frequency acquisition unit and an imaging unit. The spectrum acquisition unit is configured to acquire frequency spectra of magnetic resonance signals from an object with changing a suppression effect or an enhancing effect of signals from a specific material. The resonance frequency acquisition unit is configured to obtain a resonance frequency of the specific material or another material based on an index representing a difference in intensities of signals from the specific material or the another material between the frequency spectra. The imaging unit is configured to perform imaging using a radio frequency pulse of which center frequency is set to the resonance frequency of the specific material or the another material.