A break from the field, followed by a return to Africa, set Anderson to work on the story that eventually became City of Saints and Thieves. Working out of Kenya, she thought about writing a novel set in Nairobi that dramatized the experiences that drove refugees there from the Congo.