To obtain a CDL, an applicant must be at least:

You must be at least 18 years old to obtain a CDL. However, you must be 21 years old to drive in interstate commerce or to obtain a passenger or hazardous materials endorsement.
DMV Writen Test