The palladium-catalyzed oxidative coupling of pyrido- and benzotriazol-1-yloxyquinazolines and -thienopyrimidines with aryl boronic acids in the presence of Pd(PPh3)4 and Cs2CO3 under oxygen in DME containing 0.4−0.8% water for the preparation of heteroaryl ethers is described. These transformations of triazol-1-yloxy reagents demonstrate excellent O-chemoselective control under mild conditions and good yields. Mechanistic studies based on 18O labeling indicate that phenols as intermediates in SNAr reactions with ethers are formed in oxidative and nonoxidative pathways.