Marijuana is treated differently under California law than other substances. Possession of less than an ounce by someone under 18 years of age is not generally prosecuted, and possession of up to 28.5 grams is an infraction punishable by a fine, as well as drug education and counseling.
Possession of more than that amount (28.5 grams) is a misdemeanor punishable by up to six months in jail and a fine of up to $500. Penalties for sale, possession with intent to distribute, and cultivation of marijuana are all similar unless the individual involved has certain prior convictions or attempts to distribute marijuana to minors under the age of 18. In either of those cases, the offense becomes a felony. In all cases, it is important to remember that marijuana is still a Schedule I drug under federal law and can be punished as a federal offense.