What you're actually building, and what it can do
You cannot turn a standard bicycle into a true dirt bike—a dirt bike is a motorized vehicle with an engine, suspension designed for off-road terrain, and a frame built to handle jumps and rough ground. What you can build is a motorized bicycle that looks and feels closer to a dirt bike than a regular pedal bike, with a small gas or electric motor, knobby tires, and a more aggressive riding position.
This conversion uses a motor kit—either a 2-stroke gas engine or an electric motor—mounted to your existing bicycle frame. The result is street-legal in some places and off-road-capable in others, depending on your local laws. It will not perform like a real dirt bike on technical terrain, but it will go faster, climb hills without pedaling, and handle dirt roads and light trails better than a standard bicycle.
The entire project costs between $300 and $800 depending on the motor kit you choose, plus another $100 to $200 in tools if you do not already own basic wrenches and screwdrivers. Most conversions take 4 to 8 hours of work spread over a weekend.
Key Takeaways
- A motorized bicycle conversion uses a bolt-on motor kit (gas or electric) attached to your existing frame, not a complete rebuild.
- Gas engine kits are cheaper and have longer range, but electric kits are quieter, require less maintenance, and are legal in more places.
- You will need to replace the tires with knobby off-road tires, reinforce the frame if it is lightweight aluminum, and adjust the brakes for the added weight and speed.
- Check your local laws before you ride—many places restrict motorized bicycles on public roads, and some ban them entirely.
- The conversion works best on a sturdy steel-frame mountain bike or cruiser; lightweight road bikes often cannot handle the motor's weight and vibration.
Choosing between a gas engine kit and an electric motor kit
A gas engine kit (usually 50cc to 80cc 2-stroke) bolts onto the frame and drives the rear wheel through a friction roller or chain. These kits cost $200 to $400, have a range of 100 to 150 miles per tank, and reach speeds of 25 to 35 mph depending on the engine size and your bike's gearing. They are loud, require mixing fuel with oil, and need regular carburetor cleaning. Gas kits work on any bike frame and perform better on steep hills.
An electric motor kit uses a hub motor (built into the wheel) or a mid-drive motor (mounted at the pedals). Hub motors cost $300 to $600 and are simpler to install; mid-drive motors cost $400 to $800 but feel more like pedaling and climb hills better. Electric kits are nearly silent, require no fuel mixing, and need almost no maintenance beyond occasional brake adjustments. The downside is range—most electric bikes go 30 to 60 miles per charge—and they are heavier due to the battery pack.
For a dirt bike feel, a gas engine kit is cheaper and more authentic. For something quieter and easier to maintain, go electric. Check your local regulations first: many cities allow electric bikes up to 750 watts but ban gas engines entirely.
Selecting the right bicycle frame to start with
Your base bike matters more than most people realize. A sturdy steel-frame mountain bike is the best choice—the frame can handle the motor's weight and vibration, the geometry is already aggressive, and the brakes are strong enough to upgrade. A cruiser or hybrid bike works too, as long as the frame is steel and the wheels are 26 inches or larger.
Avoid lightweight aluminum road bikes, racing bikes, and anything with thin tubing. These frames flex under the motor's weight and vibration, and you risk cracking the frame or the welds. Similarly, avoid very old bikes with corroded frames or loose headsets—the motor will make existing problems worse.
The bike does not need to be in perfect condition. Rust on the frame is fine; a bent rim or worn drivetrain can be replaced cheaply. What matters is that the frame is solid steel, the headset and bottom bracket spin freely, and the wheels are true (not wobbling side to side). If you are buying a used bike for this project, spend $50 to $100 on a solid used mountain bike rather than trying to salvage a $15 department-store bike.
Installing a gas engine kit step by step
Gas kits come with detailed instructions, but the basic process is the same across brands. Start by removing the pedals and the chain from your bike, then position the motor on the frame according to the kit's template. Most kits mount on the seat tube (the vertical tube running from the pedals to the seat) using metal brackets and bolts.
Drill the mounting holes carefully—measure twice, use a center punch to mark the spot, and drill slowly to avoid cracking the frame. Once the motor is bolted down, attach the drive belt or chain from the motor to the rear wheel. The friction roller (on cheaper kits) or sprocket (on better kits) should be aligned with the rear wheel's center. Adjust the tension so the belt or chain does not slip but does not bind either.
Connect the throttle cable to the motor's carburetor, then run the cable along the frame to the handlebars using zip ties. Install the fuel tank (usually a small plastic tank mounted above the motor or on the seat tube), then connect the fuel line and the spark plug wire. Fill the tank with the correct fuel-to-oil ratio (usually 25:1 or 50:1—check your kit's manual), and test-start the engine in a safe area away from people and property.
The first start may take several pulls. Once it runs, let it idle for a minute, then test the throttle response. The engine should rev smoothly and return to idle when you release the throttle. If it stalls or surges, the carburetor may need adjustment—this is normal for new kits and usually settles after a few hours of running.
Installing an electric motor kit step by step
Electric hub motor kits are the simplest to install. Remove the rear wheel, then unbolt the old hub (the center of the wheel) and slide the motor hub into the rim. Lace the spokes from the motor hub to the rim—if you are not comfortable doing this, a bike shop can do it for $40 to $80. Once the wheel is built, reinstall it on the frame.
Mount the battery pack on the frame using the included bracket, usually on the seat tube or the down tube. Run the motor cable and the brake sensor cable along the frame using zip ties, keeping them away from the chain and the rear wheel. Connect the battery to the motor controller (a small box that regulates power), then connect the controller to the throttle or pedal-information sensor on the handlebars.
Mid-drive kits are more involved because they replace the crankset and chain. Remove the pedals, crank arms, and chainring, then install the motor unit in their place. Attach the new chain and chainring according to the kit's instructions, then mount the battery and controller. Mid-drive kits usually come with detailed video guides—watch the entire video before you start, because the order of steps matters.
Once everything is connected, charge the battery fully (this takes 4 to 8 hours for most kits), then test the motor on flat ground in a safe area. The motor should engage smoothly when you twist the throttle or start pedaling, and the brakes should cut power when ready when you squeeze them. If the motor does not engage, check that the battery is fully charged and that all connectors are seated firmly.
Upgrading tires, brakes, and the drivetrain
Stock bicycle tires are too smooth for dirt riding. Replace them with knobby off-road tires in the same size as your original tires—a 26-inch mountain bike typically uses 26 x 2.1 or 26 x 2.25 tires. Knobby tires cost $30 to $60 per tire and give you much better grip on dirt, sand, and loose gravel. They are louder on pavement, so expect more road noise if you ride on asphalt.
The motor adds weight and speed, so your original brakes may not stop you as quickly as before. Upgrade to hydraulic disc brakes if your bike has mechanical brakes—hydraulic brakes cost $60 to $150 per wheel and stop much harder. If your bike already has disc brakes, replace the brake pads with high-performance pads rated for motorized bikes, and bleed the brake lines to remove air bubbles.
The chain and sprockets will wear faster under the motor's load. Inspect them every 500 miles and replace them if the chain is stretched or the sprocket teeth are hooked. A new chain costs $15 to $30, and a new sprocket costs $20 to $50. Keeping these parts fresh prevents the chain from slipping under load and reduces the risk of the chain breaking while you are riding.
Legal restrictions and where you can ride
Motorized bicycles are regulated differently in every state and city. Some places allow them on public roads with a helmet and a license plate; others ban them entirely. Before you ride, check your local Department of Motor Vehicles or city transportation office to learn the rules in your area.
Generally, electric bikes under 750 watts are legal in most U.S. states on public roads and bike paths, as long as they have pedals and do not exceed 28 mph. Gas-powered bikes are almost always banned from public roads and bike paths because they are classified as motorized vehicles, not bicycles. Off-road riding on private land is usually legal as long as you have the owner's permission.
Even where motorized bikes are legal, you may need a helmet, a headlight and taillight, and a bell. Some places require a license plate or registration. Check before you ride—a ticket or confiscation is expensive and frustrating.
Common problems and how to fix them
A gas engine that stalls when you accelerate usually has a carburetor problem. The carburetor may be clogged with old fuel or the air-fuel mixture may be too lean. Drain the fuel tank, clean the carburetor with carburetor cleaner (available at any auto parts store), and refill with fresh fuel mixed to the correct ratio. If it still stalls, the carburetor needle may need adjustment—consult your kit's manual or a small-engine mechanic.
An electric motor that does not engage when you twist the throttle is usually a connection problem. Check that the battery is fully charged, that all connectors are pushed in firmly, and that the brake sensor is not stuck in the "braking" position. If the motor still does not engage, the controller may be faulty—contact the kit manufacturer for a replacement.
A chain that slips under load means the chain is stretched or the sprocket is worn. Measure the chain with a ruler—if it has stretched more than half an inch over 12 links, replace it. If the sprocket teeth are hooked or pointed, replace the sprocket. A slipping chain will eventually break, so do not ignore this problem.
Vibration from the motor can loosen bolts over time. Check all motor mounting bolts, the battery bracket, and the handlebar stem every 100 miles for the first month, then every 500 miles after that. Tighten any loose bolts with the correct wrench size—using the wrong size can strip the bolt.
Frequently Asked Questions
Can I use any bicycle frame, or does it have to be a mountain bike?
A sturdy steel-frame bike works—mountain bikes, cruisers, and hybrids are all fine. Avoid lightweight road bikes and racing bikes; their thin frames cannot handle the motor's weight and vibration. The frame must be steel, not aluminum, and the wheels should be at least 26 inches.
How fast will a motorized bicycle go?
Gas kits typically reach 25 to 35 mph depending on engine size and gearing. Electric kits reach 20 to 28 mph depending on motor power and battery voltage. Speed also depends on your weight, the terrain, and how much you pedal. Do not expect dirt bike speeds—a real dirt bike goes 40 to 60 mph.
How much does a complete conversion cost?
A gas engine kit costs $200 to $400, plus $50 to $100 for tires and $100 to $200 for brake upgrades, totaling $350 to $700. Electric kits cost $300 to $800 for the motor and battery, plus the same tire and brake upgrades, totaling $450 to $1,100. A used bike adds $50 to $150 to the total.
Do I need a license or registration to ride a motorized bicycle?
It depends on your location. Electric bikes under 750 watts are legal on public roads in most U.S. states without a license. Gas bikes are almost always banned from public roads. Check your local Department of Motor Vehicles before you ride—regulations vary widely by state and city.
Can I pedal the bike if the motor runs out of fuel or battery?
Yes. Gas kits and electric hub motors do not interfere with pedaling—you can pedal the bike like a normal bicycle if the motor is not running. Mid-drive electric motors make pedaling harder because the motor is in the drivetrain, but you can still pedal if needed. This is a useful safety feature if you run out of fuel or battery far from home.