Magpies fly with a variable pattern of wingstroke, including high-amplitude rapid flaps and low-amplitude slower flaps with interspersed brief glides. This allowed us to test the hypothesis that if phasic coordination between respiratory and wingbeat cycles is important mechanically and energetically, then, as a bird changes its wingbeat cycle, its respiratory cycle should change with it. We also tested the strength of the drive to coordinate respiratory to locomotor cycles by stimulating breathing with 5 % CO2 during flight. We found that magpies (N=5) do shorten their breath cycle time when they shorten their wingbeat cycle time and prolong their breath cycle time when they glide. When the coordination ratio of wingbeat cycles to breaths is 3:1, the pattern of phasic coordination ensures two upstrokes per inspiration and two downstrokes per expiration. Upstroke tends to coincide with the transition into inspiration or with early inspiration and late inspiration. Downstroke tends to coincide with the transition into expiration or with early expiration and late expiration. When magpies switch from a 3:1 ratio to a 2:1 ratio of wingbeat cycles to breaths, they shorten inspiratory time to ensure that upstroke occurs through most of inspiration and downstroke corresponds to the transition into expiration. These phasic coordination patterns ensure that the compression of the airsacs during downstroke can provide a net assistance to expiration and that the expansion of the airsacs with upstroke can provide a net assistance to inspiration. The failure of an atmosphere containing 5 % CO2 to disrupt these phasic coordination patterns between respiratory and locomotory cycles suggests that there may be a potent mechanical and energetic benefit to such coordination.