Serotonin-mediated intercellular communication has been implicated in myriad human behaviors and diseases, yet how serotonin communicates and how the communication is regulated remain unclear due to limitations of available monitoring tools. Here, we report a method multiplexing genetically encoded sensor-based imaging and fast-scan cyclic voltammetry, enabling simultaneous recordings of synaptic, perisynaptic, proximate and distal extrasynaptic serotonergic transmission. Employing this method alongside a genetically encoded sensor-based image analysis program (GESIAP), we discovered that heterogeneous firing patterns of serotonergic neurons create various transmission modes in the mouse raphe nucleus and amygdala, encoding information of firing pulse frequency, number, and synchrony using neurotransmitter quantity, releasing synapse count, and synaptic and/or volume transmission. During tonic and low-frequency phasic activities, serotonin is confined within synaptic clefts due to efficient retrieval by perisynaptic transporters, mediating synaptic transmission modes. Conversely, during high-frequency, especially synchronized phasic activities, or when transporter inhibition, serotonin may surpass transporter capacity, and escape synaptic clefts through 1‒3 outlet channels, leading to volume transmission modes. Our results elucidate a mechanism of how channeled synaptic enclosures, synaptic properties, and transporters collaborate to define the coding principles of activity pattern-dependent serotonergic transmission modes.