A braking force controller for a vehicle including a differential gear, a first actuator unit configured to generate a braking force in the vehicle by transmitting a force to a wheel via the differential gear, and a second actuator unit configured to generate a braking force in the vehicle by transmitting a force to the wheel without intervention of the differential gear, the braking force controller being configured to control the braking forces to be generated in the vehicle in a coasting state in which an operation amount of an accelerator pedal changes to 0 from a value other than 0 and an operation amount of a brake pedal is 0, the braking force controller comprising a processor, the processor being configured to: calculate a target jerk to be generated to obtain the braking forces, the target jerk being a target value of a jerk that is negative when a traveling direction of the vehicle is defined as a positive direction; calculate a first jerk that causes no shock in the differential gear when the first jerk is generated by the first actuator unit, the first jerk being a minimum jerk when the traveling direction of the vehicle is defined as the positive direction; calculate a second jerk generable by the second actuator unit, the second jerk being a minimum jerk when the traveling direction of the vehicle is defined as the positive direction; and control the first actuator unit and the second actuator unit to generate jerks at a start of the coasting state, wherein the processor is configured to: i) cause the first actuator unit to generate the target jerk when the target jerk is equal to or larger than the first jerk; ii) cause the first actuator unit to generate the first jerk and the second actuator unit to generate a jerk obtained by subtracting the first jerk from the target jerk as an additional jerk when the target jerk is smaller than the first jerk and equal to or larger than a sum of the first jerk and the second jerk; and iii) cause the first actuator unit to generate the first jerk and the second actuator unit to generate the second jerk as the additional jerk when the target jerk is smaller than the sum of the first jerk and the second jerk. calculate a target jerk to be generated to obtain the braking forces, the target jerk being a target value of a jerk that is negative when a traveling direction of the vehicle is defined as a positive direction; calculate a first jerk that causes no shock in the differential gear when the first jerk is generated by the first actuator unit, the first jerk being a minimum jerk when the traveling direction of the vehicle is defined as the positive direction; calculate a second jerk generable by the second actuator unit, the second jerk being a minimum jerk when the traveling direction of the vehicle is defined as the positive direction; and control the first actuator unit and the second actuator unit to generate jerks at a start of the coasting state, wherein the processor is configured to: i) cause the first actuator unit to generate the target jerk when the target jerk is equal to or larger than the first jerk; ii) cause the first actuator unit to generate the first jerk and the second actuator unit to generate a jerk obtained by subtracting the first jerk from the target jerk as an additional jerk when the target jerk is smaller than the first jerk and equal to or larger than a sum of the first jerk and the second jerk; and iii) cause the first actuator unit to generate the first jerk and the second actuator unit to generate the second jerk as the additional jerk when the target jerk is smaller than the sum of the first jerk and the second jerk. i) cause the first actuator unit to generate the target jerk when the target jerk is equal to or larger than the first jerk; ii) cause the first actuator unit to generate the first jerk and the second actuator unit to generate a jerk obtained by subtracting the first jerk from the target jerk as an additional jerk when the target jerk is smaller than the first jerk and equal to or larger than a sum of the first jerk and the second jerk; and iii) cause the first actuator unit to generate the first jerk and the second actuator unit to generate the second jerk as the additional jerk when the target jerk is smaller than the sum of the first jerk and the second jerk.