Pyramidal neuron (PN) dendrites compartmentalize voltage signals and can generate local spikes, which has led to the proposal that their dendrites act as independent computational subunits within a multilayered processing scheme. However, when a PN is strongly activated, back-propagating action potentials (bAPs) sweeping outward from the soma synchronize dendritic membrane potentials many times per second. How PN dendrites maintain the independence of their voltage-dependent computations, despite these repeated voltage resets, remains unknown. Using a detailed compartmental model of a layer 5 PN, and an improved method for quantifying subunit independence that incorporates a more accurate model of dendritic integration, we first established that the output of each dendrite can be almost perfectly predicted by the intensity and spatial configuration of its own synaptic inputs, and is nearly invariant to the rate of bAP-mediated "cross-talk" from other dendrites over a 100-fold range. Then, through an analysis of conductance, voltage, and current waveforms within the model cell, we identify three biophysical mechanisms that together help make independent dendritic computation possible in a firing neuron, suggesting that a major subtype of neocortical neuron has been optimized for layered, compartmentalized processing under in-vivo-like spiking conditions.O n the path to understanding the diverse information processing functions of the brain, it is essential to develop simplified models of individual neurons. The classical view that a neuron collects excitatory and inhibitory influences from across its dendritic arbor and passively funnels them to a single spikegenerating zone near the soma has been challenged by the finding that dendrites generate local spikes (1-15) and can support a variety of compartmentalized computations (16-28). We previously showed that the input-output (i/o) behavior of a dendritic subtree, whose branches emanate from a main trunk or soma, can be described by a two-layer model (2LM), where the first layer consists of multiple independent dendritic "subunits" with stereotyped nonlinear i/o functions. In the second layer, corresponding to the soma, the dendritic outputs are summed and fed through the cell's somatic firing rate-current (f-I) curve (8,21,22,29) (Fig. 1A). The core assumption of the 2LM is that each dendrite's output depends only on its synaptic inputs, and is independent of the activity of other dendrites or the cell as a whole. The 2LM was previously tested in both experimental and modeling studies, outperforming passive dendrite (one-layer) models in predicting pyramidal neuron (PN) responses both to brief inputs leading to subthreshold somatic responses (8,29) and to high-frequency stimulation that produced output trains lasting hundreds of milliseconds (21,22). Notwithstanding the improved description of PN responses provided by two-layer models, a substantial fraction of the response variance remained unexplained by 2LM predictions in those previous studies (21, 22), leav...