Medical students and physicians should possess basic knowledge concerning medical ethics and palliative care. The aim of the study was to explore the knowledge on the end-of-life ethics and palliative care in third-year medical students and physicians during internal medicine specialty training and their attitude towards breaking bad news and euthanasia. A voluntary and anonymous questionnaire survey with the participation of 401 students and 217 physicians filled after lectures concerning ethics for medical students and after palliative medicine course for physicians during internal medicine specialty training. A total of 28 % students and 24 % physicians (p = 0.282) were ready to reveal full information to advanced cancer patients. A total of 82 % of students and 90 % of physicians (p = 0.008) would not practice euthanasia; 67 % of students and 75 % of physicians (p = 0.039) were opponents of euthanasia legalisation. A total of 70 % doctors and 23 % students indicated oral as the most preferable route of morphine administration. A total of 74 % physicians and 43 % students stated that there is no maximal dose of morphine; 64 % of doctors and 6 % of students indicated constipation as a constant adverse effect of morphine. Breaking bad news is a significant difficulty for both students and physicians. There is a small percentage of those tending to practice euthanasia and bigger accepting its legalisation with fewer physicians than students. In contrast to medical students, the majority of physicians have knowledge concerning chronic morphine use in the treatment of cancer patients.