A cordon sanitaire was used as a plot device by Albert Camus in his 1947 novel The Plague.
In The Last Town on Earth, a 2006 novel by Thomas Mullen, the town of Commonwealth, Washington in 1918 imposes a reverse cordon sanitaire to avoid the Spanish Flu, however the disease is introduced by a wandering soldier.