Carnosic acid and Rosmarinic acid are family of polyphenols that are found in Rosmary plant. They have property biological behaviors such as anti-cancer, anti-viral and anti-oxidants. This study compared the effects of these two compounds based on ceramide metabolism in cell line of Hep- G2. In this experimental study, Hep-G2 cells were cultured in DMEM supplemented containing bovine fetal serum and antibiotics. Cells with double dilution were then cultured from tow substance Carnosic acid and Rosmarinic acid from concentrations 0 to 70 µM for 24 h and viability of cells was determined by MTT method. Spectrophotometer was used to measure of caspase-3 activity.To measure the level of ceramide, a recombinant ceramidase acid enzyme and naphthalene-2,3-dialdehyde, which is fluorescent and is connected to sphingosine resulted from ceramidase acid, were added to the cell extract and was ultimately determined by HPLC. In this study also activity of ensymes as sphingomylinase, acid ceramidase, glucosyl ceramide synthase was measured. Carnosic acid increased cell viability dose-dependent in Hep-G2 cells by reducing ceramide levels and decreasing activity of ensymes as caspse-3, sphingomylinase, glucosyl ceramide synthase and increasing activity of the enzyme acid ceramidase. Rosmarinic acid in concentrations of up to 50 µM decreased cell viability by increasing ceramide levels and activity of caspse-3, sphingomylinase and decreasing activity of enzymes as acid ceramidese and glucosyl ceramide synthase. Also this substance in concentrations of up to 40 µM caused increasing activity of caspse-3 enzyme. Although in most cases, polyphenols have resulted in induction of apoptosis and decreased cell viability, but in some cases they have inversely affected and caused cell growth.