The invention relates to a method for detecting leaks in at least one brake pressure line (26, 28), under braking pressure (C), of a compressed air brake device (1) of a rail vehicle comprising an indirect electro-pneumatic brake, wherein the indirect electro-pneumatic brake has a master air vessel line (HB) to hold a master air vessel line pressure, and a compressed air source (7) supplying the master air vessel line (HB) with compressed air and is controlled by the master air line pressure in a master air line (HL), wherein the at least one brake pressure line (26, 28) under braking pressure (C) extends between a valve device (12), which controls the braking pressure (C) in dependence upon the master air line pressure in the master air line (HL), and at least one brake actuator (3), and wherein the method comprises a braking test carried out when the rail vehicle is stationary, having at least the following steps: a) checking whether, in the event of replenishment of compressed air from the compressed air source (7) into the master air vessel line (HB) being cut off, the master air vessel line pressure exceeds a preset limit value; and if so, b) controlling the master air line pressure in the master air line (HL) to apply the at least one brake actuator (3). According to the invention, within the framework of the braking test, the following further steps are carried out: c) monitoring the master air vessel line pressure to see whether c1) the value of the master air vessel line pressure arising after application of the at least one brake actuator (3) deviates by more than a preset difference from a preset plausible value for the master air vessel line pressure, and/or c2) in the period between the beginning and the end of the application of the at least one brake actuator (3), the pressure gradient of the master air vessel line pressure exceeds a preset pressure gradient; and d) if c1) and/or c2) applies, generating an error message that there is a leak in the at least one brake pressure line (26, 28).