A novel and efficient route for the preparation of quinazolin-4(3H)-imines via a palladium-catalyzed three-component reaction of carbodiimide, isocyanide, and nucleophile is described. The palladium-catalyzed isocyanide insertion is believed to be the key step during the reaction process.