In August 2021, Whitlock published his debut book, The Afghanistan Papers: A Secret History of the War.[7][8] Shortly before its publication, Whitlock discussed Afghanistan in an appearance on Real Time with Bill Maher.[9] The book debuted at number one on The New York Times nonfiction best-seller list for the week ending September 4, 2021.[10] The book was also included in the Wall Street Journal best-selling books list.[11] The book was reviewed by Kirkus Reviews,[12] New York,[13] The Guardian,[14] and The Sunday Times.[15] It was selected for The Washington Post's "10 Best Books of 2021" list.[16]