The first syntheses of privileged [5,6]-bicyclic heterocycles,w ith ring-junction nitrogen atoms,b yt ransition metal catalyzedC ÀHf unctionalization of C-alkenyl azoles is disclosed. Several reactions are applied to alkenyl imidazoles, pyrazoles,a nd triazoles to providep roducts with nitrogen incorporated at different sites.A lkyne and diazoketone coupling partners give azolopyridines with various substitution patterns.Inaddition, 1,4,2-dioxazolone coupling partners yield azolopyrimidines.F urthermore,t he mechanisms for the reactions are discussed and the utility of the developed approach is demonstrated by iterative application of CÀHf unctionalization for the rapid synthesis of apatented drug candidate.