A multifunction rail brake has a brake beam (4) directly leading to the loose wheel (1) and a brake beam directly trailing from it, each linked on one side to vertical sections in a rotatable fashion. The respective beam end lying opposite works upon a flange friction brake (6) by means of a linkage (4.2) via a brake rod (6.1), or hydraulically.