A domino Michael–Dieckmann–Peterson approach to the synthesis of functionalised hydroxyquinolines and hydroxyisoquinolines is described.