An apparatus (4A, 4B) for measuring a wheelset of rail vehicles, in particular for measuring geometric and / or dynamic measurement variables of a wheelset of passing rail vehicles, is illustrated and described, comprising: an inner longitudinal frame element (5i) for arranging within the rails (1A, 1B) approximately parallel to the rails (1A, 1B), an outer longitudinal frame element (5a) for arranging outside the rails (1A, 1B) approximately parallel to the rails (1A, 1B), two transverse frame elements (6.1, 6.2) for arranging below the rails (1A, 1B) approximately transversely to the rails (1A, 1B), and fastening elements (13a, 13i) for connecting a measuring frame (8A, 8B, 8'), formed by the longitudinal frame elements (5a, 5i) and the transverse frame elements (6.1, 6.2), to the rail (1A, 1B). It is proposed that the inner longitudinal frame element (5i), the outer longitudinal frame element (5a) and the transverse frame elements (6.1, 6.2) are connected to one another by connecting elements (7) to form the measuring frame (8A, 8B, 8'), and that at least two of the connecting elements (7) are configured as releasable connecting elements (7), in particular as releasable clamping elements, with the result that the measuring frame (8A, 8B, 8') can be dismantled into at least two parts.