An actual motorcycle license test cannot be taken online. However, there are practice tests available, some of which are free, that can be used to help study for the required written exam.
A motorcycle test is split into two segments. The first is comprised of the written exam, which is used to show whether or not the rider understands the rules of the road. The next portion of a motorcycle test includes a ride, which shows whether or not the student is able to be trusted on the motorcycle. The free exams often do not have as many questions, while the paid versions use all the questions that appear on the written test.