Aims. Cemented hemiarthroplasty is an effective form of treatment for most patients with an intracapsular fracture of the hip. However, it remains unclear whether there are subgroups of patients who may benefit from the alternative operation of a modern uncemented hemiarthroplasty – the aim of this study was to investigate this issue. Knowledge about the heterogeneity of treatment effects is important for surgeons in order to target operations towards specific subgroups who would benefit the most. Methods. We used causal forest analysis to compare subgroup- and individual-level treatment effects between