The written knowledge test is one of the first real milestones in getting a driver's license — and yes, it usually comes with a fee. But how much you'll pay depends heavily on where you live, what type of license you're applying for, and how many attempts it takes you to pass.
Here's how the cost structure generally works, and what shapes it.
In most states, the written knowledge test fee isn't charged in isolation. It's typically bundled into one of two payment structures:
Some states charge as little as a few dollars just for the written test itself. Others roll everything into a single payment that can range from around $20 to $50 or more — though figures at either end of that range exist. Because states set their own fee schedules, there's no single national standard.
When you pay a knowledge test fee — whether standalone or bundled — you're generally paying for:
What the fee does not cover, in most cases, is a retake. If you don't pass on the first try, most states require an additional payment before you can test again.
Failing the knowledge test and needing to retest is common, especially for first-time drivers. Most states charge a retake fee — sometimes the same as the original test fee, sometimes a reduced rate.
Key variables that affect retake costs:
| Variable | How It Affects Cost |
|---|---|
| State fee schedule | Retake fees are set at the state level — no universal rule |
| Number of attempts allowed | Many states limit attempts before requiring a waiting period |
| Waiting period requirements | Some states require a minimum wait (often days or weeks) between attempts |
| CDL vs. standard license | Commercial knowledge tests often have different fee structures |
Some states allow unlimited retakes within a permit validity window. Others cap attempts per application cycle, which could mean restarting the application — and repaying fees — from scratch.
The type of license you're testing for matters significantly.
Standard Class D or C (non-commercial) license: Most first-time applicants are in this category. Knowledge test fees tend to be lower, and in several states, the written test fee is absorbed into the learner's permit or license application fee.
Commercial Driver's License (CDL): CDL knowledge tests are more involved — there's a general knowledge test, plus separate tests for each endorsement you're seeking (Hazmat, Tank, Passenger, School Bus, etc.). Each of those may carry its own fee. CDL testing fees are often higher than standard license fees, and the federal framework means certain requirements are consistent across states, but fees themselves are still state-determined.
Motorcycle endorsement: Getting a motorcycle endorsement typically involves a separate written test for motorcycle-specific rules and hazards. This is usually priced separately from your standard license knowledge test, though again, it varies.
Beyond license type, a few other variables shape your total out-of-pocket cost for the knowledge test stage:
Quoting a specific figure as "the" knowledge test fee is misleading — and that's not a caveat, it's the point. A reader in one state might pay $5 for a standalone written test. A reader in another might pay a flat $35 that covers the permit, the test, and the first year of licensing. A CDL applicant adding a Hazmat endorsement might face additional fees on top of that.
The right number for you comes from one source: your state's DMV fee schedule. Most state motor vehicle agencies publish current fee tables on their official websites, and those figures are the only ones that actually apply to your situation.
What to look for when you check: whether the test fee is listed separately or bundled, what the retake policy and associated costs are, and whether your license type or endorsement carries additional charges. Those three things will tell you more than any national average.
