How often does a jittered Hodgkin-Huxley axon fire on its own?
A 2026 PLOS Computational Biology study ran 300,000 Hodgkin-Huxley parameter sets and found 7.2 % fired with no stimulus. We repeat the experiment on the space-clamped model in fibub's Hodgkin-Huxley simulator and map where the firing region is.
The Hodgkin-Huxley equations are usually taught as a single fixed set of numbers: sodium conductance 120, potassium 36, leak 0.3. But those numbers came from fitting curves to noisy voltage-clamp recordings in 1952, and every fitted number has an error bar. A 2026 paper in PLOS Computational Biology asked the obvious follow-up question: if you draw the rate-constant parameters from inside their own error bars, how does the model behave? Across 300,000 parameter sets, 7.2 % fired action potentials with nothing injected at all. This article repeats that experiment, in a smaller way, with the hodgkin-Huxley simulator, and maps the region of conductances where a quiet axon becomes a pacemaker. Work out the reversal potentials that go into the model with the membrane potential calculator, and measure the spike trains that come out with the spike train analyser.
The paper in brief
The author rebuilt the Hodgkin-Huxley rate functions from the digitised 1952 data, bootstrapped each fit 4,000 times to get the spread of every parameter, and then drew whole parameter sets at random from within the mean ± 2 standard deviations. Each set was run in a 10 cm cable of axon split into 80 compartments (320 coupled differential equations), with current injected 0.4 cm from one end and the response recorded 8 cm away.
The results are not the tidy picture of the textbook. 7.2 % of parameter sets fired spontaneously, with no stimulus. Of the rest, a stimulus of 8 µA left only about 14 % firing regularly while 77.7 % were phasic, firing at the onset of the step and then falling silent. Conduction velocity in the phasic group ranged over about 5 to 15 m/s, a factor of three. A spike counted as propagating only if it still measured at least 70 mV at the far electrode. The message is that the canonical 1952 parameter set is one point in a space where behaviour changes qualitatively, not a robust description of a whole family.
Checked with the tools
fibub’s Hodgkin-Huxley simulator is space-clamped: it solves the four equations for one patch of membrane, not a cable. So it cannot reproduce the paper’s conduction velocities or its distal recordings. What it can do is test the paper’s central idea on the reduced model, and that turns out to be enough to recover the same numbers. We varied the three maximal conductances (g̅Na, g̅K, g̅L) rather than the paper’s 22 rate-constant parameters, because those are the knobs the tool exposes. Everything below is our own ensemble, not the paper’s data.
Step 1: the canonical set is quiet, and jumps when pushed. With the 1952 values at 6.3 °C the tool fires nothing at all with no current. The smallest 1 ms pulse that fires a single spike is 6.9107 µA/cm² (2.3476 µA/cm² for a 5 ms pulse). On the f–I curve the firing rate does not creep up from zero: it is zero up to 6.75 µA/cm² and then jumps straight to 57.5 Hz, reaching 70 Hz at 10 µA/cm², 87.5 Hz at 20 and 100 Hz at 30. At 18.3 °C (the Q₁₀ of 3 gives a factor of 3.5) the same 10 µA/cm² step fires at 185 Hz, and the 1 ms threshold rises to 8.8352 µA/cm².
That jump is why the paper can sort its cable runs into “regular” and “phasic” classes at all: there is no smooth continuum of slow firing to fall into. A model that crosses the boundary does not fire slowly, it fires at 50 Hz or more.
Step 2: the firing region is a band, not a half-space. We ran a grid of 720 parameter sets with no stimulus, sweeping g̅Na from 60 to 400 and g̅K from 1 to 40 mS/cm², and asked which ones fired repeatedly after a 50 ms settling time. The answer is a band in g̅K that widens as g̅Na rises: at the canonical g̅Na of 120 the model fires on its own for g̅K between about 4 and 22 mS/cm², at g̅Na 200 between 6 and 36, and at g̅Na 400 between 11 and 40. Below the band there is too little potassium current to repolarise, and the membrane simply sits depolarised without spiking; above it, the canonical quiet state.
The 1952 point (120, 36) sits just above the top of the band. Cutting potassium conductance by 39 %, with nothing else changed, is enough to turn a silent axon into one that never stops. That is the paper’s finding in two dimensions.
Step 3: how much jitter gives 7.2 %? We drew 600 parameter sets at each of three spreads, multiplying each conductance by an independent lognormal factor with a coefficient of variation of 10, 20 and 30 % (our assumption: the paper’s spreads are per-rate-constant and not directly comparable). The fraction firing spontaneously was:
| Spread on each conductance | Sets that fire with no stimulus | Median spike height |
|---|---|---|
| 10 % | 0.0 % (0 of 600) | 106.2 mV |
| 20 % | 4.8 % (29 of 600) | 106.3 mV |
| 30 % | 13.3 % (80 of 600) | 106.3 mV |
The paper’s 7.2 % falls neatly between our 20 % and 30 % spreads. Two different parameterisations of “within the error bars”, one in a cable of 80 compartments and one on a single patch, land on the same order of magnitude. That is a useful piece of reassurance for anyone reading the paper: the number is about the width of the error bars, not about the cable.
Step 4: the 70 mV propagation bar is generous in a single patch. The paper only counts a spike as having arrived if it is still 70 mV tall. In the space-clamped model the spike measured from rest is 106.3 mV with the canonical values, and the median across all three ensembles stayed at 106 mV; not one of our 1,800 jittered sets fell below 70 mV. The spike height only drops below the bar when sodium conductance is cut to 26.4 mS/cm², just 22 % of the 1952 value (75.2 mV at 30 mS/cm², 69.3 mV at 26). So the attrition the paper sees at its far electrode is about the cable (current leaking sideways into unexcited membrane), not about the local spike-generating machinery.
| Check | Paper | Space-clamped tool (our ensemble) |
|---|---|---|
| Sets firing with no stimulus | 7.2 % of 300,000 | 4.8 % at 20 % jitter per conductance, 13.3 % at 30 % |
| Regular versus phasic classes | 14 % regular at 8 µA | f–I curve jumps 0 → 57.5 Hz, so no slow-firing class exists |
| Spike height bar for propagation | at least 70 mV | 106.3 mV locally; under 70 mV only when g̅Na drops below 26.4 mS/cm² |
| Conduction velocity 5 to 15 m/s | yes | not testable: the tool has no cable |
How we made the graphs
Both figures and every number above come from scripts/blog-figures/hodgkin-huxley-parameter-variability-excitability.mjs in fibub’s public code. It imports simulate, rate, threshold and DEFAULTS from src/lib/sci/hhsim.ts, the maths behind the hodgkin-Huxley simulator: the 1952 equations in the modern convention (rest at −65 mV), integrated with fourth-order Runge-Kutta at 0.01 ms steps.
- Figure 1 calls
rate()at 41 currents from 0 to 30 µA/cm², at 6.3 and 18.3 °C, andthreshold()for the 1 ms and 5 ms pulses. - Figure 2 is a grid of 18 sodium values by 40 potassium values. Each point is a 200 ms run with the stimulus amplitude set to zero; “fires on its own” means at least two spikes after 50 ms, so a single settling transient does not count.
- The ensembles are 600 draws each, with a fixed seed so the numbers repeat. The lognormal factors are scaled to have mean 1, so the ensemble is centred on the 1952 values.
- From the paper: the 7.2 % figure, the 14 % and 77.7 % classes, the 70 mV propagation bar and the −20 mV spike-detection level. Our assumptions: varying the three maximal conductances instead of 22 rate constants, the 10 to 30 % spreads, the 20 µA/cm² test pulse used to measure spike height, and the space-clamped geometry.
How we test the maths
On every change to fibub, tests/sci.mjs runs tests/sci-tools/hodgkin-huxley-simulator.mjs, which pins the integrator against SciPy’s solve_ivp (DOP853, relative tolerance 10⁻¹⁰) on the same equations:
- A 10 µA/cm² step from 5 to 45 ms must put spikes at 6.900779304, 21.82224836 and 36.47149026 ms, agreeing with SciPy to within 0.1 µs, with a peak of 40.26314149 mV.
- The same step at 16.3 °C (where the temperature factor is exactly 3) must give seven spikes at the SciPy times, starting at 6.531200669 ms.
- The threshold of a 1 ms pulse must be 6.910691969 µA/cm², from a bisection run in SciPy, and the firing rate must be exactly 70 Hz at 10 µA/cm² and 87.5 Hz at 20.
- The resting state must really be steady: at −65 mV with no current, dV/dt is under 0.01 mV/ms and m, h and n are 0.05293, 0.5961 and 0.3177.
- New with this article: with no current injected and g̅Na at the 1952 value, the model must fire repeatedly at g̅K of 4 and of 22 mS/cm² and stay silent at 3 and at 23, and the spike height from rest for a 20 µA/cm² pulse must be 106.29 mV with the canonical values and 69.30 mV at g̅Na 26.
Check it yourself
On the hodgkin-Huxley simulator page:
- Leave the stimulus on Step, with Amplitude (µA/cm²) 10, Start (ms) 5, Duration (ms) 40 and Simulate for (ms) 60. You should see 3 spikes, the first at 6.901 ms, peak 40.3 mV.
- Set Single pulse width (ms) to 1 and press Find threshold: 6.911 µA/cm². Change it to 5 and press again: 2.348 µA/cm².
- Set f–I up to (µA/cm²) to 30 with Points 41 and press Draw f–I curve. The curve stays at zero until about 6.75 µA/cm², then jumps to roughly 57 Hz: the type II jump of Figure 1.
- Open Conductances (block channels) and set g̅K (mS/cm²) to 18. Now set Amplitude to 0 and Simulate for (ms) to 200: the model fires repeatedly with nothing injected. Put g̅K back to 30 and the firing stops.
- Set g̅K back to 36, g̅Na (mS/cm²) to 30 and the stimulus back to a 20 µA/cm² step of 5 ms from 20 ms. The peak is 10.2 mV, which is 75.2 mV above the −65 mV rest: still over the paper’s 70 mV bar. At g̅Na 26 the height falls to 69.3 mV, just under it.
- Set Temperature (°C) to 18.3 with the 10 µA/cm² step and watch the spikes narrow and crowd together, about 185 Hz.
What researchers can use it for
- Show students that a model has a parameter space, not a parameter set: the firing band of Figure 2 takes two minutes to find by hand with the conductance boxes.
- Pick a stimulus for a real experiment: the threshold search gives the charge needed for one spike at a chosen pulse width, before you waste a cell on it.
- Sanity-check a published f–I curve: a Hodgkin-Huxley style model that fires smoothly from 1 Hz upwards is not behaving like this one, and that is worth a sentence in the methods.
- Separate local from cable effects: if a spike shrinks in your model, run the same conductances space-clamped here; if the local spike is full height, the loss is in the geometry.
- Teach the temperature factor: the Q₁₀ of 3 changes firing rate several-fold over 12 °C, which matters when comparing recordings made at room and body temperature.
The fine print
- The paper simulates a cable; the tool simulates a single patch. Conduction velocity, distal attenuation and propagation failure are outside what we can check.
- We varied three maximal conductances; the paper varied 22 rate-constant parameters within bootstrapped error bars. Our spreads of 10 to 30 % are our own choice, so the agreement with 7.2 % is a consistency check, not a reproduction.
- Our ensembles are 600 draws each, so a percentage carries a sampling error of about ±1 to ±1.5 points.
- This is a teaching model of a squid axon from 1952, not a model of a mammalian neuron.
Sources
- Korngreen, A. (2026), Neuronal excitability and parameter variability in the Hodgkin-Huxley model, PLOS Computational Biology 22(6): e1014458, doi:10.1371/journal.pcbi.1014458. Licence CC BY 4.0 (Creative Commons Attribution), checked on the PLOS article page, 2026-11-24. Values used here: a 10 cm cable of 0.025 cm radius in 80 compartments (320 coupled equations), axial resistivity 35.4 ohm cm; a main ensemble of 300,000 parameter sets, repeated with 800,000 and 1,200,000; rate-constant parameters drawn within the mean plus or minus 2 standard deviations from 4,000 bootstrap resamples of the digitised 1952 rate data, offset to a resting potential of -65 mV; spike detection at -20 mV; propagation counted only when the distal spike reached at least 70 mV; 7.2 % of simulations fired spontaneously; at 8 microamps about 14 % fired regularly and 77.7 % were phasic; conduction velocity in the phasic group about 5 to 15 m/s.
- The model and its canonical constants: A. L. Hodgkin and A. F. Huxley (1952), J. Physiol. 117: 500-544 (g-bar Na 120, g-bar K 36, g-bar L 0.3 mS/cm², Cm 1 µF/cm², Q10 = 3). Equations only.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.