Invariant sensory coding is the robust coding of some sensory information (e.g., stimulus type) despite major changes in other sensory parameters (e.g., stimulus strength). The contribution of large populations of neurons (ensembles) to invariant sensory coding is not well understood, but could offer distinct advantages over invariance in single cell receptive fields. To test invariant sensory coding in neuronal ensembles evoked by single whisker stimulation as early as primary sensory cortex, we recorded detailed spatiotemporal movies of evoked ensemble activity through the depth of rat barrel cortex using microelectrode arrays. We found that an emergent property of whisker evoked ensemble activity, its spatiotemporal profile, was notably invariant across major changes in stimulus amplitude (up to >200-fold). Such ensemble-based invariance was found for single whisker stimulation as well as for the integrated profile of activity evoked by the more naturalistic stimulation of the entire whisker array. Further, the integrated profile of whisker array evoked ensemble activity and its invariance to stimulus amplitude shares striking similarities to "funneled" tactile perception in humans. We therefore suggest that ensemble-based invariance could provide a robust neurobiological substrate for invariant sensory coding and integration at an early stage of cortical sensory processing already in primary sensory cortex.