Palliative care for the older person is often limited, resulting in poor quality of dying. Pharmacological management can be one of the components to achieve better symptom control.To describe the anticipatory prescription of medication for symptomatic treatment and the deprescription of potentially inappropriate medication during the last days of life.This was a cross-sectional descriptive study between October 1, 2012 and September 30, 2013 in 23 acute geriatric wards in Flanders, Belgium. Structured after-death questionnaires were filled out by the treating geriatrician for patients hospitalized for more than 48 hours before dying.Anticipatory prescription of medication was present in 65.4% of cases, 45.5% of the cases was prescribed morphine, 15.5% benzodiazepines, and 13.8% scopolamine hydrobromide. A deprescription of potentially inappropriate medication was noted in 67.9% of cases. The likelihood of anticipatory prescription was significantly higher in cases where death was expected (odds ratio [OR] 19; 95% CI 9–40; P < 0.0001) and significantly lower where dementia was present (OR 0.35; 95% CI 0.16–0.74; P < 0.006). The likelihood of deprescription was higher in cases where death was expected (OR 20; 95% CI 10–43; P < 0.0001) and in cases of patients dying from an oncological disease compared with those dying from frailty or dementia (OR 7.0; 95% CI 1.1–45.6, P = 0.042).Anticipatory prescription of medication and deprescription of medication at the end of life in acute geriatric wards could be further optimized. A well-developed intervention to guide health care staff in patient-centered pharmacological management in the last days of life seems to be needed.