Aims. This study aimed to identify risk factors (patient, healthcare system, and socioeconomic) for mortality after hip fractures and estimate their relative importance. Further, we aimed to elucidate mortality and survival patterns following fractures and the duration of excess mortality. Methods. Data on 37,394 hip fractures in the Norwegian Hip Fracture Register from January 2014 to December 2018 were linked to data from the Norwegian Patient Registry, Statistics Norway, and characteristics of acute care hospitals. Cox regression analysis was performed to estimate risk factors associated with mortality. The Wald statistic was used to estimate and illustrate relative importance of risk factors, which were categorized in modifiable (healthcare-related) and non-modifiable (patient-related and socioeconomic). We calculated standardized mortality ratios (SMRs) comparing deaths among hip fracture patients to expected deaths in a standardized reference population. Results. Mean age was 80.2 years (SD 11.4) and 67.5% (n = 25,251) were female. Patient factors (male sex, increasing comorbidity (American Society of Anesthesiologists grade and Charlson Comorbidity Index)), socioeconomic factors (low income, low education level, living in a healthcare facility), and healthcare factors (hip fracture volume, availability of orthogeriatric services) were associated with increased mortality. Non-modifiable risk factors were more strongly associated with mortality than