Unlike previous studies that have only shown altered prefrontal activity in response to stimuli in MeCP2-deficient models, our study identifies specific stimulus-tuned ensembles in the prefrontal cortex and their dysregulated activity patterns underlying social deficits in Rett syndrome (RTT). The gene discussed is MECP2; the disease is Rett syndrome.