The cellular basis of cerebral cortex functional architecture remains not well understood. A major challenge is to monitor and decipher neural network dynamics across broad cortical areas yet with projection neuron (PN)-type resolution in real time during behavior. Combining genetic targeting and wide-field imaging, we monitored activity dynamics of subcortical-projecting (PTFezf2) and intratelencephalic-projecting (ITPlxnD1) types across dorsal cortex of mice during different brain states and behaviors. ITPlxnD1 and PTFezf2 neurons showed distinct activation patterns during wakeful resting, spontaneous movements, and upon sensory stimulation. Distinct ITPlxnD1 and PTFezf2 subnetworks were dynamically tuned to different sensorimotor components of a naturalistic feeding behavior, and optogenetic inhibition of subnetwork nodes disrupted specific components of this behavior. Lastly, ITPlxnD1 and PTFezf2 projection patterns are consistent with their subnetwork activation patterns. Our results show that, in addition to the concept of columnar organization, dynamic areal and PN type-specific subnetworks are a key feature of cortical functional architecture linking microcircuit components with global brain networks.