Top End Rebuild Process on a Two-Stroke Dirt Bike

This post contains affiliate links. If you use these links to buy something we may earn a commission at no additional cost to you.

All parts of a dirt bike motor laying on a table on top of a paper towel ready for the top end build

The top end rebuild on a two-stroke engine is one of the bigger maintenance tasks and it requires a bit more work than what some riders are used to. Nonetheless, it is something that you can easily perform by yourself.

Performing a top end rebuild means swapping the piston on your dirt bike. A top end rebuild on a two-stroke dirt bike engine involves removing certain parts to access the motor top area, flushing the coolant system, removing the head and the cylinder, replacing the piston, and reassembling the dirt bike. A top end rebuild takes overall about 4 to 6 hours to complete and it is something you should do every 70 hours depending on your bike and your riding style.

Next, we will explain the main steps involved in replacing the piston and highlight what you should clean and check during the process.

While these step-by-step instructions are specific to a dirt bike model 2018 KTM XCW300, they are very similar if not exactly the same also in other two-stroke engine top end rebuilds.

Let’s get started.

Top End Rebuild Kits

You can find full top end rebuild kits for dirt bikes. Alternatively, you can get the piston and the gaskets separately.

Complete rebuilds kits typically cost around $200 to $250. If you install the parts yourself, you are looking at great savings as you don’t need to pay for the work for the maintenance guy.

When you order a top end rebuild kit, pay attention to what the kit actually includes. We have successfully used the Vertex 2-Stroke Piston Kit now several times and can strongly recommend it. It comes with everything you need to complete the top end rebuild.

We usually order the Vertex piston kit from Slavens Racing because they include their easy-to-install circlips in the kit. You can also separately buy the Slavens EZ Clips (click to check the current price on We highly recommend getting them to make the installation easier.

Top End Rebuild Kit
Vertex 2-Stroke Piston Kit - Stock Bore
$245.59 (16% off)
Vertex 2-Stroke Piston
$212.46 (15% off)
Vertex Top End Gasket Kit
$65.13 (17% off)

Tools Needed for the Top End Rebuild

While changing the piston is a more demanding maintenance task, it can be performed with minimal special tools. All the other tools needed for the task you should find in your tool box.

You will need the following special tools:

  • Torque wrench for tightening the head and cylinder base nuts to specifications
  • Digital caliper for measuring the gasket thickness
Top End Rebuild Tools
BikeMaster Adjustable Micrometer Torque Wrench
$67.46 (10% off)
Performance Tool Digital Caliper

18 Steps for a Top End Rebuild on a Dirt Bike

A top end rebuild is something you should do every 70 hours depending on your dirt bike and your riding style. Especially if you’re riding hard enduro, this is how often we recommend changing the piston.

The entire top end rebuild process will take overall about 4 to 6 hours to complete. So plan it well and reserve some extra time if this is your first time performing the piston swap.

Just like when performing most maintenance tasks, a clean dirt bike is a must also for this one. It’s also a good idea to clean and prepare the working area so that you can lay out the removed parts and tools without losing anything.

We divided the top end rebuild into 18 high-level steps to demonstrate all the phases involved in the piston swap. Let’s dive in and go them through in detail.

Step 1: Wash the Dirt Bike Thoroughly

Start by washing the dirt bike. Then continue to remove the seat, air filter, upper dirt bike plastics, gas tank, exhaust expansion chamber, and tail pipe.

Scrub around the motor and make sure to clean the cylinder head and the power valve covers carefully. The head pipe or expansion chamber typically causes some dirt to build up near the right side of the motor in the power valve cover area. This area needs to be cleaned well.

Read also: How to remove the gas tank on a dirt bike

A washed dirt bike standing on a center stand with the seat, upper plastics, gas tank, and exhaust pipe removed
Strip down and wash the dirt bike well before starting to disassemble the motor.

Read also: How to wash a dirt bike: best tips and techniques

Step 2: Drain the Coolant

The coolant circulates around the cylinder head and in order to access the top end area, we need to drain the coolant.

Some dirt bikes will have a drain plug on the right side of the motor, near the power valve cover. Since we need to remove some of the hoses blocking the area to better access the cylinder, the fastest method is to remove the coolant hose under the right side radiator.

Right hand holding a dirt bike radiator hose and draining the coolant into a pan held by the left hand
Drain the coolant by removing the right side lower radiator hose.

Place a pan under the dirt bike stand and another to catch the old coolant. Slightly rocking the dirt bike will help to empty the remainder of the coolant.

Read also: How to flush radiator coolant on a dirt bike

Step 3: Clear Access to the Cylinder

Next, we need to get a clear access to the cylinder and the cylinder head.

In order to access the piston, we need to remove the cylinder. And since they all pull upwards, the motor mounts and blocking radiator hoses need to be removed.

Continue to remove the radiator hose between the two radiators. Next, remove the motor mounts on both sides of the engine. Finally, remove the spark plug.

A clean and stripped cylinder area ready for the top end rebuild
Remove the radiator hoses, the motor mounts, and the spark plug to get a clear access to the cylinder.

At this point, visually inspect the cylinder head and both power valve cover areas for any dirt or debris. You can clean any remaining dirt with a paper towel and a toothbrush or similar.

Step 4: Remove the Power Valve Covers

We are now ready to start opening the top end to access the piston.

Modern two-stroke engines have a power valve. The power valve controls the size of the exhaust port increasing power delivery.

The cylinder typically has two power valve covers, one on each side. The two forward cylinder base bolts reside inside these covers. Next, remove the power valve covers with a T-handle tool to access the cylinder base bolts.

Step 5: Disconnect the Power Valve Push Rod

The power valve push rod on the right side is connected to the cylinder power valve assembly. We need to disconnect the push rod. It is held in place by a small circlip.

Rotate the circlip out of the ball point end of the push rod and push down. Once the circlip is off, pull the push rod and it will pop out of the ball joint.

A hand removing a circlip from the power valve push rod
Disconnect the push rod from the cylinder power valve assembly by removing the small circlip.

Step 6: Remove the Cylinder Head

Next, we can remove the cylinder head.

Remove the cylinder head by evenly loosening the head bolts with a box-end wrench. It’s important to loosen the head bolts slowly and evenly to prevent warping in the cylinder head.

If the cylinder head is stuck, you can slightly tap it with a rubber hammer to get it removed.

Step 7: Remove the Cylinder

Next, it is time to remove the cylinder.

The cylinder is held in place by four base nuts, two on the right side and two on the left side. Loosen these base nuts with a wrench. Usually, the two front nuts are located under the power valve covers.

When all four cylinder base nuts are loose, carefully lift the cylinder straight up. Support the piston with your other hand and pull the cylinder out of the motor.

Step 8: Remove the Piston

Now that the piston is accessible, we can remove the old, worn-out piston.

Place a clean paper towel inside the motor to prevent tools, parts, or dirt from dropping inside the motor.

The piston is held in place with two circlips, one on each side. The circlips hold the wrist pin in place inside the piston and one of them need to be removed so that the wrist pin will slide out.

Pry the circlip out whether on the right side or the left side. We have Slavens EZ Clips on our piston so they are easy to remove with just needle nose pliers. After removing the circlip, slide the wrist pin out.

Now that the wrist pin is out, remove the old piston bearing that is installed on the top of the piston connecting rod.

A hand removing an old piston from the motor while performing a top end rebuild
Remove the old piston from the piston connecting rod.

Step 9: Inspect Main Bearing Play

At this point, we need to inspect the main bearing play.

The goal is to test, whether you can feel any play in the direction of the stroke. This means parallel to the screwdriver shown in the picture below.

Grab the connecting rod and by rotating the engine with the kick starter, position the connecting rod to the lowest position. In this position, push and pull the connecting rod up and down. If you feel any play, you need to replace the main bearing.

A hand holding a screwdriver next to the piston connecting rod in the direction of the stroke
To check the main bearing play, push and pull the connecting rod in the direction of the stroke, that is parallel to the screwdriver shown in the picture.

Step 10: Clean the Cylinder and Cylinder Head

Next, clean the cylinder and cylinder head well.

The power valve tends to build up carbon and oil residue. Use a pan and the good old toothbrush or similar with some degreaser to remove any dirt inside the power valve assembly.

Hands holding a cylinder over a pan with a degreaser and cleaning it with a toothbrush
Using a toothbrush and a pan with some degreaser is an easy way to clean the cylinder and the power valve assembly.

Brush off all of the old gasket residue and any areas that may cause the new gaskets and covers to leak. You can use a very fine sand paper to clean off stubborn gasket residue.

Check that the power valve is moving easily and that the exhaust port flap is clean. In most cases, you will have carbon residue on the power valve itself, which you can clean with the toothbrush and degreaser. Sanding it down or scraping may also be required to clean it completely.

Step 11: Measure and Install the New Base Gasket

The reassembly starts with choosing the correct base gasket.

The base gasket thickness affects the compression. The top end rebuild kits come with several standard base gaskets thicknesses and it’s your job to select the correct ones to match the old thickness.

KTMs come with two base gaskets out of the factory and while they may seem like only one gasket, you can pry the old ones apart and measure them separately to find a good match.

We measured the combined thickness with a digital caliper and while the service manual and stock calls for 0.7mm, we measured the old at 0.67mm. Matching the old thickness, we found that our top end rebuild kit has 0.5mm and 0.17mm base gaskets that will fit perfectly to our motor.

A hand holding a digital caliper and measuring the base gasket thickness
Measure the old base gasket thickness and match the total thickness with new base gaskets.

Next, install the new base gasket or gaskets on the motor. Carefully check the alignment to make sure it’s positioned the correct way.

A new base gasket installed on the dirt bike motor while performing a top end rebuild
Install the new base gasket on the motor following the correct alignment. Please note that the base gasket is installed incorrectly in this picture and needed to flipped text downwards.

Step 12: Install the New Piston

Prepare the new piston on the workbench before the installation.

First, install the two new piston rings starting with the bottom one. Note that the piston ring has a small letter marking that indicates the correct position. This letter needs to be pointing up.

Carefully rotate the piston ring around the piston and insert it in the slot without bending the ring. Once the bottom one is in place, install the top one the same way.

Insert the right side piston circlip in place. The Slavens EZ Clips come with loops that make the installation easy. Gently squeeze the loops with needle nose pliers and push the circlip into place. Do not insert the other circlip yet.

Slightly coat the new wrist pin with two-stroke oil and slide it half way in the piston from the opposite side (left side).

Note that the piston has a mark on the top describing the correct position. The triangle needs to be pointing forwards.

Coat the connecting rod bearing with some two-stroke oil and install it on the top end of the connecting rod.

Next, grab the new piston and insert it on the connecting rod by sliding the wrist pin in place.

The piston is easier to align, if you install the circlip on the right side of the piston and then push the wrist pin from the left side towards you and the circlip.

Once the piston is in place, insert the remaining circlip on the opposite side (that is the left side) of the piston to finish the piston installation. Again, gently squeeze the loops in the circlip with needle nose pliers and push it into place.

Hands holding pliers and inserting the new left side piston circlip into the dirt bike piston
Complete the piston installation by inserting the opposite side circlip.

Step 13: Install the Cylinder

Before installing the cylinder back in place, check the following:

  • The base gasket is installed to the correct position. It’s easy to invert and block important coolant channels if the base gasket is installed incorrectly.
  • The piston is installed to the correct position and the position mark is pointing forward. Typically, the piston has a triangle shaped mark on top of the piston indicating the forward direction.
  • The connecting rod bearing is replaced with the new one and is installed in place.
  • Both piston wrist pin circlips are installed and fully seated.
  • The piston is at the lowest position for easier installation.

After checking that everything is properly installed, it’s time to slowly slide the cylinder in place.

When the piston is starting to slide into the cylinder, you need to rotate the piston rings into position and squeeze them tightly around the piston. It is important to verify that the piston rings are correctly in place before sliding the cylinder down.

You should not need to use any force and the piston needs to slide in without any force.

Hands holding the cylinder over the piston while performing a top end rebuild
Slowly slide the cylinder over the piston making sure that the piston rings are correctly in place.

Next, insert the base bolts in place. Use blue thread lock for the base bolts and torque them to a correct tightening torque specified by the manufacturer. Make sure to evenly and slowly tighten each nut in a star pattern.

A torque wrench on top of a cylinder base bolt during a top end rebuild
Torque the base bolts to the correct tightening torque.

Step 14: Install the Cylinder Head

We are now ready to install the cylinder head in place.

Start by installing the two new rubber head gaskets in the cylinder. Next, slide the cylinder head in place. Make sure you have the two guiding pins in place.

Use the new brass bolt spacers and insert the head bolts in place. Next, slowly hand-tighten all bolts down. Then start tightening each bolt slowly in a star pattern about a quarter turn at a time until you reach the manufacturers torque specifications.

After installing the cylinder head in place, slowly turn the engine with the kickstart or by putting the dirt bike in 3rd gear and rotating the rear wheel. Check that the piston is moving correctly and without any issues.

Step 15: Reinstall the Power Valve Covers

Before we can reinstall the power valve and complete the motor assembly of this top end rebuild, we first need to install the power valve cover gasket. You cannot install it after the power valve rod is in place.

After installing the new power valve cover gasket, cover the power valve push rod area with a paper towel. This way, you won’t accidentally drop tools or the circlip into the motor.

Next, push the power valve push rod into the ball joint. Then reinstall the circlip.

Install both side covers after the new power valve gaskets are in place. Be careful not to over-tighten the cover bolts as the lightweight covers can break easily.

Read also: How to adjust the power valve and why

Step 16: Reinstall Radiator Hoses and Refill Coolant

Now that the actual top end rebuild is complete, we need to reinstall the radiator hoses that we removed to get a clear access to the cylinder.

First, reinstall the radiator hoses on the top of the cylinder head. Then reinstall the connecting radiator hose between the two radiators.

Next, continue with reinstalling the lower radiator hose.

After reinstalling all radiator hoses, refill the radiator with fresh coolant.

Hands holding a lower radiator hose and installing it in the dirt bike radiator
Install the lower radiator hose and refill the radiator with fresh coolant.

Read also: Is a radiator fan kit a must for your dirt bike?

Step 17: Finish the Top End Rebuild

Finally, we can start reinstalling the remaining parts around the motor.

Reinstalling the parts in the following order should make the process smooth:

  1. Install a fresh spark plug and connect the spark plug in place.
  2. Install motor mounts on both sides.
  3. Reinstall the expansion chamber and tail pipe.
  4. Remount the radiator protectors.
  5. Reinstall the gas tank.
  6. Install the plastics.
  7. Install the seat.
Dirt bike motor put back to together after swapping the piston and completing the top end rebuild
After installing the remaining parts around the motor, the top end rebuild is completed.

Step 18: Final Inspection and Test Run

After the final assembly, it’s always a good idea to stop for a minute and complete a visual inspection.

  • Are all the parts in place and used up?
  • Did I tighten all nuts and bolts?
  • Can I see any leaks or gasket issues?
A freshly washed dirt bike standing on a center stand in front of a blue garage door
Perform a visual inspection after the final assembly and before the test run.

After a visual inspection, we are ready to start the dirt bike.

The dirt bike should start right up and have no issues or weird sounds. Let the dirt bike idle and avoid revving the dirt bike. Let it warm up slowly and let it cool down.

You are now ready for a test ride. Don’t forget to take it easy for the first few hours to let the new piston and rings marry with the cylinder.

Read also: Dirt bike wheel bearing replacement guide


While many may fear the top end rebuild process for the sheer amount of work involved, it is actually very doable for many gear heads out there.

By carefully following these step-by-step instructions, you will be able to complete a top end rebuild in most two-stroke engines. Trust us, it will be worth it and you will save a nice chunk of money in the process.

Now, let’s get shredding!

Last updated: May 26, 2022