How It Works
How A Four-Stroke Dirt Bike Engine Works
A four-stroke fires once every two turns of the crank. Its cams spin at half engine speed and open each valve once per cycle. Press the steps below to run a 250 cc motocross engine one stroke at a time, then read why the valves, the cam chain and the oil need the attention they do.
In This Guide
- The parts
- Run the four strokes
- Why the cams turn at half speed
- Valve overlap
- Cam timing lab
- Compression and real numbers
- Oil does three jobs
- What it means for maintenance
The Parts Of A Four-Stroke Engine
A modern motocross four-stroke is a single cylinder with a piston, a connecting rod and a crankshaft, the same as a two-stroke. The difference is on top. Instead of holes in the cylinder wall, the four-stroke uses poppet valves in the cylinder head to let air and fuel in and to let exhaust out, and a set of camshafts to open them at the right moment.
The figures on this page use the layout of a Yamaha YZ250F. Yamaha's 2026 owner's service manual lists it as a liquid-cooled single with double overhead camshafts (DOHC), a 77.0 mm bore, a 53.6 mm stroke and a 13.8:1 compression ratio. Its valves are opened by valve lifters, which riders call buckets, sitting over small adjusting pads, which everyone calls shims. Rod length, valve sizes and cam timing in the drawing are typical race-engine values, so the angles are realistic but not one model's exact cam card.
- Camshafts. Two of them on a DOHC engine, one for the intake valves and one for the exhaust valves. Each has egg-shaped lobes.
- Buckets and shims. The lobe presses the bucket, the bucket presses the shim, and the shim presses the tip of the valve stem. The shim thickness sets the small gap called valve clearance.
- Valves and springs. A spring holds each valve shut against a hardened seat. The lobe pushes it open, and the spring snaps it closed again.
- Cam chain. A chain runs from a small sprocket on the crankshaft up to the cam sprockets, with a tensioner to keep it tight.
- Oil system. A pump circulates oil to the crank, the cams and, on most race four-strokes, the gearbox and clutch as well.
Run The Four Strokes Yourself
Press each step in order. The dial in the corner shows crank angle across the full 720 degree cycle, with the orange needle for the crank and the white needle for the cams. The chart in the other corner traces intake valve lift in blue and exhaust valve lift in red, with an orange cursor at the current crank angle.
- Intake. The piston moves down from top dead center. The intake cam lobe pushes its bucket and the intake valve opens. Falling pressure in the cylinder draws in air, and the injector or carburetor adds fuel on the way.
- Compression. The piston turns around at the bottom and starts up. The intake valve closes a little after bottom dead center, and with both valves shut the piston squeezes the charge into the small chamber in the head.
- Power. The spark plug fires just before the top. The burning mixture builds pressure that drives the piston down. This is the only stroke of the four that pushes on the crank.
- Exhaust. Near the bottom of the power stroke the exhaust valve opens. Most of the pressure blows out on its own, and the rising piston pushes out the rest.
Then the cycle starts over. Each stroke is half a turn of the crank, so four strokes take two full turns, or 720 degrees. A two-stroke does the same work in one turn, which is why our two-stroke explainer calls it one bang every turn.
Why The Cams Turn At Half Engine Speed
Each valve has to open once per cycle, and a cycle is two crank turns. So the camshafts must turn once while the crank turns twice. The cam chain does that with sprockets. The cam sprockets have twice as many teeth as the crank sprocket, which gives a 2:1 reduction. Press step 6 in the figure above and watch the timing dots: the crank dot goes around twice for every lap of the cam dots.
The numbers add up fast. At 10,000 rpm the cams turn at 5,000 rpm, so each valve opens and closes about 83 times every second. That is why the valve springs, the cam chain and the chain tensioner are wear parts on a race engine, and why KTM's 2024 250 SX-F service schedule changes the valves, valve springs and timing chain during the major engine service rather than waiting for them to fail.
Valve Overlap, The Clever Part
Look at the lift chart around top dead center at the end of the exhaust stroke. For a few degrees both valves are open at the same time. That is valve overlap. The exhaust gas leaving the cylinder has momentum, and as it rushes out it helps pull the fresh charge in through the intake valve that has just started to open. Engine textbooks such as Heywood's Internal Combustion Engine Fundamentals describe this effect, and it pays off most at high engine speed, where the gas moves fast enough for its momentum to matter.
The intake valve also closes well after bottom dead center. At high rpm the incoming air is still flowing into the cylinder even though the piston has started back up, so a late close traps more charge. At low rpm the same late close lets some charge push back out, which is one reason a race cam feels soft down low and strong on top.
Cam Timing Lab
Drag the sliders to change when the intake opens and when the exhaust closes. Watch the overlap readout and the spot near the end of the chart where the blue and red curves cross. More overlap suits high rpm breathing. Less overlap gives a cleaner idle and a smoother bottom end.
Compression Ratio And Real Numbers
Compression ratio compares the cylinder volume with the piston at the bottom to the volume left when it is at the top. Race four-strokes run high ratios because higher compression extracts more work from each bang. These are the figures printed in current owner's manuals:
| Model | Bore x stroke | Displacement | Compression | Valve train | Source |
|---|---|---|---|---|---|
| Yamaha YZ250F (2026) | 77.0 x 53.6 mm | 250 cc | 13.8:1 | DOHC, lifters over pads | Owner's service manual, PDF p. 55 |
| KTM 250 SX-F (2024) | 81 x 48.5 mm | 249.91 cc | 14.5:1 | DOHC, 4 valves via cam lever (finger follower), timing chain | Owner's manual, PDF p. 149 |
| KTM 450 SX-F (2024) | 95 x 63.4 mm | 449.9 cc | 13.6:1 | OHC, 4 valves via rocker arm | Owner's manual, PDF p. 154 |
| Honda CRF250R (2025) | 79.000 x 50.887 mm | 249.43 cc | 13.9:1 | Rocker arms with shims | Owner's manual, PDF p. 79 |
| Honda CRF450R (2025) | 96.000 x 62.138 mm | 449.77 cc | 13.5:1 | Rocker arms with shims | Owner's manual, PDF p. 79 |
Notice how short the strokes are. The KTM 250 SX-F has an 81 mm bore and only 48.5 mm of stroke. A short stroke keeps piston speed down at high rpm and leaves room in the head for big valves, 32.5 mm intake and 27.5 mm exhaust on that engine. Our displacement and compression calculator works out cc and compression ratio from bore, stroke and chamber volume, and it has these engines as presets.
Also notice that the valve train is not the same on every bike. The Yamaha uses buckets, KTM's 250 uses finger followers and its 450 uses rocker arms, and Honda uses rockers with shims. The principle is identical. A cam lobe pushes something that pushes the valve, and a small clearance is left in the chain of parts when the valve is shut.
Oil Does Three Jobs
A two-stroke carries its oil in the fuel. A four-stroke keeps it in a sump and pumps it around. KTM's 250 and 450 SX-F use pressure circulation lubrication with two trochoidal pumps. On those engines the same oil also lubricates the gearbox and the wet clutch. KTM's manual notes that in most motorcycle engines the transmission and clutch share the engine oil, which is why it specifies a JASO T903 MA2 motorcycle oil. The KTM 250 SX-F holds 1.0 liter in total.
That small quantity does a lot of work, which is why oil intervals on race four-strokes are counted in hours. Our oil change interval guide lists the numbers by model and explains how shear, fuel and heat wear the oil out.
What The Design Means For Maintenance
A four-stroke trades the two-stroke's frequent top-end rebuilds for more parts to watch. The big ones are valve clearance and oil. Manufacturers set very different intervals, and the same brand often prints a different schedule for its race bikes and its trail bikes:
| Model and type | Valve clearance check | Engine oil | Source |
|---|---|---|---|
| KTM 250 SX-F (2024), motocross race | After 1 hour, then every 45 hours | Oil and filter every 15 hours or 24 months | Owner's manual, PDF p. 41-42 |
| KTM 450 XCF-W (2025), enduro | After 1 hour, then every 45 hours | Oil and filter every 15 hours or 24 months | Owner's manual, PDF p. 53-54 |
| Honda CRF250R (2025), motocross race | Every 6 races (about 15 hours) | Oil and filter every 6 races (about 15 hours) | Owner's manual, PDF p. 42-44 |
| Yamaha YZ250F (2026), motocross race | Every third race (about 7.5 hours) | Oil every third race, filter every fifth | Owner's service manual, PDF p. 92-93 |
| Honda CRF450X (2025), non-competition trail schedule | After 100 mi or 1 month, then every 600 mi (1,000 km) or 6 months | Same, every 600 mi or 6 months | Owner's manual, PDF p. 45 |
| Honda CRF250F (2025), trail play bike | After 100 mi or 1 month, then every 600 mi (1,000 km) or 6 months | Same, every 600 mi or 6 months | Owner's manual, PDF p. 52 |
Follow the schedule printed for your own bike and the way you actually ride it. Honda labels its CRF450R for competition use only, and its CRF250R and CRF450R schedules count in races of about two and a half hours, while the same company's CRF450X trail schedule counts in miles and months. KTM keeps the oil at 15 hours on both its SX-F and XCF-W, so not every job gets longer on a trail bike. Dust, sand and mud shorten everything, and racing, constant high rpm and dust wear oil out faster (DIY Moto Fix). For valves, measure instead of guessing. A feeler gauge check on a cold engine is the only way to know, and a valve that is in spec should be left alone (Motocross Hideout). Many modern four-strokes have automatic decompressors that pull a compression reading down, so a leak-down test is the better health check on those (DIY Moto Fix).
Valve clearance usually shrinks as the valves and seats wear, and a valve with no clearance cannot close. Our valve clearance guide shows how to measure it with feeler gauges and how to work out a new shim. If you are deciding between engine types, the 2-stroke vs 4-stroke vs electric comparison covers the trade-offs, and EFI vs carburetor explains how the fuel gets into that intake port.
Track Four-Stroke Service By Hours
On a Yamaha YZ250F race bike, a 7.5 hour valve check comes around in a few weekends of racing. MotoMind logs engine hours by hand or from its GPS ride tracker and shows each task, like an engine oil change, oil filter or valve clearance check, as upcoming, due or overdue. You can log every valve reading in the notes, and the parts and cost of each job.
FAQ
How does a 4-stroke dirt bike engine work in simple terms?
It takes four strokes of the piston, two crank turns, to make one power stroke. Intake draws in fuel and air through the intake valve, compression squeezes it with both valves shut, power is the spark and burn pushing the piston down, and exhaust pushes the burnt gas out through the exhaust valve.
Why do the camshafts turn at half crank speed?
Each valve opens once per cycle and a cycle takes two crank turns. The cam sprockets have twice the teeth of the crank sprocket, so the cams turn once for every two turns of the crank.
What is valve overlap?
The few degrees around top dead center, at the end of the exhaust stroke, when the exhaust valve has not closed yet and the intake valve has already opened. The outgoing exhaust helps draw in the fresh charge. Race cams use more overlap because it helps at high rpm.
What is the compression ratio of a 250 four-stroke dirt bike?
From current owner’s manuals, the 2026 Yamaha YZ250F is 13.8:1, the 2024 KTM 250 SX-F is 14.5:1 and the 2025 Honda CRF250R is 13.9:1.
What is DOHC on a dirt bike?
Double overhead camshafts, one camshaft for the intake valves and one for the exhaust valves, both in the cylinder head. The Yamaha YZ250F and KTM 250 SX-F are DOHC. KTM lists its 450 SX-F as a single overhead cam with rocker arms.
Does a 4-stroke dirt bike need valve adjustments?
Yes, the clearance has to be checked on the schedule for your bike. On the motocross race bikes, KTM checks the 250 SX-F after the first hour and then every 45 hours, Honda checks the CRF250R every 6 races (about 15 hours), and Yamaha checks the YZ250F every third race (about 7.5 hours). Honda’s CRF450X trail schedule and its CRF250F play bike check every 600 miles or 6 months. If the clearance is in spec, leave it alone.
Why do 4-stroke dirt bikes need frequent oil changes?
On most race four-strokes about a liter of oil lubricates the engine, the gearbox and the wet clutch at once, so it shears, picks up fuel and heat, and wears out in hours. KTM’s interval is 15 hours or 24 months on both its 250 SX-F motocross bike and its 450 XCF-W enduro bike. Honda’s CRF450X trail schedule says every 600 miles or 6 months.
Sources
- Yamaha 2026 YZ250F owner’s service manual (engine specifications, valve train, maintenance schedule)
- KTM 250 SX-F 2024 owner’s manual (technical data, service schedule, oil standards)
- KTM 450 SX-F 2024 owner’s manual (technical data)
- Honda 2025 CRF250R owner’s manual (specifications, maintenance schedule)
- Honda 2025 CRF450R owner’s manual (specifications)
- KTM 450 EXC-F, 450 XCF-W, 500 EXC-F 2025 owner’s manual (enduro service schedule)
- Honda 2025 CRF450X owner’s manual (non-competition maintenance schedule)
- Honda 2025 CRF250F owner’s manual (maintenance schedule)
- Motocross Hideout, 4 Stroke Valve Adjustment Symptoms
- DIY Moto Fix, Why Is Changing The Engine Oil So Important
- DIY Moto Fix, How To Do A Leak Down Test Yourself
- Heywood, Internal Combustion Engine Fundamentals (valve timing, overlap and gas exchange)
Know When Your Valves And Oil Are Due
MotoMind logs engine hours and shows oil changes and valve checks as upcoming, due or overdue, with notes, parts and cost for each job. Available to download on iOS.
