The need of palliative care at the end-of-life in the emergency departments (ED) is growing. The study aims to investigate the epidemiology of patients who died during care in ED using nationwide database, and to estimate the need for palliative care in the ED. A retrospective observational study was conducted using the National Emergency Department Information System (NEDIS) database. Patients who died during ED care between 2016 and 2019 were included. Palliative care-eligible disease was defined as cancer (C00–C99 of ICD-10), chronic respiratory disease (CRD, J44–J46), chronic liver disease (CLD, K70–K77), and heart failure (HF, I50). Among the 36,538,486 ED visits during 4 years, 34,086 ED deaths were included. The crude incidence rate of ED deaths per 100,000 person-year was steady between 16.6 in 2016 and 16.3 in 2019 (p-for-trend = 0.067). Only 3370 (9.9%) ED deaths were injury, while 30,716 (90.1%) deaths were related to diseases. The most common ED diagnosis was cardiac arrest (22.1%), followed by pneumonia (8.6%) and myocardial infarction (4.7%). In cases of disease-related ED deaths, about 34.0% stayed longer than 8 h in the ED (median (interquartile range): 4.5 (1.9–11.7) h) and 44.2% received cardiopulmonary resuscitation (CPR) at end-of-life time. A quarter of the disease-related ED deaths were diagnosed with palliative care eligible disease: cancer (16.9%), CLD (3.8%), HF (3.5%), and CRD (1.4%). Cancer patients received less CPR (23.4%) and stayed longer in the ED (median (interquartile range): 7.3 (3.2–15.9) h). Over the past 4 years, more than 30,000 patients, including 5200 cancer patients, died during care in the ED. A quarter of disease-related ED death were patients with palliative care-eligible condition and more than 30% of them stayed longer than 8 h in the ED before death. It is time to discuss about need of palliative care in the ED.