A brake-by-wire brake system which has at least one brake circuit, the brake-by-wire brake system having a pedal-actuated master brake cylinder, to which the brake circuit is hydraulically connected via a normally open isolation valve, having an electromotively actuatable brake pressure transducer to which the brake circuit is connected via a normally closed brake valve, and having a reservoir which is connected both to the master brake cylinder and via a suction valve to the brake pressure transducer, wherein, in the connection between the reservoir and the master brake cylinder, there is incorporated a diagnostic valve which is composed of a check valve, which blocks in the direction of the reservoir, and of a restrictor connected in parallel with respect to said check valve, and wherein the diagnostic valve is accommodated in a connection bore, which is situated in the wall of the master brake cylinder, for receiving a connector of the reservoir.