A leaning vehicle comprising a brake assist control device which is mounted on a leaning vehicle body frame leaning rightward in a vehicle left-right direction when turning right and leaning leftward in the vehicle left-right direction when turning left and is configured to control an assisting braking force based on a front wheel brake operation amount of a front wheel brake operator, a rear wheel brake operation amount of a rear wheel brake operator, and a margin obtained based on the relationship between an obstacle and the leaning vehicle, in scenes in each of which a state where a front wheel braking force and a rear wheel braking force not including the assisting braking force are generated transitions to a state where a front wheel braking force and a rear wheel braking force including the assisting braking force are generated, based on the front wheel brake operation amount, the rear wheel brake operation amount, and the margin, the brake assist control device is configured to control the assisting braking force so that state transitions of the front wheel braking force and the rear wheel braking force include at least one of a state transition 1 or a state transition 2, characterised in that, in the state transition 1, a state where the rear wheel braking force is larger than the rear wheel braking force in an ideal braking force distribution when one rider rides on the leaning vehicle transitions to a state of coming close to the ideal braking force distribution when one rider rides so that at least the front wheel braking force increases, and then the transition to a state of changing along the ideal braking force distribution when one rider rides so that the front wheel braking force and the rear wheel braking force increase occurs, and in the state transition 2, a state where the front wheel braking force is larger than the front wheel braking force in the ideal braking force distribution when one rider rides on the leaning vehicle transitions to the state of coming close to the ideal braking force distribution when one rider rides so that at least the rear wheel braking force increases, and then transition to the state of changing along the ideal braking force distribution when one rider rides so that the front wheel braking force and the rear wheel braking force increase occurs. in scenes in each of which a state where a front wheel braking force and a rear wheel braking force not including the assisting braking force are generated transitions to a state where a front wheel braking force and a rear wheel braking force including the assisting braking force are generated, based on the front wheel brake operation amount, the rear wheel brake operation amount, and the margin, the brake assist control device is configured to control the assisting braking force so that state transitions of the front wheel braking force and the rear wheel braking force include at least one of a state transition 1 or a state transition 2, characterised in that, in the state transition 1, a state where the rear wheel braking force is larger than the rear wheel braking force in an ideal braking force distribution when one rider rides on the leaning vehicle transitions to a state of coming close to the ideal braking force distribution when one rider rides so that at least the front wheel braking force increases, and then the transition to a state of changing along the ideal braking force distribution when one rider rides so that the front wheel braking force and the rear wheel braking force increase occurs, and in the state transition 2, a state where the front wheel braking force is larger than the front wheel braking force in the ideal braking force distribution when one rider rides on the leaning vehicle transitions to the state of coming close to the ideal braking force distribution when one rider rides so that at least the rear wheel braking force increases, and then transition to the state of changing along the ideal braking force distribution when one rider rides so that the front wheel braking force and the rear wheel braking force increase occurs.