A new method for preparing 3-amino-2-chloropyridines with a substituent (methyl, phenyl, carboxamide, methoxycarbonyl, acetyl, benzoyl and cyano) at the 4-position has been developed. An isoquinoline analogue of the reverse transcriptase inhibitor Nevirapine has been synthesized from the 4-amino-3-chloroisoquinoline.