According to one embodiment, a magnetic resonance imaging apparatus includes a gradient magnetic field power supply, a voltmeter, and processing circuitry. The gradient magnetic field power supply includes an amplifier amplifying an input signal based on information of a gradient magnetic field waveform and outputting the amplified input signal to a gradient coil, a power supply device supplying power to the amplifier, and a capacitor bank supplying power, together with the power supply device, to the amplifier. The voltmeter measures a voltage of the capacitor bank. The processing circuitry calculates frequency characteristics of an impedance of the gradient coil, based on a voltage variation of the capacitor bank which was measured by the voltmeter, and controls imaging in accordance with the calculated frequency characteristics.