Neocortical pyramidal neurons are frequently myelinated. Diversity in the topography of axonal myelination in the cerebral cortex has been attributed to a combination of electrophysiological activity, axonal morphology, and neuronal-glial interactions. Previously, we showed that axonal segment length and calibre are critical determinants of fast-spiking interneuron myelination. However, the factors that determine the myelination of individual axonal segments along neocortical pyramidal neurons remain largely unexplored. Here, we used structured illumination microscopy and cell type-specific manipulations to examine the extent to which axonal morphology determines the topography of axonal myelination in mouse neocortical pyramidal neurons. We found that, unlike what was determined for fast-spiking interneurons, the joint combination of axonal calibre and interbranch distance does not predict axonal myelination in pyramidal neurons, rather it provides a minimum threshold for myelination; pyramidal neurons with an axon calibre and interbranch distance lower than 0.24 um and 19 um, respectively, are almost never myelinated. Moreover, we further confirmed that these findings in mice also extend to human neocortical pyramidal cell myelination, suggesting that this mechanism is evolutionarily conserved. Taken together, our findings suggest that axonal morphology is highly deterministic of the topography and cell-type specificity of neocortical myelination.