Liberty-restricting measures have been implemented for centuries to limit the spread of infectious diseases. This article considers if and when it may be ethically acceptable to impose selective liberty-restricting measures in order to reduce the negative impacts of a pandemic by preventing particularly vulnerable groups of the community from contracting the disease. We argue that the commonly accepted explanation-that liberty restrictions may be justified to prevent harm to others when this is the least restrictive option-fails to adequately accommodate the complexity of the issue or the difficult choices that must be made, as illustrated by the COVID-19 pandemic. We introduce a dualist consequentialist approach, weighing utility at both a...