Treatment scale-up has had major public health benefits. But where resources are scarce, interventions to keep people in care could be more cost-effective than moving to treat everybody living with HIV after diagnosis.