Learned knock timing: why it lingers after you fix the tune, and how to know it's gone

20-second symptom checker
- Knock event
- Short-term response
- Learned timing history
You found the knock, fixed the cause, and the next log looks better — but the timing is still being pulled in those cells. That is the most confusing part of chasing knock, and it is exactly what happened on the Street Glide log thread on this forum: the knock counts came down, the bike was running great, and the learned knock timing was still slowly going away days later.
This guide is about that leftover number. It does not repeat the guide on finding knock in the first place — that one covers where timing is being pulled and what to check, in order. This one covers what happens after the fix: why the ECU keeps pulling timing, how to watch it fade in your log, and how to tell when it is actually gone.
1. Short-term vs learned knock timing: what each one is and which channel shows it
Knock is fuel and air in the cylinder lighting off on their own after the spark, instead of burning smoothly from the plug. When the ECU decides it heard knock, it removes spark advance. Your log records how much timing it took away. On a V-twin there is usually one channel for the front cylinder and one for the rear. A reading of zero means no timing was pulled at that moment.
There are two kinds of that pull, and the log shows them the same way — as timing taken away — so you have to tell them apart by how they behave, not by a different channel name.
Short-term knock timing is the immediate reaction. The ECU hears knock in a cell, pulls timing there right now, and then slowly adds it back once the knock stops. It is a single event, in the moment. You see it spike in the log at the RPM and load where the knock happened, and it fades within that ride as the ECU gives the timing back.
Learned knock timing is the memory. After knock repeats in the same cells, the ECU remembers those cells and keeps pulling timing there on later rides, before any new knock happens. It is still the same knock timing channel in your log — cylinder-specific knock timing, alongside RPM, load, commanded or delivered spark, and temperature — but instead of a spike that comes and goes, you see a smaller, steadier pull in the same RPM and load area, ride after ride, even on rides where no new knock event is recorded.
That is the key difference: short-term timing pulled follows a knock event. Learned knock timing is there before the event, because the ECU is protecting cells it has learned are trouble. Channel names and units differ by tool and ECU, so check the exported column label before you interpret a number — the same warning applies here as it does to AFR channels.
2. Why fixing the cause doesn't clear the number immediately
Fixing the cause stops new knock. It does not erase the ECU's memory of the old knock. The ECU only trusts a cell again after it has seen that cell run clean, more than once, under real load. Until then it keeps the safety margin in place.
That is why the sequence feels backwards. You do the right fix — correct fuel, fix a lean area, remove a little timing in the affected cells — and the knock counts fall, but the amount of timing pulled in those cells barely moves on the next log. Nothing is wrong. The ECU is waiting for proof, and proof is clean passes through those exact cells.
Heat makes this slower. Knock is more likely when the engine is hot, and some ECUs also lower timing for high engine or intake temperature through separate tables that do not show in the knock channel at all. So a hot ride can show timing pulled even when the knock channel is quiet. If you compare a cool-morning log against a heat-soaked afternoon log, you will think the timing pulled is not fading when it is really the temperature doing the pulling. Compare like with like — that is covered in section 3.
3. What to log to watch it fade: same road, same conditions, same cells
You cannot judge learned knock timing from one log, and you cannot judge it from two different rides. The whole point is the comparison, so make the comparison fair.
Log these channels, if your tool offers them: time, RPM, load (or MAP), throttle position, commanded or delivered spark, cylinder-specific knock timing for front and rear separately, engine temperature, and intake air temperature. Add AFR — desired and measured, kept separate — if you are also checking whether a lean area is part of the story. Record the tune version and what changed since the last log.
Ride the same test, the same way, every time:
- Warm the engine fully first, and note the ambient temperature.
- Use the same road and the same kind of passes — the same steady cruise, the same roll-ons, through the same RPM and load area where the knock was.
- Do the passes at a similar engine temperature, not a cold run against a heat-soaked one.
- Mark the time where you enter the knock cells, and keep a few seconds on either side so you can see how you entered and left the condition.
- Write down the bike, parts, fuel, weather, and calibration version with each log, and keep the original file with its column labels intact.
Then compare the same cells, not the whole ride. Find the RPM and load area where the timing was being pulled, front and rear separately — the rear cylinder usually runs hotter and often shows knock first, so do not average the two together. Look at three things in those cells on each log: the highest knock count, how much timing was pulled, and whether the commanded spark advance is getting back to where the table asks for. A single clean pass is not proof. A shrinking pull, in the same cells, on repeated passes, is.
4. How many clean rides it typically takes, and what "gone" looks like in the log
There is no fixed number here, and any guide that gives you one is guessing. How fast learned knock timing fades varies by bike and ECU, by how bad the knock was, by how many cells were affected, and by whether you actually ride through those cells cleanly and often enough for the ECU to relearn them. No source we read — not the existing knock guide, not the forum thread, not the Dynojet documentation linked from it — pins it to a number of rides or ignition cycles, so this guide will not invent one.
What we do have is one real example, and it is worth using as exactly that — one example, not a universal timeline.
The real example: DerekB's 2024 Street Glide 117. The Oct 31 log showed 10 knock counts at high load. He tried adjusting AFR, adding acceleration enrichment, and changing VE first — none of that helped. Then he reduced timing in the knock cells, and that helped: knock events came down and the learned knock timing started to reduce. After five tune revisions, the Nov 7 log showed 0 knock counts on the rear through 9.2 seconds wide open, and 1 count on the front. On Nov 12 he reported the bike was running great and pulling very hard, that he was still chasing some minor knock, and that the learned knock timing was slowly going away — his own estimate was that the knock would be completely gone in about a week, if the weather was right. Note what that estimate depends on: riding through the same conditions again. No riding, no clean passes, no relearning.
What "gone" looks like in the log — use this test instead of a ride count:
- Zero knock counts in the cells that were the problem, on repeated passes, front and rear separately.
- Zero timing pulled in those cells — the knock timing channel reads zero where it used to read a pull.
- Commanded spark advance back to what the table asks for in those cells, not held down.
- The same result on more than one ride, under similar temperatures. One clean log after a cool morning does not count if the knock only ever showed up hot.
- No new pull appearing in a neighbouring cell. If the timing pulled just moved, you have not fixed it — you have moved the problem.
If you can tick all five, the learned knock timing is gone. If you can only tick some of them, it is still fading. Keep riding the same test and keep comparing the same cells.
5. When lingering knock timing means the fix didn't work vs when it's just the learning fading
This is the question that decides whether you wait or go back to work. The log tells you which one it is.
It is probably just the learning fading if:
- The knock counts are falling log over log — 10, then a few, then 0 or 1, in the same cells.
- The timing pulled in those cells is getting smaller each time, even if it has not reached zero yet.
- No new knock is appearing in cells that were clean before.
- The bike feels right — no audible pinging under load, no stumble, and the pull is strong.
- The remaining pull is only in the cells where the knock was, and it shrinks on every clean pass.
It probably means the fix didn't work if:
- The knock counts are not falling — same counts, same cells, log after log.
- The timing pulled is staying the same size, or growing.
- Knock is appearing in new RPM or load areas that were clean before.
- You can hear pinging or rattling under load.
- The pull shows up across many RPM and load areas, not one small spot.
- It started, or got worse, right after engine work, a cam change, or a new exhaust.
If it is the second list, go back to the fix order in the knock guide: confirm the fuel octane matches what the tune expects, look at AFR in the same cells and fix any lean area first, check temperatures and whether the knock only happens hot, and only then remove timing in the affected cells in small steps — half a degree to one degree at a time, one change per log, so you know what worked. Do not keep riding through knock hoping the learning will sort it out. Learning only fades when the cells run clean.
One more check before you decide: rule out false knock. Mechanical noise — a loose heat shield, valvetrain noise, exhaust contact — can be read as knock by a sensor. If the timing pulled repeats in the same cells but no fuel, fueling, or temperature cause fits, and nothing you change moves it, check the hardware before you keep changing the tune.
6. What not to do: adding timing back while learned knock timing is still present
This is the mistake that undoes the fix.
While learned knock timing is still present in a cell, the ECU is telling you it does not trust that cell yet. Adding timing back into the table in that area — to "get the power back" or to test whether the knock is really gone — gives the ECU a reason to hear knock again, and the learning starts over. The timing pulled comes back, often larger than before, and you lose the clean passes you had banked.
Do not do any of these while the pull is still fading:
- Do not add advance back into the cells where timing is being pulled, and do not chase power with extra advance unless you can watch knock while you do it.
- Do not change two things at once — fuel and timing, or timing in two areas — and then try to read the log. One change per log, or you will not know what worked.
- Do not judge the fade from a single easy ride that never went through the knock cells. A cell the ECU never visited has not been relearned, whatever the rest of the log says.
- Do not compare a cold log against a hot one and conclude the timing pulled is stuck. Heat alone can pull timing through separate tables that do not show in the knock channel.
- Do not relabel a narrowband voltage column as a measured wideband AFR trace to argue the fueling is fine. If you do not have wideband feedback, say so and use the target and the other channels for what they are.
When you can add timing back: only after the test in section 4 passes — zero knock counts, zero timing pulled, spark advance back to commanded, in those exact cells, on more than one ride under similar conditions. Then add it back in the same small steps the knock guide uses — half a degree to one degree at a time, in only the affected cells — and log again before you add any more. If knock returns on the next log, you added it back too soon, or too much. Take it back out and let the learning fade again.
If you are not sure, post the log on The Tune Bench with your bike, year, mods, fuel, tuning tool, and calibration version, plus the timestamp where the pull happens and what you want help deciding. Include the original log with its column labels and units intact, front and rear knock channels side by side. That is the post that gets a useful answer.
