  We present an overview of the options for diffraction implemented in the
general-purpose event generator Pythia 8. We review the existing model for soft
diffraction and present a new model for hard diffraction. Both models use the
Pomeron approach pioneered by Ingelman and Schlein, factorising the diffractive
cross section into a Pomeron flux and a Pomeron PDF, with several choices for
both implemented in Pythia 8. The model of hard diffraction is implemented as a
part of the multiparton interactions (MPI) framework, thus introducing a
dynamical gap survival probability that explicitly breaks factorisation.
