A device (10) for fixing a femur in hip endoprosthetics is described, comprising a femur support (18) having a bent hook part (36) that forms a supporting rest for the femur to be fixed in the region between greater trochanter and lesser trochanter, and having a shaft (38) connected to the hook part (36), a lever arm (20) having a column (22) and a cantilever (24), which has a receptacle (26) for attaching the shaft (38), an adjustment device (28) attached to an operating table (12) and a holder (30) coupleable to the adjustment device (28), at which holder (30) the column (22) of the lever arm (20) is attachable. The adjustment device (28) has a drive (32) for moving the column (22) in an adjustment plane, which is placed perpendicularly to the lying surface (16) of the operating table (12) and in parallel to the longitudinal direction thereof. The adjustment device (28) further has an axis of rotation (34) placed perpendicularly to the adjustment plane, about which axis of rotation (34) the holder (30) is rotatable in the adjustment plane by means of the drive (32) in order to pivot the column (22) in the adjustment plane.