Depending on local laws, many e-bikes (e.g., pedelecs) are legally classified as bicycles rather than mopeds or motorcycles. This exempts them from the more stringent laws regarding the certification and operation of more powerful two-wheelers which are often classed as electric motorcycles. E-bikes can also be defined separately and treated under distinct Electric bicycle laws.
"Electric power-assisted bicycle" means a vehicle that travels on not more than three wheels in contact with the ground and is equipped with (i) pedals that allow propulsion by human power and (ii) an electric motor with an input of no more than 1,000 watts that reduces the pedal effort required of the rider. For the purposes of Chapter 8 of this title, an electric power-assisted bicycle shall be a vehicle when operated on a highway.
In addition the specific wording of the law may or may not prohibit the use of a "mid-drive" or "crank-drive" motor set-up where the motor drives the rear wheel of the bicycle through the existing chain drive of a bicycle that has multiple gears depending on several points of interpretation of the law. Specifically the interpretation of the wording, "does not require clutching or shifting by the operator after the drive system is engaged". A "mid-drive" or "crank-drive" motor set-up on an electric bicycle does indeed allow the operator to change gears in the power drive system between the motor and the rear wheel of the bicycle. Whether or not such a mechanism which allows the operator to change gears satisfies the wording that requires the operator to change gears is a matter of legal interpretation by the courts. Just as "shall issue" and "may issue" (as in laws governing the issuing licenses) in application of the law have two different meanings (in the first case if you meet the requirements they have to give you the license and in the second they don't have to if they decide not to even if you meet the requirements for the license) whether or not "does not require shifting" outlaws electric bicycles where shifting is possible but is not necessarily required is a matter of interpretation. Thus the legality of electric bicycles equipped with a "mid-drive" or "crank-drive" motor set-up in the U.S. state of Montana is not clearly defined.
Bicycles are popular targets for theft, due to their value and ease of resale. The number of bicycles stolen annually is difficult to quantify as a large number of crimes are not reported. Around 50% of the participants in the Montreal International Journal of Sustainable Transportation survey were subjected to a bicycle theft in their lifetime as active cyclists. Most bicycles have serial numbers that can be recorded to verify identity in case of theft.
Connect the battery to the speed controller and the throttle. Follow the instructions included with the kit to connect each part. Typically, you’ll only need to plug the connector on the speed controller into the connector on the battery, then repeat the process for the throttle. Be sure not to touch the battery wires together, as this could create a dangerous spark! 
Federal law defines the limits of a low speed electric bike, equating it to a bicycle, and bypassing the definition of a motor vehicle only “For purposes of motor vehicle safety standards…” which means that the manufacturers of these bicycles don’t have to meet federal equipment requirements, and are instead governed by the manufacturing requirements of the Consumer Product Safety Act. There is no mention of exemption from other federal, state, and local traffic laws, or exemption from the definition of a motor vehicle for other purposes.3 This means the law applies to the manufacturer’s product and sale, avoiding federal safety requirements applying to a motor vehicle such as brake lights, turn signals and braking specifications. The goal of the law was to give businesses a legal framework to define and sell low speed electric bikes without the more stringent Federal classification of a motor vehicle. Ebikes that meet the criteria are considered a “bicycle”, do not meet the definition of a motor vehicle, and will be regulated by the Consumer Product Safety Commission. The law also grants the commission authority to add safety requirements to this product. The Federal law supersedes all state laws that equate bicycles to ebikes where the state law is more stringent (lower limits) on power and speed.
As of 2005, where Federal funds have been used in the construction of bicycle or pedestrian paths motor vehicles including electric bicycles (here defined as having a motor weighing less than Template:Convert) are not permitted unless State or Local regulations permit . This was known as the Transportation Equity Act for the 21st Century (TEA-21), or Public Law 105-178, or by its 2003 re-authorization which expired in 2005 the Safe, Accountable, Flexible, Efficient Transportation Equity Act (SAFETEA-LU).
Some components, which are often optional accessories on sports bicycles, are standard features on utility bicycles to enhance their usefulness, comfort, safety and visibility. Mudguards, or fenders, protect the cyclist and moving parts from spray when riding through wet areas and chainguards protect clothes from oil on the chain while preventing clothing from being caught between the chain and crankset teeth. Kick stands keep bicycles upright when parked, and bike locks deter theft. Front-mounted baskets, front or rear luggage carriers or racks, and panniers mounted above either or both wheels can be used to carry equipment or cargo. Pegs can be fastened to one, or both of the wheel hubs to either help the rider perform certain tricks, or allow a place for extra riders to stand, or rest. Parents sometimes add rear-mounted child seats, an auxiliary saddle fitted to the crossbar, or both to transport children. Training wheels are sometimes used when learning to ride.
However, laws and terminology are diverse. Some countries have national regulations but leave the legality of road use for states and provinces to decide. Municipal laws and restrictions add further complications. Systems of classification and nomenclature also vary. Jurisdictions may address "power-assisted bicycle" (Canada) or "power-assisted cycle" (United Kingdom) or "electric pedal-assisted cycles" (European Union) or simply "electric bicycles". Some classify pedelecs as distinct from other bikes using electric power. Thus, the same hardware may be subject to many different classifications and regulations.
If you have dynamo-powered bicycle lights, you already own an electric-powered bicycle! Consider: as you pump your legs up and down on the pedals, you make the wheels rotate. A small dynamo (generator) mounted on the rear wheel produces a tiny current of electricity that keeps your back safety lamp lit in the dark. Now suppose you could run this process backward. What if you removed the lamp and replaced it with a large battery. The battery would kick out a steady electric current, driving the dynamo in reverse so that it spun around like an electric motor. As the dynamo/motor turned, it would rotate the tire and make the bike go along without any help from your pedaling. Hey presto: an electric bike! It may sound a bit far-fetched, but this is more or less exactly how electric bikes work.