A concise synthesis of 4-imino-3,4-dihydroquinazolin-2-ylphosphonates via a palladium-catalyzed reaction of carbodiimide, isocyanide, and phosphite.