Question: is the series the affair based on a book

Answer: No, The Affair is an American television drama series created by Sarah Treem and Hagai Levi. The series premiered on Showtime on October 12, 2014. A TV-14 version of the pilot episode was made available online beginning on October 6, 2014, via YouTube, SHO.com, and several other on-demand formats.