Sustained attention requires the coordination of neural activity across multiple cortical areas in the frontoparietal network, in particular the prefrontal cortex (PFC) and posterior parietal cortex (PPC). Previous work has demonstrated that activity in these brain regions is coordinated by neuronal oscillations of the local field potential (LFP). However, the underlying coordination of activity in terms of organization of single unit (SU) spiking activity has remained poorly understood, particularly in the freely moving animal. We found that long-range functional connectivity between anatomically connected PFC and PPC was mediated by oscillations in the theta frequency band. SU activity in PFC was phase locked to theta oscillations in PPC, and spiking activity in PFC and PPC was locked to local high-gamma activity. Together, our results support a model in which frequency-specific synchronization mediates functional connectivity between and within PFC and PPC of the frontoparietal attention network in the freely moving animal.