An electric vehicle controller includes an inverter that drives a motor by receiving power supplied from an overhead line, a brake chopper circuit that includes a switching device and a braking resistor and is connected in parallel with the inverter, a voltage detector that detects a bus voltage applied to DC buses, and a control unit that performs power consumption control of causing the braking resistor to consume regenerative power supplied from the motor and overvoltage suppression control of suppressing the bus voltage from being excessive. The control unit controls the switching device such that a second duty ratio used at the time of performing the overvoltage suppression control is lower than a first duty ratio used at the time of performing the power consumption control.