To purchase cannabis in California, you must be at least 18 years old or at least 21 years old with a valid prescription.