The organization of somatosensory input and the input-output relationships in regions of the agranular frontal cortex (AGr) and granular parietal cortex (Gr) were examined in the chronic awake guinea pig, using the combined technique of single-unit recording and intracortical microstimulation (ICMS). AGr, which was cytoarchitectonically subdivided into medial (AGrm) and lateral (AGrl) parts, also can be characterized on a functional basis. AGrl contains the head, forelimb, and most hindlimb representations; only a small number of hindlimb neurons are confined in AGrm. Different distributions of submodalities exist in AGr and Gr: AGr receives predominantly deep input (with the exception of the vibrissa region, which receives cutaneous input), whereas neurons of Gr respond almost exclusively to cutaneous input. The cutaneous or deep receptive field (RF) of each neuron was determined by natural peripheral stimulation. All studied neurons were activated by small RFs, with the exception of lip, nose, pinna, and limb units of lateral Gr (Grl), for which the RFs were larger. Microelectrode mapping experiments revealed the existence of three spatially separate, incomplete body maps in which somatosensory and motor representations overlap. One body map, with limbs medially and head rostrolaterally, is contained in AGr. A second map, comparable to the first somatosensory cortex (SI) of other mammals, is found in Gr, with hindlimb, trunk, forelimb, and head representations in an orderly mediolateral sequence. An unresponsive zone separates the head area from the forelimb region. A third map, with the forelimb rostrally and the hindlimb caudally, lies adjacent and lateral to the SI head area. This limb representation, which is characterized by an upright and small size compared to that found in SI, can be considered to be part of the second somatosensory cortex (SII). A distinct head representation was not recognized as properly belonging to SII, but the evidence that neurons of the SI head region respond to stimulation of large RFs located in lips, nose, and pinna leads us to hypothesize that the SII face area overlaps that of SI to some extent, or, alternatively, that the two areas strictly contiguous and the limits are ambiguous, making them difficult to distinguish. The input-output relationships were based on the results of RF mapping and ICMS in the same electrode penetration. The intrinsic specific interconnections of cortical neurons whose afferent input and motor output is related to identical body regions show a considerable degree of refinement.(ABSTRACT TRUNCATED AT 400 WORDS)