The principle of double effect is widely used to permit the administration of narcotics and sedatives with the intent to palliate dying patients, even though the administration of these drugs may cause hastening of death. In recent medical literature, this principle's validity has been severely criticized, causing health care providers to fear providing good palliative care. Most of the criticisms levelled at the principle of double effect arise from misconceptions about its purpose and origins. This discussion will explore how virtue-based ethics can overcome the most important challenge to the principle of double effect's validity, that of its reliance on intention to determine whether the administration of analgesia is ethically acceptable.