The legality of riding an electric scooter on the road varies by location. In some areas, electric scooters are classified as motor vehicles and require registration and insurance to ride on public roads. In other areas, they are allowed to ride on bike lanes or on the road. It is important to check the local laws and regulations before riding an electric scooter on the road.