A control device for an electric vehicle that generates a braking force when an accelerator pedal is not depressed to decelerate the electric vehicle, the control device for the electric vehicle comprising: a motor configured to generate a driving force or a regenerative braking force of the electric vehicle; a friction braking unit configured to generate a friction braking force; a battery charged by the regenerative electric power from the motor; and a controller configured to control at least one of the motor and the friction braking unit corresponding to the opening degree of the accelerator pedal, wherein: the controller determines whether the battery can be charged or not based on an available capacity of the battery; and the controller generates the braking force by the motor when the controller determines that the battery can be charged based on an available capacity of the battery; characterized in that the controller determines if a charging current (Ic) that flows toward the battery is positive or negative based on the motor torque command value (Tm*) and the motor rotation speed (ωm) when the controller determines that the battery cannot be charged based on the available capacity of the battery, and the charging current (Ic) is positive when the regenerative electric power by the motor exceeds the power consumption of the electric vehicle and the battery is charged; and the charging current (Ic) is negative when the regenerative electric power by the motor falls below the power consumption of the electric vehicle and the battery is discharged, the controller generates the regenerative braking force by the motor when the controller determines that the charging current (Ic) is negative, and the controller controls, before a start of a stop control that generates the regenerative braking force by the motor to stop the electric vehicle, the generation of the regenerative braking force by the motor such that the available capacity of the battery becomes equal to or more than a specified charging electric energy charged to the battery from the start of the stop control to a timing at which the regenerative electric power becomes equal to a power consumption consumed in the electric vehicle. the control device for the electric vehicle comprising: a motor configured to generate a driving force or a regenerative braking force of the electric vehicle; a friction braking unit configured to generate a friction braking force; a battery charged by the regenerative electric power from the motor; and a controller configured to control at least one of the motor and the friction braking unit corresponding to the opening degree of the accelerator pedal, a motor configured to generate a driving force or a regenerative braking force of the electric vehicle; a friction braking unit configured to generate a friction braking force; a battery charged by the regenerative electric power from the motor; and a controller configured to control at least one of the motor and the friction braking unit corresponding to the opening degree of the accelerator pedal, wherein: the controller determines whether the battery can be charged or not based on an available capacity of the battery; and the controller generates the braking force by the motor when the controller determines that the battery can be charged based on an available capacity of the battery; the controller determines whether the battery can be charged or not based on an available capacity of the battery; and the controller generates the braking force by the motor when the controller determines that the battery can be charged based on an available capacity of the battery; characterized in that the controller determines if a charging current (Ic) that flows toward the battery is positive or negative based on the motor torque command value (Tm*) and the motor rotation speed (ωm) when the controller determines that the battery cannot be charged based on the available capacity of the battery, and the charging current (Ic) is positive when the regenerative electric power by the motor exceeds the power consumption of the electric vehicle and the battery is charged; and the charging current (Ic) is negative when the regenerative electric power by the motor falls below the power consumption of the electric vehicle and the battery is discharged, the controller generates the regenerative braking force by the motor when the controller determines that the charging current (Ic) is negative, and the controller controls, before a start of a stop control that generates the regenerative braking force by the motor to stop the electric vehicle, the generation of the regenerative braking force by the motor such that the available capacity of the battery becomes equal to or more than a specified charging electric energy charged to the battery from the start of the stop control to a timing at which the regenerative electric power becomes equal to a power consumption consumed in the electric vehicle.