The cost of the written knowledge test varies by state, from $10 to $40, and depends on whether you are taking it for the first time, renewing, or upgrading your license class.
Most states charge a single fee that covers both the written test and the driving test together, rather than pricing them separately. A few states let you pay for each test on its own. The fee you pay at the DMV window is usually non-refundable, even if you fail the test and need to retake it — though some states do not charge you again for the second attempt within a certain timeframe.
The written test fee is often bundled with your license issuance fee, so the total amount you hand over covers the test, the background check, and the physical license card itself. If you are renewing an existing license rather than getting your first one, the cost may be lower or structured differently.
Key Takeaways
- Most states charge between $10 and $40 for the written test, usually as part of a combined fee that includes the driving test and license issuance.
- The fee is typically non-refundable if you fail, but some states waive the retake fee within 30 to 90 days of your first attempt.
- Renewal tests (if your state requires one) often cost less than a first-time license test because they do not include the full issuance fee.
- A few states charge separately for the written test and the road test, so you may pay twice if you fail one and pass the other.
State-by-State Fee Ranges
The written test fee depends entirely on your state's DMV pricing structure. States like California, Texas, and Florida charge between $15 and $35 for a combined written and driving test. New York charges around $65 for the full license package, which includes both tests. States with lower overall licensing costs, such as South Dakota and Wyoming, may charge $10 to $20 for the written test alone.
Some states separate the fees: you might pay $15 for the written test and $20 for the road test, meaning you could spend $35 total if you pass both on the first try. Other states bundle everything into one fee of $30 or $40 and you pay it once, regardless of how many tests you take. A few states, including some that offer online written tests, charge a small additional fee ($2 to $5) for the online option.
The best way to find your state's exact fee is to visit your state DMV website or call your local office. Fees change periodically, and some counties within a state may charge differently than others.
What Happens If You Fail and Need to Retake
If you fail the written test, you will usually need to pay a retake fee. In most states, this retake fee is the same as the original test fee — typically $10 to $40. However, some states do not charge for a retake if you schedule it within 30, 60, or 90 days of your first attempt. A few states charge a reduced retake fee, such as $5 or $10, even if the original test cost $25.
You should ask the DMV staff member at the test window what the retake policy is before you leave. Some states require you to wait a certain number of days (often 1 to 7 days) before you can retake the test, while others let you retake it the same day or the next day. The waiting period does not affect the fee — you still pay the same amount whenever you retake it.
Renewal and Upgrade Test Fees
If you already hold a valid driver license and are renewing it, your state may not require you to take the written test again. In that case, you pay only the renewal fee, which is usually $20 to $50 and does not include a test. However, if your license has been expired for a long time (often more than 1 to 3 years, depending on the state), you may have to retake the written test as part of the renewal process.
If you are upgrading your license — for example, adding a motorcycle endorsement or moving from a Class D to a Class A commercial license — you will usually pay a separate endorsement or upgrade fee plus the cost of the written test for that new class. These fees vary widely. A motorcycle endorsement test might cost $10 to $20, while a commercial driver license (CDL) written test can cost $25 to $50.
Payment Methods and Where to Pay
Most DMV offices accept cash, debit cards, and credit cards. Some accept checks or money orders, though this is less common. A few states now allow you to pay online before you arrive at the DMV, which can speed up your visit. If you pay online, you will usually receive a confirmation number to bring with you.
You pay the test fee at the DMV window when you check in for your appointment or walk-in visit. The staff member will collect the fee before you take the test. If you are taking the test at a third-party testing location (some states contract with private testing centers), you may pay the fee to that location instead of the DMV, though the amount should be the same.
Hidden Costs Beyond the Test Fee
The written test fee itself is straightforward, but there are other costs to budget for. You will need to pay for the license issuance fee if you pass the test, which is usually included in the total you pay upfront. If you need to obtain documents like a birth certificate, passport, or proof of residency to bring to the DMV, those may have their own costs. A certified birth certificate can cost $10 to $30 depending on your state.
If you fail the written test and need to study more before retaking it, you might pay for a driver education course or study materials, though these are optional. Some states offer free online study guides through their DMV website, so you can prepare without spending extra money.
Frequently Asked Questions
Do I have to pay the test fee even if I fail?
Yes, the test fee is non-refundable in almost all states. You pay it before you take the test, and you do not get the money back if you fail. However, some states do not charge a second fee if you retake the test within a certain period, usually 30 to 90 days.
Can I pay online before I go to the DMV?
Some states allow online payment before your appointment, but not all. Check your state DMV website to see if this option is available. If it is, you will receive a confirmation number to bring with you, and you may skip the payment step at the window.
What if I take the written test at a private testing center instead of the DMV?
The fee should be the same whether you test at the DMV or a contracted private center. Some states use third-party testing locations to reduce wait times. The fee structure does not change based on location.
Is the written test fee the same for a motorcycle endorsement as for a regular license?
Usually not. Endorsement tests often cost less than a full license test — typically $10 to $20 — because they do not include the full license issuance fee. Check your state DMV for the specific endorsement fee.
Do I pay the test fee again if I renew my license?
Only if your state requires you to retake the written test as part of renewal, which usually happens if your license has been expired for several years. If you are renewing an active license, you pay only the renewal fee, not the test fee.