Up to $1000 Off
Up to $1000 Off View More
Himiway Electric Bike
Cart 0
  • Ebikes
    • Hot Sale
      • Himiway D5 2.0 Step-thru full suspension fat tire electric bike in Midnight Blue, left side view.
        Free Battery
        Himiway D5 2.0 ST
      • Himiway D5 2.0 20" full suspension fat tire electric bike in Sage, left side view.
        Free Battery
        Himiway D5 2.0 20"
      • himiway d5 ebike
        Free Battery
        Himiway D5 2.0
      • Himiway D5 2.0 Camo full suspension fat tire hunting electric bike, left side view.
        Free Battery
        Himiway D5 2.0 Camo
      • Himiway C1 Kids eBike
        HOT
        Himiway C1
      • Himiway D7 Pro (Cobra Pro) | Softail Electric Mountain Bike -Himiway eBike Himiway D7 Pro
      • Himiway A7 Commuter Step-Through full suspension electric bike in Red, left side view.
        HOT
        Himiway A7
    • Ebike
    • Himiway Labs
    Himiway D5 2.0 20" full suspension fat tire electric bike in Sage, left side view.

    Himiway D5 2.0 20" eBike

    Regular price $1,999.00
    Sale price $1,999.00 Regular price $2,199.00
    Unit price
    /
    Himiway D5 2.0 Step-thru full suspension fat tire electric bike in Midnight Blue, left side view.

    Himiway D5 2.0 ST eBike

    Regular price $1,999.00
    Sale price $1,999.00 Regular price $2,199.00
    Unit price
    /
    Himiway C1 Kids eBike

    Himiway C1 Kids eBike

    Regular price $799.00
    Sale price $799.00 Regular price $999.00
    Unit price
    /
    Himiway D7 / Full Suspension Electric Hunting Bike

    D7 / Full Suspension Electric Hunting Bike

    Regular price $1,999.00
    Sale price $1,999.00 Regular price $2,999.00
    Unit price
    /
    Himiway D5 (Zebra) | Premium All-terrain Electric Fat Bike -Himiway e bike

    D5(Zebra) / All-terrain Electric Fat Bike

    Regular price $1,499.00
    Sale price $1,499.00 Regular price $2,299.00
    Unit price
    /
    Himiway D5 2.0 Camo full suspension fat tire hunting electric bike, left side view.

    Himiway D5 2.0 Camo eBike

    Regular price $2,199.00
    Sale price $2,199.00 Regular price $2,399.00
    Unit price
    /
    Himiway D5 Pro / All-terrain Electric Fat Bike

    D5 Pro / All-terrain Electric Fat Bike

    Regular price $1,999.00
    Sale price $1,999.00 Regular price $2,599.00
    Unit price
    /
  • Black Friday
  • Accessories
    • All Accessories
    • Storage
      • Bags
      • Baskets
      • Car Racks
      • Racks
      • Trailers
      • Phone mounts
      • Cages
    • Safety
      • Mirrors
      • Helmets
      • Locks
      • Lights
      • Passenger Kits
      • Protective Gears
    • Upgrade
      • Shock Absorber
      • Saddles
      • Seatpost
      • Stems
      • Fenders
      • Forks
      • Handlebars & Grips
    • Components
      • Batteries & Chargers
      • Motors
      • Controllers & Sensors
      • Displays
      • Lights
      • Brakes
      • Chains
      • Kickstands
      • Seatposts
      • Wheels, Tires & Tubes
    • Tools
    • Apparels
    • Kit bundles
    • Others
  • Explore
    • HMW Assist System
    • Rider Voice
    • Reviews
    • Rider Experiences
    • Affiliate Program
    • GOVX ID Military Discount
    • Press
    • News
  • Support
    • Payment
    • Finance
    • Warranty
    • Shipping Policy
    • Track your order
    • Refund
    • Help Center
    • Owner's Manual
    • Contact Us
    • Refer to Earn
  • Shop Near Me
My Account
Log in
United States
Deutschland
Canada
United Kingdom
2-Year Warranty
15-Day Return
Free Shipping
Himiway Electric Bike
  • Ebikes

    Himiway Electric Bikes

    Himiway D5 2.0 20" full suspension fat tire electric bike in Sage, left side view.
    Free Battery
    D5 2.0 20" Himiway D5 2.0 20" eBike
    Himiway D5 2.0 Step-thru full suspension fat tire electric bike in Midnight Blue, left side view.
    Free Battery
    D5 2.0 ST Himiway D5 2.0 ST eBike
    Himiway C1 Kids eBike
    HOT
    C1 Himiway C1 Kids eBike
    Himiway D7 / Full Suspension Electric Hunting Bike
    D7 D7 / Full Suspension Electric Hunting Bike
    Himiway D5 (Zebra) | Premium All-terrain Electric Fat Bike -Himiway e bike
    D5 D5(Zebra) / All-terrain Electric Fat Bike
    Himiway D5 2.0 Camo full suspension fat tire hunting electric bike, left side view.
    Free Battery
    D52.0 camo Himiway D5 2.0 Camo eBike
    Himiway D5 Pro / All-terrain Electric Fat Bike
    Classic
    D5 Pro D5 Pro / All-terrain Electric Fat Bike
    All Electric Bikes
    All Electric Bikes Himiway Labs

    Free Gift

    Learn More
  • Black Friday
  • Accessories
    • Storage
      • Bags
      • Baskets
      • Car Racks
      • Racks
      • Trailers
      • Phone Mounts
      • Cages
    • Safety
      • Mirrors
      • Helmets
      • Locks
      • Lights
      • Passenger Kits
      • Protective Gears
    • Upgrade
      • Batteries & Chargers
      • Shock Absorber
      • Saddles
      • Seatposts
      • Stems
      • Fenders
      • Forks
      • Handlebars & Grips
    • Components
      • Motors
      • Controllers & Sensors
      • Displays
      • Lights
      • Brakes
      • Kickstands
      • Seatposts
      • Drivetrain
      • Wheels, Tires & Tubes
    • All Accessories
    • Tools
    • Apparels
    • Kit bundles
    • All Collections
    • Others
  • Explore
    • Reviews
      • Rider Voice Listen to their stories and you will know which e-bike is your best fit.
      • Reviews 15000+ 5-star reviews
      • Rider Experiences Every ride tells a story — discover how Himiway brings joy to real riders.
    • Program
      • Affiliate Program
      • GovX ID Military Discount
    • Technology
      • HMW Assist System Smart power that adapts to your ride and improves over time.
      • Himiway Labs See how we test bikes to handle any terrain and weather.
      • Safety Certified UL-certified battery and electrical systems for worry-free riding.
    • News
      • Press 1200+ in-depth reviews
      • News The latest industry news, updates and info.
  • Support
    • Pre-sale
      • Payment
      • Finance
      • Warranty
      • Shipping
    • After sale
      • Track your order
      • Refund Policy
      • Refer to Earn
    • Help
      • Help Center
      • Owner's Manual
      • FAQs
      • Contact Us
  • Shop Near Me
United States
Deutschland
Canada
United Kingdom
Log in Cart 0

Search our store

Himiway Electric Bike
Log in Cart 0
Popular Searches:
full suspension Step-thru Mid-drive
Home News

How to Build a Mid-Drive E-Bike: A Simple Step-by-Step Guide with Diagram

Nov 20, 2026
Learn how to build a mid-drive e-bike with this beginner-friendly step-by-step guide. Discover the essential components, motor and battery installation, wiring connections, drivetrain setup, and safety checks, with a clear diagram explaining how everything works together.

Building a mid-drive electric bike is a practical way to convert a traditional bicycle into an e-bike with electric pedal assistance. Unlike hub motors, which drive the front or rear wheel directly, a mid-drive motor is installed near the bottom bracket and transfers power through the bicycle's chain and gears.

This setup can provide efficient climbing performance, balanced weight distribution, and a more natural riding experience.

How to Build a Mid-Drive E-Bike

In this guide, we'll explain how to build a mid-drive e-bike using a conversion kit, what components you need, how to install the motor and battery, and how to connect the electrical system. The process is explained in simple steps so beginners can understand the basic installation.

1. Understand How a Mid-Drive E-Bike Works

A mid-drive e-bike uses an electric motor mounted in the center of the bicycle frame, usually around the bottom bracket.

When you pedal, the motor provides additional power through the crank and chain. The bicycle's existing gears help transfer that power to the rear wheel.

Compared with a hub motor, a mid-drive motor takes advantage of the bicycle's drivetrain. This makes it particularly useful for riding uphill and on varied terrain.

Main components of a mid-drive e-bike:

  • Mid-drive motor: Provides electric assistance through the crank.
  • Battery: Supplies electrical power to the motor.
  • Controller: Manages motor power and system operation.
  • Display: Shows speed, battery level, and assistance settings.
  • Pedal-assist sensor: Detects pedaling and activates assistance.
  • Throttle: Provides motor assistance when supported by the kit.
  • Speed sensor: Measures wheel speed.
  • Wiring harness: Connects the electrical components.

For a closer look at available configurations, see mid-drive electric bikes .

2. What You Need to Build a Mid-Drive E-Bike

Before starting, prepare all the necessary components and tools.

Essential components

Component

Purpose

Bicycle frame

Supports the motor and other components

Mid-drive motor kit

Provides electric propulsion

E-bike battery

Supplies power to the motor

Battery mounting bracket

Secures the battery to the frame

LCD display

Shows riding information

Wiring harness

Connects electrical components

Brake sensors

Disable motor assistance when braking

Speed sensor

Measures bicycle speed

Crank arms and chainring

Transfer motor power to the chain

Charger

Charges the battery

A complete conversion kit often includes the motor, crank arms, chainring, display, wiring harness, speed sensor, and other installation accessories. Battery inclusion depends on the kit.

Tools you will need

  • Pedal wrench
  • Allen key set
  • Bottom bracket removal tool
  • Crank puller
  • Chain tool
  • Adjustable wrench or suitable spanner
  • Cable ties
  • Torque wrench

The exact tools depend on your bicycle's original bottom bracket and the motor kit.

3. Check Bicycle Compatibility Before Buying a Motor

This is one of the most important steps.

Not every bicycle can accept every mid-drive conversion kit. Check the following points before purchasing.

1. Bottom bracket width

Measure the width of the bottom bracket shell, which is the part of the frame where the crankset connects.

Common conversion-kit options include 68–73 mm, 100 mm, and 120 mm, depending on the motor model.

For example, CYC Photon supports specified bottom bracket configurations from 68 mm to 120 mm, with suitable adapters and installation requirements.

Always check the exact motor manufacturer's compatibility chart.

2. Bottom bracket type

Identify whether your bicycle uses a threaded or press-fit bottom bracket.

These systems require different removal tools and installation arrangements. Some conversion motors are designed primarily for threaded bottom brackets and require additional adapters for other standards.

3. Frame clearance

Check whether the motor housing can fit around the bottom bracket without touching:

  • The chainstay.
  • The downtube.
  • The suspension components.
  • Other frame parts.

4. Battery mounting space

Make sure the frame has enough space for the battery and its mounting bracket.

A battery should be securely attached and positioned without interfering with your legs, cables, or other bicycle components.

For more information about compatible replacement components and accessories, see Himiway e-bike parts .

4. Remove the Original Crankset and Bottom Bracket

Once compatibility is confirmed, prepare the bicycle for motor installation.

Follow these steps:

  1. Turn off the bicycle and remove any existing battery.
  2. Remove both pedals using the appropriate pedal wrench.
  3. Remove the original crank arms using a compatible crank puller.
  4. Remove the existing chainring and crankset.
  5. Disconnect the chain if necessary.
  6. Remove the original bottom bracket using the correct tool.

The bottom bracket removal process depends on the bicycle's design.

Do not force a tool that does not fit. Incorrect removal can damage the frame threads or bottom bracket housing.

Park Tool provides useful instructions for removing and installing threaded bottom brackets .

5. Install the Mid-Drive Motor

After removing the original bottom bracket, you can install the mid-drive motor.

The general installation process is:

  1. Clean the bottom bracket shell and inspect it for damage.
  2. Insert the motor spindle through the bottom bracket opening.
  3. Position the motor housing according to the manufacturer's instructions.
  4. Install the required spacers and mounting hardware.
  5. Install the mounting plate and lockrings.
  6. Tighten the assembly using the specified installation procedure and torque values.

Make sure the motor is properly aligned and does not contact the frame.

Important: Different motors have different mounting systems. Follow the installation manual for your specific model rather than using universal tightening values.

After installation, check that the motor is firmly secured and that the crank arms can rotate without contacting the frame.

6. Install the Battery

The battery supplies electricity to the mid-drive motor.

Most conversion projects use a removable downtube battery because it is convenient to install, charge, and remove.

Follow these steps:

  1. Choose a mounting location that does not interfere with riding.
  2. Attach the battery mounting bracket to the frame using the supplied hardware.
  3. Make sure the bracket is firmly secured.
  4. Slide or lock the battery into its mounting bracket.
  5. Check that the battery cannot move or fall out during riding.

How to choose the right battery

The battery must match the motor system's required voltage, current capacity, connector, and electrical specifications.

Battery capacity is measured in watt-hours (Wh).

The calculation is:

Battery Capacity (Wh) = Voltage (V) × Capacity (Ah)

For example:

48V × 15Ah = 720Wh

A 48V 15Ah battery provides 720Wh of nominal energy capacity.

A larger battery capacity generally provides more potential riding range, although actual range depends on rider weight, terrain, speed, assistance level, temperature, and other factors.

Choose a battery and charger approved for use with the motor system. Prefer appropriately certified electrical systems and batteries, such as products evaluated to UL 2849 and UL 2271 where applicable. See UL's e-bike safety standards .

7. Connect the Electrical Components

Once the motor and battery are installed, connect the electrical components.

Most conversion kits include a wiring harness with connectors designed for specific components.

The basic connections include:

Component

Connection

Battery

Motor power input

Display

Main wiring harness

Throttle

Throttle connector, if supported

Brake sensors

Brake sensor connectors

Speed sensor

Speed sensor connector

Pedal-assist sensor

Motor or controller connector, depending on kit

Important wiring instructions

  • Match connectors according to the manufacturer's wiring diagram.
  • Check connector alignment before connecting.
  • Never force incompatible connectors together.
  • Keep wires away from the chain, crank arms, and moving wheels.
  • Secure cables with suitable cable ties.
  • Keep connectors protected from water and dirt.

Do not rely on wire colors alone to identify electrical connections. Connector pinouts and wiring arrangements vary between manufacturers.

Safety tip: Keep the battery disconnected while installing or adjusting electrical connections. Do not modify battery wiring or bypass the battery management system.

8. Install the Display, Throttle, and Speed Sensor

The display and controls allow you to operate and monitor the electric drive system.

Display installation

Mount the display near the handlebar grips so it is easy to read while riding.

Depending on the kit, the display may show:

  • Current speed.
  • Battery level.
  • Riding distance.
  • Pedal-assist level.
  • Error codes.
  • Riding mode.

Throttle installation

If your conversion kit supports a throttle, install it in a position that allows comfortable operation without interfering with braking or shifting.

Throttle availability and operation depend on the motor kit and applicable local regulations.

Speed sensor installation

The speed sensor is normally mounted near the rear wheel, with a magnet attached to a spoke.

The magnet must pass the sensor at the distance specified by the manufacturer.

When the wheel rotates, the sensor detects the magnet and sends speed information to the controller or display.

9. Check the Chain and Drivetrain

A mid-drive motor transfers power through the bicycle's drivetrain, so chain and gear condition are especially important.

Before riding, check:

  • Chain tension and condition.
  • Chainring alignment.
  • Rear cassette condition.
  • Rear derailleur adjustment.
  • Crank arm clearance.
  • Chainline.

A poorly aligned chainring can cause excessive chain wear, noisy operation, and shifting problems.

If the chainline is incorrect, use only the spacers or chainring options approved for your motor kit.

Why drivetrain maintenance matters

Mid-drive motors place additional load on the chain, chainring, and rear cassette.

To extend their service life:

  1. Keep the chain clean and lubricated.
  2. Avoid shifting under heavy motor load.
  3. Reduce pedal pressure briefly when changing gears.
  4. Replace worn drivetrain components when necessary.

These simple habits help maintain smooth operation.

10. Test the Mid-Drive E-Bike Before Riding

Never ride immediately after completing the installation.

Perform a basic inspection first.

Test

What to Check

Motor mounting

Motor is secure and does not move

Battery

Battery is properly locked

Electrical connections

All connectors are correctly installed

Display

Turns on and shows normal information

Throttle

Operates correctly if equipped

Pedal assistance

Responds correctly to pedaling

Brake sensors

Cut motor assistance when braking

Speed sensor

Detects wheel movement

Chain

Runs smoothly without excessive noise

Brakes

Both brakes work correctly

First test ride

After completing the stationary checks:

  1. Find a flat, open area away from traffic.
  2. Start with the lowest pedal-assist setting.
  3. Check acceleration and braking.
  4. Test gear shifting at low speed.
  5. Listen for unusual noises or vibration.
  6. Gradually increase assistance if everything works correctly.

If the motor cuts out, makes unusual noises, or displays an error code, stop riding and investigate the problem before continuing.

For an unfamiliar electrical system or an installation involving damaged wiring, battery faults, or uncertain compatibility, have a qualified e-bike technician inspect it.

11. Common Mistakes When Building a Mid-Drive E-Bike

Beginners can avoid many installation problems by checking a few important details.

Common Mistake

How to Avoid It

Buying an incompatible motor

Measure the bottom bracket before purchasing

Choosing the wrong battery voltage

Match the motor and battery specifications

Installing the motor incorrectly

Follow the manufacturer's installation manual

Poor chainline

Check chainring alignment and approved spacers

Loose battery mounting

Secure the mounting bracket properly

Incorrect wiring

Follow the exact wiring diagram

Ignoring brake sensors

Confirm motor cutoff operation

Riding without testing

Complete all safety checks first

12. Is Building a Mid-Drive E-Bike Worth It?

Building a mid-drive e-bike can be worthwhile if you already own a compatible bicycle and want to customize its motor, battery, and riding characteristics.

However, a conversion is not always cheaper or easier than purchasing a complete electric bike.

Consider the following comparison:

Factor

DIY Mid-Drive E-Bike

Complete Mid-Drive E-Bike

Initial cost

Depends on kit and bicycle

Depends on complete bike

Customization

High

Depends on model

Installation

Requires mechanical work

Usually ready to ride

Component compatibility

Must be checked

Designed as a system

Warranty

Separate component warranties

Depends on manufacturer

Maintenance

Owner manages components

Manufacturer-supported system may be available

If you prefer a complete electric bike instead of a conversion project, you can explore Himiway electric bikes .

For riders who regularly tackle steep terrain, choosing a suitable motor, gearing, and battery capacity is particularly important. You can also compare different options in this electric bikes for hills collection .

13. Frequently Asked Questions

1. Can I convert any bicycle into a mid-drive e-bike?

No. The bicycle must have a compatible bottom bracket, sufficient frame clearance, and a suitable structure for mounting the motor and battery. Some carbon frames and unusual bottom bracket designs require special consideration or may be unsuitable for particular kits.

2. How long does it take to build a mid-drive e-bike?

For someone familiar with bicycle maintenance, a straightforward conversion may take several hours. Beginners may need longer, especially when removing the original bottom bracket or checking electrical connections.

3. Is a mid-drive motor better for climbing hills?

Mid-drive motors can use the bicycle's existing gears, allowing the motor to operate more effectively across different climbing conditions. However, performance also depends on motor torque, gearing, rider input, and system power limits.

4. What battery voltage should I choose?

Choose a battery that matches the motor manufacturer's specified voltage range and electrical requirements. Common e-bike systems use 36V or 48V batteries, while some conversion kits support other voltages.

5. Do I need a special chain for a mid-drive e-bike?

Not necessarily. Some standard bicycle chains are compatible, but the appropriate chain depends on the drivetrain speed, motor system, and manufacturer's recommendations. Mid-drive systems can place additional stress on the chain, so regular inspection is important.

6. Is a DIY mid-drive e-bike street legal in the USA?

It depends on the motor's rated power, operating speed, throttle configuration, and applicable state and local regulations.

The commonly used federal e-bike definition covers bicycles with fully operable pedals, an electric motor of 750W or less, and a motor-only speed below 20 mph. State classifications and public-path rules can differ, and a conversion does not automatically qualify as a street-legal e-bike.

Check the rules where you intend to ride before using the converted bicycle on public roads or paths.

Previous
How Does a Mid-Drive Ebike Work? A Simple Guide with Diagram
Next
Are Fat Tire E-Bikes Good for Seniors? Benefits, Drawbacks, and What to Look For
Himiway D7 Pro (Cobra Pro) | Softail Electric Mountain Bike -Himiway eBike
Himiway D7 Pro (Cobra Pro) | Softail Electric Mountain Bike -Himiway eBike
Save
Sold Out

Himiway D7 Pro Mountain eBike Unstoppable mountain performance

Black & White Gradient
King
Regular price $3,999.00
Sale price $3,999.00 Regular price $3,999.00
Unit price
/
4.9 (59)

  • 1000 W

    Mid-drive Motor

  • 28 Mph

    Top Speed

  • 960 Wh

    Samsung/LG Battery

  • 80 Miles

    Max Range

View more

Recent Post

E-Scooter or E-Bike: Which Is Better for You
E-Scooter or E-Bike: Which Is Better for You
What Age Can You Ride a Class 3 E-Bike?
What Age Can You Ride a Class 3 E-Bike? A Complete Guide to U.S. Age Requirements
Is a Class 1 E-Bike Suitable for Beginners?
Is a Class 1 E-Bike Suitable for Beginners? A Complete Beginner's Guide
Are Modified E-Bikes Street Legal?
Are Modified E-Bikes Street Legal? U.S. Laws, Speed Limits, and Motor Regulations
How to Choose an E-Bike on Black Friday
How to Choose an E-Bike on Black Friday: 10 Things to Consider Before Buying
Are Fat Tire E-Bikes Good for Seniors?
Are Fat Tire E-Bikes Good for Seniors? Benefits, Drawbacks, and What to Look For
How to Build a Mid-Drive E-Bike
How to Build a Mid-Drive E-Bike: A Simple Step-by-Step Guide with Diagram
How Does a Mid-Drive Ebike Work
How Does a Mid-Drive Ebike Work? A Simple Guide with Diagram
Electric Bike New Technology in 2026–2027
Electric Bike New Technology in 2026–2027: 15 Innovations Shaping the Future of E-Bikes
10 Best New Electric Bike Models in the USA for 2026
10 Best New Electric Bike Models in the USA for 2026

Explore our collections

Ebike Giveaway

Ebike Giveaway 2026

Ebike Hawaii For Sale

Ebike Hawaii For Sale

Ebike Jacksonville Fl

Ebike Jacksonville Fl

Ebike Labor Day Sale

Ebike Labor Day Sale

Ebike Michigan For Sale

Ebike Michigan For Sale

Himiway D5 2.0 20" full suspension fat tire electric bike in Sage, left side view.

eBike Top Selling Store

Ebike Ultimate Store

Ebike Ultimate Store

Ebike Upgrades

Ebike Upgrades

Join our community
Get the latest news & offers!

Follow Us

Product

  • All collections
  • Electric Bike Price
  • Kids Ebike
  • Ebikes for Sale
  • Black Friday eBike
  • Christmas eBike
  • Fat Tire eBike

Explore

  • Reviews
  • Affiliate Program
  • GovX ID Military Discount
  • Blog

Support

  • Help Center
  • Warranty
  • Payment
  • Finance
  • Order
  • Shipping
  • Return Policy
  • Responsibility

Company

  • About Us
  • Contact Us
  • Terms of Service
  • Privacy Policy
  • Cookie Policy

Dealer

  • Find Himiway Dealer
  • Become Our Dealer
© 2026 Himiway Electric Bike All Rights Reserved.
United States
Deutschland
Canada
United Kingdom
Payment options:
  • American Express
  • Apple Pay
  • Diners Club
  • Discover
  • Google Pay
  • Mastercard
  • PayPal
  • Shop Pay
  • Venmo
  • Visa
(323) 303-3155 Monday to Friday, 9 am-6 pm
support@himiwaybike.com Haven’t ordered yet? Contact
customers@himiwaybike.com Already ordered? Contact
Himiway USA Shop 528 Spanish Ln, walnut CA 91789 Submit a ticket

Shopping Cart

Your cart is currently empty.
Subtotal $0.00