PurposeHealth service use is most intensive in the final year of a person’s life, with 80% of this expenditure occurring in hospital. Close involvement of primary care services has been promoted to enhance quality end-of-life care that is appropriate to the needs of patients. However, the relationship between primary care involvement and patients’ use of hospital care is not well described. This study aims to examine primary care use in the last year of life for cancer patients and its relationship to hospital usage.MethodsRetrospective cohort study in Victoria, Australia, using linked routine care data from primary care, hospital and death certificates. Patients were included who died related to cancer between 2008 and 2017.ResultsA total of 758 patients were included, of whom 88% (n = 667) visited primary care during the last 6 months (median 9.1 consultations). In the last month of life, 45% of patients were prescribed opioids, and 3% had imaging requested. Patients who received home visits (13%) or anticipatory medications (15%) had less than half the median bed days in the last 3 months (4 vs 9 days, p < 0.001, 5 vs 10 days, p = 0.001) and 1 month of life (0 vs 2 days, p = 0.002, 0 vs 3 days, p < 0.001), and reduced emergency department presentations (32% vs 46%, p = 0.006, 31% vs 47% p < 0.001) in the final month.ConclusionThis study identifies two important primary care processes—home visits and anticipatory medication—associated with reduced hospital usage and intervention at the end of life.