Condensation of imines with anhydrides has been proven to be a valuable method for the synthesis of tetrahydroisoquinolines. Herein, we describe the application of this chemistry with DNA-conjugated imines. It is proven to be an efficient way to deliver isoquinolone chemotypes for DNA-encoded library.