What you pay for the written test varies by state, from $10 to $40, and depends on whether you are taking it alone or bundled with other services like the road test or license issuance

The written knowledge test itself has a separate fee in most states, but that fee is often rolled into a larger transaction. When you walk into a DMV office, you might pay one fee that covers the written test, the road test, and the license itself — or you might pay three separate fees. Some states charge you only when you pass. Others charge upfront regardless of the outcome. A few states include the written test in the renewal fee if you are renewing rather than getting your first license.

The cost also depends on the license type. A commercial driver license (CDL) written test costs more than a standard passenger vehicle test in every state. A motorcycle endorsement test may have its own fee. Knowing what you will actually pay requires knowing your state, your license category, and whether you are a first-time test-taker or retesting.

Key Takeaways

  • Written test fees range from $10 to $40 in most states, but the total you pay at the DMV often bundles the written test, road test, and license fee together.
  • Some states charge the written test fee only if you pass; others charge it upfront whether you pass or fail.
  • Commercial driver license tests and motorcycle endorsement tests typically cost more than a standard written test.
  • Retesting fees may differ from the initial test fee, and some states waive or reduce the fee if you retake the test within a certain window.
  • Your state's DMV website lists the exact fee structure for your license type, and calling ahead prevents surprises at the counter.

Typical written test fee ranges by state

Most states charge between $10 and $25 for a written knowledge test on its own. States like California, Texas, and Florida fall in the $15 to $20 range. New York charges around $10 for a written test. States with higher costs — $30 to $40 — include some in the Northeast and Midwest, though the fee often includes other services bundled together.

The fee you see listed on a state DMV website may not be the fee you pay at the counter. Many states list a "knowledge test fee" separately from a "license issuance fee" and a "road test fee," but you pay all three at once. Other states publish a single "license transaction fee" that covers everything. The only way to know what you will actually hand over is to check your specific state's fee schedule for your license type.

A few states — including some that offer online written tests — charge no separate fee for the written test itself; the cost is absorbed into the overall license fee. This is less common but does happen, particularly in states that have moved to digital testing.

How fees differ for first-time tests versus retests

If you fail the written test, you will need to retake it. Some states charge the same fee each time you test. Others charge a reduced retake fee — typically $5 to $10 — on the assumption that you have already paid for the first attempt. A few states allow one free retake within a set period (often 30 days) before charging again.

Check your state's retake policy before you pay for a second attempt. Some states require you to wait a set number of days between attempts — commonly 7 to 14 days — and the fee structure may change if you wait longer. If you are retesting after a long gap, you might be charged as though it is your first attempt.

Commercial driver license and endorsement test costs

A CDL written test costs significantly more than a standard passenger vehicle test in every state. Expect to pay $25 to $60 for a CDL knowledge test, depending on the state and the number of endorsements you are testing for. Each endorsement — such as hazmat, tanker, or passenger — may have its own fee, or they may be bundled into one higher fee.

Motorcycle endorsement tests also carry their own fees, usually $10 to $25 on top of your standard license fee. Some states allow you to add a motorcycle endorsement to an existing license for a lower fee than obtaining a motorcycle-only license.

Whether the fee is charged upfront or only on passing

Most states charge the written test fee upfront, whether you pass or fail. You pay at the counter before you sit down to test. If you fail, that fee does not carry over to your next attempt — you pay again when you retake the test.

A smaller number of states charge the fee only if you pass. This means you do not pay anything if you fail the first time, but you will pay the full fee when you retake the test and pass. This structure is less common but does exist in some states. Check your state's policy so you know whether to bring money for a potential retake.

How written test fees fit into the total license cost

The written test fee is rarely the only cost of getting a license. A typical first-time license transaction includes the written test fee, the road test fee, and the license issuance fee. Together, these often total $50 to $150 depending on the state and license type.

Some states separate these costs clearly on their fee schedule. Others publish a single flat fee for the entire transaction. A few states charge differently depending on whether you pass the written test before scheduling the road test, or whether you do both on the same day. Reading your state's fee schedule carefully — or calling the DMV directly — prevents confusion at the counter.

If you are renewing a license rather than obtaining a new one, the written test fee may not explore at all. Many states do not require a new written test for renewal; you pay only the renewal fee. Some states do require a written test at renewal, particularly if your license has been expired for a long time.

How to find your state's exact written test fee

Your state's DMV website publishes a fee schedule, usually under a heading like "Fees" or "License Fees." Search for your state name plus "DMV written test fee" or "knowledge test fee." The schedule will list fees by license type — passenger vehicle, CDL, motorcycle, and so on.

If the website is unclear or lists fees without explaining what is bundled together, call your local DMV office directly. Ask specifically: "What is the fee for the written knowledge test alone?" and "What other fees will I pay at the same time?" This takes five minutes and prevents arriving at the DMV without enough cash or the wrong payment method.

Some states accept only cash, some accept card, and some accept both. Confirm payment methods when you call, particularly if you are visiting a rural or smaller DMV office.

Frequently Asked Questions

Do I have to pay the written test fee if I fail?

In most states, yes — you pay upfront before testing, whether you pass or fail. If you fail and retake the test, you pay the fee again. A smaller number of states charge only if you pass. Check your state's policy before you test so you know whether to budget for a potential retake fee.

Is the written test fee the same as the license fee?

No. The written test fee, road test fee, and license issuance fee are usually separate charges, though you pay them all at once during the same DMV visit. Some states publish them separately; others bundle them into one total. Your state's fee schedule will clarify which applies to you.

Do I pay the written test fee again if I renew my license?

Usually not. Most states do not require a new written test at renewal, so you pay only the renewal fee. Some states do require a written test if your license has been expired for several years or if you are upgrading to a different license type. Check your state's renewal requirements to be sure.

What if I take the written test online instead of at the DMV?

Some states offer online written tests, but the fee structure is the same — you still pay for the test, though the amount may be identical to the in-person fee. A few states charge slightly less for online testing. Confirm the fee and payment method when you register for the online test.

Can I get a refund if I pass the written test but do not take the road test?

Refund policies vary by state. Most states do not refund the written test fee if you do not complete the road test, because you have already used the service. Some states allow you to use a passed written test result for a set period — often 6 to 12 months — before you must retake it. Ask your DMV whether your passed test result carries over if you delay the road test.