California offers free sample tests through the DMV website that match the real written exam

The California Department of Motor Vehicles publishes official sample tests online at no cost. These tests use the same question format and cover the same topics as the actual written exam you will take. The sample test is the closest thing to the real test available before you sit for it, because it comes directly from the DMV.

You can take the sample test as many times as you want. Most people use it to find weak areas, study those topics in the DMV handbook, then take the sample test again. The test is available in English and Spanish, and you can access it from any device with a web browser.

Key Takeaways

  • The official California DMV sample test is free and found on the DMV website under the "Sample Tests" section for your license class.
  • The sample test contains the same types of questions and topics as the real written exam, making it the best way to know what to expect.
  • You can retake the sample test unlimited times and switch between English and Spanish versions.
  • The sample test does not replace studying the DMV handbook — it shows you what you still need to learn.
  • You must score at least 83 percent on the real written exam to pass, and the sample test uses the same passing score.

Where to find the California DMV sample test online

Go to dmv.ca.gov and look for the "Sample Tests" link. The DMV organizes sample tests by license class: Class D (regular passenger vehicle), Class M (motorcycle), and commercial licenses. Select the class that matches the license you are testing for.

The sample test launches in your web browser — you do not need to read or install anything. You can take it on a phone, tablet, or computer. If you prefer to study offline first, the DMV also publishes the handbook in PDF format on the same page, though many people find the online sample test more useful for practice.

What the sample test covers and how it is structured

The Class D sample test contains 36 questions, the same number as the real written exam. Each question is multiple choice with four possible answers. The test covers California traffic laws, road signs, safe driving practices, and what to do in emergencies.

The real exam covers the same topics in the same proportions, so if you miss several questions about parking laws on the sample test, you know to spend extra time on that section of the handbook. The sample test does not shuffle questions randomly each time — you will see the same questions if you retake it, which is why it works best as a study tool rather than a final check.

You need to score at least 30 out of 36 questions correct (83 percent) to pass the sample test. This is the same passing score as the real exam. If you score below 30, go back to the handbook, focus on the topics where you missed questions, and retake the sample test after a few days of study.

How to use the sample test as a study strategy

Take the sample test once without studying first. This shows you what you already know and what you need to learn. Write down or take a screenshot of the questions you missed.

Open the DMV handbook and read the sections that cover those topics. The handbook is organized by topic, so if you missed questions about right-of-way, find that section and read it carefully. Many people find it helpful to read the handbook section, then when ready retake just the sample test questions on that topic to see if they understand it now.

Repeat this cycle — take the full sample test, identify weak areas, study those sections, retake the sample test — until you score 30 or higher consistently. Most people need two to four cycles before they are ready for the real exam.

Differences between the sample test and the real written exam

The sample test uses the exact same questions as the real exam. However, on test day at the DMV, you will answer the questions on a computer terminal or on paper, depending on which DMV office you visit. Some offices still use paper tests, while others have moved to computer-based testing. The sample test is computer-based, so if your local office uses paper, the format will be slightly different, but the questions and answers are identical.

The real exam is timed — you have a set amount of time to answer all 36 questions, usually around 10 minutes. The sample test online does not have a time limit, so you can take as long as you need. If you want to practice under pressure, set a timer for 10 minutes and try to finish the sample test before time runs out.

Sample test availability for other license types

If you are testing for a Class M motorcycle license, the DMV offers a separate sample test with 25 questions specific to motorcycle operation and safety. Commercial driver's license (CDL) tests have their own sample tests as well, organized by endorsement type.

The process is the same: find your license class on dmv.ca.gov, take the sample test, identify weak areas, study the handbook, and retake the sample test. The passing score for motorcycle tests is also 83 percent.

What to do if you fail the real exam after passing the sample test

If you score 30 or higher on the sample test but fail the real exam, the most common reason is test anxiety or rushing through questions. On test day, read each question carefully and do not second-guess your first answer unless you are certain it is wrong. Some people also find that they studied the sample test questions so many times they memorized the answers without understanding the concepts — if this happens, go back to the handbook and make sure you understand the "why" behind each answer, not just the correct letter.

You can retake the real written exam as many times as you need. There is usually a waiting period between attempts (often a few days), and you pay the test fee each time. Many people take the sample test again after failing the real exam to see if they missed new questions or made careless mistakes on questions they had answered correctly before.

Frequently Asked Questions

Is the California DMV sample test the same as the real exam?

The sample test uses the exact same questions as the real exam, but the real exam may be delivered on paper or computer depending on your DMV office. The questions, answers, and passing score (83 percent) are identical. The main difference is that the sample test has no time limit, while the real exam does.

Can I take the sample test on my phone?

Yes. The sample test works on any device with a web browser, including phones, tablets, and computers. You do not need to read an app — just go to dmv.ca.gov and select the sample test for your license class.

How many times can I retake the sample test?

You can retake it as many times as you want. Most people retake it several times while studying different sections of the handbook. Since the sample test uses the same questions each time, it is best used as a study tool rather than a final practice test right before your real exam.

What score do I need to pass the sample test?

You need to score at least 30 out of 36 questions correct, which is 83 percent. This is the same passing score as the real written exam at the DMV.

Is the sample test available in languages other than English?

Yes. The sample test is available in Spanish. Go to dmv.ca.gov and look for the language option when you select your sample test. The DMV handbook is also published in Spanish and several other languages.