In California, residents who are aged 21 or older are allowed to possess up to 1 ounce of dried marijuana or 8 grams of concentrated cannabis. Edibles — food products that contain marijuana — are subject to the same marijuana laws. If you are caught with edibles, the outcome will depend on the quantity of marijuana in the products.
If the edibles contain a greater quantity of marijuana then permitted by law, then you may be charged with a misdemeanor offense and punished by up to 6 months in county jail and/or a fine of up to $500. If you are caught with a significant amount of edibles, then you may be charged with possession with intent to sell if you lack a state and local license to sell marijuana. For most people, possession for sale without a license is a misdemeanor offense, punishable by up to 6 months in county jail and/or a fine of up to $500. If you have certain prior convictions, including 2 or more convictions for possession with intent to sell marijuana, then it will be charged as a felony.