DIY Electric Bike: How to Build One and Stay Within the Rules
A DIY electric bike is a standard bicycle converted to motor assistance by its owner. As of October 27, 2026, a proposed U.S. federal rule would cover conversion kits. Many builds use mid-drive drivetrain basics.
The main decisions are the motor type, battery safety and the legal power and speed limits, which vary by country. Check those limits before you order a kit or parts.
The information here is general, not legal or safety advice. Battery and e-bike rules vary by place and change over time, so confirm them with your local authority and the battery maker before you build.
In This Guide
ToggleWhat You Need for a DIY Electric Bike
A DIY electric bike starts with a bicycle in good working order. According to Levy Electric’s build guide, a kit should include a motor, battery, controller and throttle. After building, see our notes on an ebike screen reset.
- A donor bike in good working order.
- A motor, either a hub motor or a mid-drive motor (compared below).
- A battery, which carries the fire warnings covered below.
- A controller and a throttle.
- Basic tools, such as wrenches and screwdrivers, and possibly a drill.
Start with the donor bike, not the kit. A bicycle that is not in good working order can cause problems once a motor is added, so fix any faults first. For hilly routes, see our ebike with gears for hills.
Steps to Build a DIY Electric Bike
According to Levy Electric’s build guide, a DIY electric bike follows several general steps, from choosing a motor to final adjustment. Before riding, run our checks for testing a finished home build.

The steps below run from gathering parts to making final adjustments.
- Gather the parts and tools.
- Choose the motor type.
- Install the motor.
- Install the battery and mount the controller.
- Set up the throttle and make the electrical connections.
- Test the e-bike.
- Make final adjustments.
Installing a hub motor means swapping the front or rear wheel hub for the motorized one. A mid-drive install means removing the bike’s bottom bracket and fitting the motor unit in its place. For smooth assist, consider e bike torque sensors.
The order matters because each stage depends on the one before it. The battery and controller go in after the motor is mounted, and the test comes only after the electrical connections are made.
This order is a general guide to a typical kit, so wiring and mounting details belong to the kit maker’s manual. If your manual gives a different order for your DIY electric bike, follow the manual.
Hub Motor or Mid-Drive: Which Suits Your Bike?
According to Levy Electric’s guide, a hub motor replaces a wheel hub and suits flat terrain, while a mid-drive motor replaces the bottom bracket and handles hills better. For motor choice, weigh the hub motor pros and cons.
The table compares the two motor types on where they mount and what they suit. For low-maintenance builds, see chainless electric bike costs.
| Motor | Where it mounts | Typical fit |
|---|---|---|
| Hub motor | Replaces the front or rear wheel hub | Flat terrain |
| Mid-drive motor | Replaces the bottom bracket | Hills |
If your rides are mostly flat, a hub motor suits a DIY electric bike. If you ride hills often, the mid-drive motor is the better fit, though it means working on the bottom bracket. For simpler options, see our notes on conversion kit installation.
Battery size is a separate choice for any DIY electric bike. A larger battery usually gives more range but adds weight. Match capacity to your typical ride rather than choosing the largest pack.
Battery Safety and CPSC Warnings
On November 24, 2025, the U.S. Consumer Product Safety Commission (CPSC) warned that certain Rad Power Bikes batteries can ignite and explode, especially when exposed to water or debris.

The warning names specific products, not every battery used in a DIY electric bike. Check your battery’s brand and model against the CPSC notice, since a battery not named there is outside this warning.
According to the CPSC warning on Rad Power batteries, the agency reports 31 fire reports and 12 property damage reports, totaling about $734,500.
Three CPSC actions matter for a conversion build:
- November 24, 2025: warning on certain Rad Power Bikes batteries.
- An earlier CPSC warning covered Unit Pack Power conversion batteries.
- June 24, 2026: proposed rule covering conversion kits, replacement batteries and aftermarket electrical parts.
The June 2026 proposal would add tamper-resistant battery enclosures and reverse-polarity protections for batteries used in a DIY electric bike. It is still a proposal, so it does not change the batteries you can buy today.
Legal Limits for Homemade E-Bikes
Under UK rules summarized by nidirect’s electric bike guide, a pedal-assisted e-bike may have a motor of up to 250 watts. Assistance stops at 15.5 mph (25 km/h).
The rules cover electrically assisted pedal cycles (EAPCs). A DIY electric bike that falls outside them is classed as a motorcycle or moped.
Outside the rules, the bike must be registered, taxed and insured, and the rider needs a driver’s license and a helmet. Check any DIY electric bike plan against these limits before you order the motor.
Both limits apply to the finished bike, so the motor’s rated power and the assistance cut-off both matter, not just the motor you choose. Use the table below as a starting point, then confirm each row against the official nidirect page.
| Market | Rule | Status |
|---|---|---|
| UK (EAPC) | Maximum motor power of 250 watts | Verified on nidirect |
| UK (EAPC) | Assistance stops at 15.5 mph (25 km/h) | Verified on nidirect |
| UK (EAPC) | Riders must be 14 or older | Verified on nidirect |
| UK (EAPC) | Marking plate shows the manufacturer, power output, and battery voltage or maximum speed | Verified on nidirect |
| UK (outside EAPC) | Propulsion without pedaling needs type approval | Verified on nidirect |
| US | Federal and state rules for homemade e-bikes | Not checked; confirm your state and federal rules before you build |
Common Mistakes to Avoid
The two mistakes with the clearest sources are using a battery covered by a CPSC warning and exceeding the UK 250 W limit.
- Using a battery covered by a CPSC warning, especially one exposed to water or debris.
- Building above the UK 250 W limit, which moves the bike into the motorcycle or moped rules.
- Treating a homemade battery pack as routine. The June 2026 CPSC proposal would expand warning labels for unsafe charging and homemade battery packs.
- Ignoring the marking plate. UK rules call for a plate that shows the manufacturer, power output, and battery voltage or maximum speed, so check for one before you buy.
Meeting the 250 W limit does not make a DIY electric bike safe on its own.
The same caution applies to any DIY electric bike that uses a homemade battery pack.
Build or Buy: A Decision Checklist
Build only after you confirm the motor’s rated power, the battery’s warning history and your local rules, since UK rules cap motor power at 250 watts.
The checklist applies to any DIY electric bike project, whether you use a kit or loose parts.
- Rated power: confirm the motor’s rated power is within your local limit, which is 250 watts in the UK.
- Marking plate: check that it shows the manufacturer, power output, and battery voltage or maximum speed. Type-approved bikes also show an approval number.
- Battery history: search the CPSC website at cpsc.gov for your battery brand and model.
- Rules: confirm your state and federal rules, since this guide does not check U.S. state or federal rules.
According to Electrek’s summary of the CPSC rule, the June 24, 2026 proposal covers conversion kits. Comments ran through August 24, 2026, and the source gives no effective date, so check the rule’s status before you buy.
A DIY electric bike built from a kit still needs the same power and battery checks.
Frequently Asked Questions
Is a DIY electric bike cheaper than a prebuilt one?
No reliable cost figure was found, so this guide cannot say whether building saves money. A vendor blog claims it can, but that is a seller’s claim. Compare the full kit, battery and tools with the price of a prebuilt bike in your market.
Can a DIY electric bike use a twist-and-go throttle?
In the UK, a bike that can be propelled without pedaling needs type approval, which may apply to a twist-and-go throttle. Nidirect does not mention throttles by name, so check the rule for your setup. For U.S. throttle rules, check your state and federal requirements before you buy a throttle kit.
Does the CPSC proposal ban homemade e-bikes?
Not according to Electrek’s summary of the proposed CPSC rule, which describes added requirements rather than a ban. The June 24, 2026 proposal would cover conversion kits, replacement batteries and aftermarket electrical parts. It is still a proposal, and the summary states no effective date. Check the CPSC site for updates.
What should I do with a battery covered by a CPSC warning?
Stop using a battery covered by a CPSC warning and remove it from the bike. The CPSC’s instructions for Rad Power Bikes batteries say to call ahead, then take the battery to a household hazardous waste center. Do not trash, recycle, sell or give it away.
Which donor bike works for a DIY electric bike?
According to Levy Electric’s build guide, the donor bike should be a bicycle in good working order. The guide states the condition, not a specific bike type, so check the kit maker’s compatibility list before you order. A bike that fits one kit may not fit another.
Before you order parts, decide whether you will build or buy. Then check your local power and speed limits and any CPSC warnings for the battery you plan to use. If your DIY electric bike plan breaks local rules, buying a prebuilt bike is the simpler choice. Once those checks pass, follow the kit maker’s manual for wiring and mounting.
Lauren Whitfield researches and compares electric bikes by analyzing verified customer reviews, Trustpilot ratings, and manufacturer specifications. The goal is simple: help shoppers find the right deal without spending hours digging through the details.