This study aimed to explore the palliative care needs of inpatients in the final stages of illness and to analyze the factors that influence them. The survey comprised 349 inpatients in the terminal stage of disease. Needs were assessed with the Patient Needs Assessment in Palliative Care (PNAP) questionnaire; mental status was evaluated using the Hospital Anxiety and Depression Scale (HADS) questionnaire. The importance of needs varied with respect to patients' diagnosis, age, gender, religion, and their levels of anxiety and depression. Most frequently, predictors of needs importance were lower age, poorer functional status, higher anxiety, and lower depression scores. Unmet needs were more likely to be indicated by nonreligious patients with better functional status and higher anxiety and depression scores.