A nematode has 302 neurons, arranged into ganglia distributed along its body. There are roughly forty million possible ways to order those ganglia. The arrangement the animal actually has is the one that requires the least total connection length, out of all forty million.
That result, from a 1994 study of component placement optimization in the brain, is the cleanest single statement of the principle this whole subject runs on. The same analysis found the save-wire principle predicting the grouping of individual neurons into ganglia and their positioning within them, and the relative placement of mammalian cortical areas. Nervous systems are not arranged according to a logical scheme, or a functional hierarchy, or anything a designer would draw. They are arranged to minimize the cost of the wire, and that constraint is strong enough to determine the layout exactly in a system small enough to check exhaustively.
Brain architecture is the study of what falls out of that. Neural tissue is metabolically ruinous, axons occupy volume that a body has to carry and feed, and signals take time to travel proportional to distance. Every nervous system is a solution to a packing-and-routing problem under those three costs, and an enormous amount of the structure people treat as functionally meaningful turns out to be what a shortest-wiring solution looks like when you draw it. That is the frame the rest of comparative neuroscience has to be read against.
The three costs brain architecture is paying
The costs are worth separating because they pull in slightly different directions and different animals weight them differently.
Volume is the first. Axons and dendrites occupy space, and in cortex the wiring occupies roughly sixty percent of the tissue with the cell bodies and everything else fitting into the remainder. That ratio is close to what optimization analysis predicts should minimize conduction delay for a given amount of connectivity, which is a striking fit for a structure nobody designed. A brain is mostly cable. That ratio also explains why cortical thickness is so conserved across mammals, varying by a factor of two or three while surface area varies by orders of magnitude: a sheet has to stay thin enough that vertical connections remain short, so growth goes tangentially and the sheet gets folded rather than thickened.
Energy is the second. Neural tissue consumes energy at roughly ten times the rate of the body average, human brains take about twenty percent of resting metabolism, and most of that goes to restoring ion gradients after signaling rather than to maintaining the cells. That makes every action potential a purchase, and it is why sparse coding, where few neurons are active at any moment, is the standard arrangement rather than an efficiency measure. Estimates of the metabolically affordable activity level in cortex run to a small percentage of neurons firing at any moment, which means a brain cannot use most of its capacity simultaneously even in principle, and the representations it builds have to be sparse for reasons of energy rather than of information theory.
Time is the third and it is the one that scales worst. A signal takes longer to travel further, and while myelin buys speed without volume, it does not remove the relationship. In a large brain, distant regions cannot be tightly coordinated because the round trip is too slow.
Those three interact. Fatter axons conduct faster and cost more volume. More connections improve integration and cost energy and space. Every brain sits somewhere in that tradeoff space, and the position is set by body size, ecology, and what the animal has to do quickly. A small fast animal weights conduction delay heavily and can afford dense connectivity because everything is close together. A large animal has the opposite problem, and much of what distinguishes a large brain architecturally is the set of workarounds for distances a small brain never encounters.
The scaling problem that forces structure
Here is the arithmetic that shapes every large nervous system, and it is unforgiving.
If a network of N units were fully connected, the number of connections scales with N squared. Double the neurons and you quadruple the wiring. Since each connection also gets longer as the structure grows, total wire volume scales worse than that, and volume added to accommodate wiring pushes everything further apart, which lengthens the wiring again. The feedback runs away.
No brain above a few thousand neurons is anywhere near fully connected, and the departures are systematic. Connectivity density falls as brain size rises, meaning a neuron in a large brain is connected to a smaller fraction of the total than a neuron in a small one. Long-range connections become disproportionately rare and disproportionately valuable. And the tissue segregates.
The segregation into gray and white matter is a direct consequence rather than a historical accident. Modeling work asking why brains separate cell bodies from long axonal tracts found that the optimal design depends on neuron number, interconnectivity, and axon diameter, and that the requirement to connect many neurons with fast axons is precisely what drives the segregation into white and gray matter. Small brains do not need it. Large ones cannot avoid it.
White matter volume scales faster than gray matter volume across mammals, following a power law, which means an increasing share of a larger brain is cable rather than computation. Extrapolate far enough and a brain becomes almost entirely wiring, which is a real constraint on how large a usefully connected brain can get.
The consequences show up as architecture. Modularity emerges because clustering connections locally is cheaper than distributing them globally. Hierarchy emerges because a module can communicate with another module through a small number of relay connections rather than by connecting every unit to every unit. Small-world topology, meaning dense local clustering plus a sparse set of long-range shortcuts, is what you get when you optimize for short path lengths under a wiring budget, and it appears in essentially every nervous system anyone has measured.
Worth naming what small-world topology buys, since the term gets used loosely. A network with only local connections has short wires and terrible global integration, since information has to hop through many intermediate steps to cross the structure. A randomly connected network has excellent integration and ruinous wiring cost. Small-world sits between them: mostly local connections plus a small number of long shortcuts, which recovers most of the integration for a small fraction of the wire. It is the cheapest arrangement that keeps the whole network within a few steps of itself.
Connectomes, and what they turned out to answer
For most of the history of neuroscience, the wiring diagram was inferred rather than known. That changed recently and the change is worth registering because it converted a large class of arguments into measurements.
The nematode came first, in 1986, with 302 neurons and around seven thousand connections traced by hand from electron micrographs over more than a decade. It remained the only complete adult connectome for nearly forty years.
In October 2024 the FlyWire consortium published the complete wiring diagram of an adult fruit fly brain: over one hundred and thirty thousand neurons and more than fifty million connections, reconstructed from twenty-one million electron microscope images. That is the first complete adult connectome since the worm, in an animal with genuine behavioral complexity.
In April 2025 the MICrONS consortium published functional connectomics spanning multiple areas of mouse visual cortex, a cubic millimeter containing over two hundred thousand cells, roughly four kilometers of axon, and more than half a billion synapses, with the unusual addition that the same tissue had been functionally imaged before it was sectioned, so activity and connectivity are available for the same neurons.
What those datasets settled is worth being precise about, because the field oversold connectomics early and is now delivering something different from what was promised. They did not produce an explanation of behavior by inspection. Knowing every connection in a fly brain does not tell you what the fly is doing, any more than a circuit diagram tells you what a program computes.
What they did produce is a reference. Structural hypotheses that were previously arguments about anatomy can now be checked, cell types can be defined by connectivity rather than by appearance, and the wiring statistics that this entire subject depends on can be measured rather than estimated. The scaling gap remains enormous: reaching a whole mouse brain requires roughly a thousand-fold increase over the current cubic millimeter, and a human brain would require something like a million-fold improvement in mapping throughput.
Maps, columns, and the argument about cortical structure
Topographic mapping is the most visible organizational principle in brain architecture, and it is a wiring-economy result rather than a representational one.
Adjacent points on the retina project to adjacent points in visual cortex. Adjacent points on the body surface project to adjacent points in somatosensory cortex. Adjacent frequencies map to adjacent positions in auditory cortex. The maps are distorted according to receptor density and behavioral importance, which is why a human somatosensory map devotes disproportionate area to hands and lips and a star-nosed mole devotes it to a nose.
The reason maps exist is that computations frequently need to compare neighboring points, and if neighbors in the world are neighbors in the tissue those comparisons require short connections. A scrambled map would compute identically and cost vastly more wire. Topography is a layout solution.
Cortical columns are the contested case and the argument is instructive. The original observation was that neurons in a vertical penetration through cortex share response properties while a tangential penetration crosses through changing ones, which generated the idea of the column as cortex’s fundamental computational unit. It became one of the most influential concepts in neuroscience and it has been substantially challenged. Columns are absent in some species and some cortical areas, their dimensions vary in ways that resist a common definition, and a prominent critique argued the column may be a structure without a function, present where developmental mechanics produce it and absent where they do not.
The reasonable current position is that vertical organization is real, that periodic columnar structure is a variable rather than a universal, and that the enthusiasm for the column as the cortical algorithm outran the evidence. The same overreach pattern ran through the avian forebrain, where an anatomical naming decision was treated as a functional finding for a century.
Cortical folding belongs in the same category. Gyrification is substantially a mechanical consequence of a sheet expanding faster in surface area than the volume containing it, producing buckling, with tension along axonal connections plausibly influencing where the folds land. It is not a design feature added to increase surface area. It is what happens when you grow a sheet inside a skull.
The two body plans of thought
Above the level of wiring statistics, nervous systems come in two broad architectural styles, and the difference is one of the deepest in comparative neuroscience.
Vertebrates build laminar structures: sheets of tissue with cell types stratified by depth, connections running within and between layers, and the sheet folded to fit. Cortex, cerebellum, retina, and tectum all follow this plan. Layers make certain wiring patterns cheap, since a cell can contact a whole population by extending a process perpendicular to the sheet. They also make certain computations natural: a sheet with retinotopic organization can implement a local operation across the whole visual field by repeating the same circuit at every point, which is why layered structures show up wherever a spatial map is being processed.
Invertebrates build nuclear structures: clusters of cell bodies surrounding a central neuropil where all the connections happen, with the somata pushed to the outside. Insect brains, cephalopod brains, and annelid ganglia all follow this plan. The arrangement segregates metabolic support from connectivity, and it packs a great deal of synaptic contact into a small volume by putting all the wire in one place and all the cell bodies around the outside where blood supply can reach them. For a small animal that has to fit a brain into a head a millimeter across, that is the better packing.
Neither is obviously superior and both support sophisticated computation. What matters is that the same computations get implemented in both, which is the strongest available evidence that the layout is a packaging decision rather than an algorithmic one. Pattern separation runs on an expansion-and-convergence architecture in the vertebrate cerebellum and in the insect mushroom body, in laminar and nuclear tissue respectively, and the computation is the same.
Body plan constrains both. Bilateral symmetry produces paired structures and a midline that connections have to cross. Segmentation produces repeated ganglia, and the distributed-with-oversight arrangement that recurs across arthropods is a direct consequence of a segmented body needing local control at each segment. Sensors cluster at the leading end because that is where the world arrives first, and processing clusters next to the sensors because conduction delay costs time.
Hubs, and the price of being important
Network analysis of connectomes turned up a structural feature that is consistent enough across species to look like a principle.
Connection distributions are heavy-tailed rather than uniform: most regions have moderate connectivity and a small number have far more. Those hubs are disproportionately connected to each other, forming what has been called a rich club, and they carry a large share of the traffic between distant parts of the network.
The economic logic is straightforward. If long-range connections are the expensive resource, concentrating them through a small number of well-connected relay points is cheaper than distributing them evenly, in the same way that airline networks route through hubs rather than flying every city pair.
The cost is fragility. Hub regions are metabolically expensive, they show high baseline activity, and they are disproportionately implicated in neurological and psychiatric disorders, which is the expected failure profile for components that are heavily used and hard to route around. Damage to a hub disconnects more than damage to a peripheral region carrying the same number of connections.
The developmental origin of hubs is straightforward and slightly deflating. Regions that develop early have more time to accumulate connections and end up more connected, which means much of the hub structure is a consequence of timing rather than of functional importance being recognized and rewarded. The architecture assembles itself out of when things happen.
That tradeoff between efficiency and robustness is not a biological quirk. It appears in every distributed system that has to move information under a cost constraint, and the fact that brains, colonies, and infrastructure networks converge on hub-and-spoke topology is a statement about the problem rather than about neurons. It belongs in the same category as the other solutions that keep getting rebuilt because the constraint forces them.
How brain architecture scales, and what actually varies
Comparative brain architecture reveals that some features scale predictably and others do not, and the exceptions are where the interesting biology sits.
Brain size scales with body size across animals with an exponent well below one, meaning larger animals have larger brains and proportionally smaller ones. Small animals are dramatically more encephalized: some ants carry brains approaching a sixth of body mass, and the smallest insects face a genuine miniaturization problem, with some parasitoid wasps having neurons whose cell bodies lose their nuclei in the adult because there is no room.
Neuron density is where the assumptions broke. Density is not constant, and the scaling rules differ between orders. Primates pack neurons at roughly constant density as brains enlarge, while rodents show density falling with size, which means a primate brain and a rodent brain of the same mass contain very different neuron counts. That single difference resolves a great deal of confusion about brain size comparisons, and it is why the elephant’s 257 billion neurons distribute so unlike a primate’s.
What does not vary much is the wiring statistics. Small-world topology, hub structure, modular organization, sparse coding, and the approximate ratio of wiring to cell bodies in cortex appear across species with enormous differences in size and lineage. The architecture is more conserved than the anatomy, which is what you would expect if the architecture is a solution to a physical problem all of them share.
Brain architecture also has one genuinely strange scaling exception worth flagging. Miniaturization runs into hard floors. An axon below a certain diameter becomes unreliable because the number of ion channels involved is small enough that random channel openings can trigger spurious action potentials, which sets a physical minimum on wire thickness that no amount of selection can push past. Very small animals are therefore operating close to a noise limit that larger ones never approach, and the insects running sophisticated behavior on a few hundred thousand neurons are doing it with components near the edge of what physics permits to work at all.
What connectomes cannot tell you
The limits deserve their own section, because the enthusiasm around wiring diagrams has repeatedly outrun what they deliver.
A connectome is a snapshot of one individual. Nervous systems differ between individuals, change with experience, and in many species change seasonally, so a static map describes a configuration rather than a system.
A connectome is anatomy, not function. It does not record whether a synapse is excitatory or inhibitory without additional information, does not capture synaptic strength or its modification, and does not include neuromodulation, which is the mechanism by which the same circuit produces different behavior under different conditions. A famous demonstration in crustacean stomatogastric ganglia showed that an identical wiring diagram can generate multiple distinct motor patterns depending on modulatory state, which means the diagram underdetermines the behavior.
That gap is the reason parasites and pharmaceuticals work on neuromodulatory systems rather than on connections: the broadcast layer sits underneath the wired layer and reconfigures what the wiring does.
And the worm is the cautionary case. The C. elegans connectome has been complete since 1986, the animal has 302 neurons, and behavior still cannot be predicted from the wiring alone. Four decades with a complete map of the simplest available nervous system, and the map was necessary and nowhere near sufficient.
There is also a variability problem that gets underplayed. Even in the worm, where cell identities are fixed and named, connectomes reconstructed from different individuals differ measurably in their connections, and the differences are large enough that any claim about a specific connection needs to specify which animal. In a mammal the between-individual variation is far larger, which means a cubic millimeter of one mouse describes one mouse.
Development, and how the shape gets built
None of this architecture is specified directly in a genome, and the mechanisms that produce it are the reason wiring economy works as an explanation at all.
There is nowhere near enough genomic information to encode a wiring diagram. A human genome holds on the order of a few billion base pairs against something like a hundred trillion synapses, which means connectivity cannot be a blueprint. What the genome specifies is a set of local rules and gradients, and the structure emerges from running them.
The rules are largely chemical and geometric. Growth cones at the tips of extending axons navigate gradients of attractive and repulsive guidance molecules, following the local slope rather than a global map. Cells that are born together tend to end up together, so developmental timing produces spatial clustering, which produces modularity for free. Activity then refines the result, with connections that fire together stabilizing and connections that do not getting pruned, which is why the critical periods that lock circuitry in place matter so much for final structure.
Overproduction and pruning is the striking part of the strategy. Nervous systems build far more neurons and far more connections than they retain, then delete the ones that do not earn their keep, with substantial fractions of neurons dying during normal development. That is expensive and it is apparently cheaper than specifying the right connections in advance, which is a statement about how hard the specification problem is.
The consequence for the wiring-economy argument is important. Nothing is computing a shortest path. Axons follow local gradients, cells that develop together stay together, and unused connections are removed, and a near-optimal layout falls out of those local rules without anything representing the optimization. It is the same relationship between local rules and global structure that produces a shortest foraging path in an ant colony, and neither system contains a representation of the thing it optimizes.
The claims that do not hold up
An audit, because brain architecture generates a specific set of durable errors.
The brain is a computer with the connectome as its circuit diagram is a bad analogy in a specific way. Computers separate memory from processing and run on fixed hardware executing variable instructions. Nervous systems store information in the same structures that process it and modify the hardware as they run.
Bigger brains are better fails on the scaling rules, since neuron density differs by order and total neuron count predicts less than expected.
Cortical folding evolved to increase surface area inverts the causation. Folding is what a rapidly expanding sheet does inside a constrained volume.
The cortical column is the fundamental unit of cortical computation is contested and was overclaimed.
Each brain region has a function is a mapping error. Regions participate in multiple functions, functions recruit multiple regions, the same computation appears in different tissue in different lineages, and the localization inferred from imaging is a statement about relative activation rather than about where a capacity resides.
We use ten percent of our brain has nothing to do with architecture and is false regardless, since a tissue this expensive would not be maintained unused.
Wiring economy explains brain structure is the overreach the principle invites, and it needs its own correction. Wiring cost is one constraint among several, real brains are demonstrably not fully wire-minimized, and analyses have found component placement in some systems departing from the optimum in ways that buy shorter processing paths at the cost of longer wires. The principle is a strong first approximation and a bad last word.
Connectomics will explain the brain oversells a genuine achievement. It provides the reference structure that other explanations have to be consistent with.
What the shape is actually telling us
The reframing worth carrying out of this is that a great deal of neuroanatomy is not about thinking at all. It is about plumbing.
Gray and white matter segregate because fast long axons and dense local processing have different spatial requirements. Modules exist because local clustering is cheap. Hubs exist because long connections are expensive and worth sharing. Maps exist because computations on neighboring inputs want short wires. Folding exists because sheets buckle. Layers and nuclei are two packing strategies for the same problem. None of those is a fact about cognition. All of them are facts about volume, energy, and distance, and they account for most of what a brain looks like.
Which is why the architecture is so conserved while the anatomy varies so much. A fly and a mouse and an octopus face the same three costs, and the solutions converge on small-world topology, sparse coding, modular organization, and hub structure regardless of whether the tissue is layered or nuclear, and regardless of whether the lineages built their nervous systems from a common origin or separately.
The thing that follows from this, and that the rest of comparative neuroscience keeps confirming, is that you cannot read function off structure without knowing the constraint that produced the structure. A shape that looks like a design decision is frequently a packing artifact, and the analytical move that works is to ask what a shortest-wiring solution would look like before concluding that an arrangement means something. That test would have saved the field a century of argument about the avian forebrain, a good deal of the cortical column literature, and most of the confident claims about cortical folding.
The 24-lecture Neurozoology course works the tree of life on exactly that basis, alongside the study of how knowledge moves between animals, the first edition’s survey of nervous systems, and the working animals whose capacities got discovered by people who needed something from them.
Everything downstream of that constraint, from the layers in your cortex to the folds on its surface to the hubs carrying its traffic, is what a routing problem looks like when biology solves it with no plan and a hard budget. The elegance is a side effect.
Forty million possible arrangements, and a worm found the cheapest one. Nothing in that animal was trying to be elegant. It was trying to be short.

Leave a Reply