Viewegh’s first book was the novella "Názory na vraždu (Opinions on a Murder)", published in 1990. His first full-length novel was "Báječná léta pod psa (The Wonderful Years that Sucked)", a semi-autobiographical novel which portrayed Czechoslovakia between the Prague Spring in 1968 and the fall of communism in 1989. In 1997, it was adapted into a very successful film, directed by Petr Nikolaev.