The aim of this study is to evaluate the effect of a matrix metalloproteinase inhibitor on the bond strength between the dentin surface and resin and glass ionomer dental cements. A total of 120 extracted sound human permanent first or second mandibular molars were selected in that part of the study. They were stored in a glass containg distilled water in a refrigerator until used to avoid dehydration. Samples were divided into three main groups (40 each) according to the cement used (C1, C2 and C3). Where, C1= conventional total etch resin cement (Rely X ARC), C2= self etch resin cement (Rely X Unicem Aplicap) and C3= glass ionomer cement (Ketac Cem Aplicap) (n=40). Each group was subdivided into two subgroups a control group (Group1) without chlorhexidine and a group to be treated with chlorhexidine (Group2 CHX) each subgroup was further subdivided into two groups (10 each) according to the storage time period (T1=24 hours, T2=2 months). the results of this study were statistically analyzed using one-way Analysis of Variance (ANOVA) followed by Tukey's post-hoc test was used for pair-wise comparison between the means when ANOVA test is significant. The use of 2% chlorhexidine on normal dentine surface partially removes part of the dentin plugs from the smear layer of dentin. The use of 2%chlorhexidine on dentin surface as matrix metalloproteinase inhibitor of total etch resin cement had no effect on the shear bond strength wet the bond strength did not decrease after 2 months storage. The use of 2%chlorhexidine on dentine surface as matrix metalloproteinase inhibitor increased the shear bond strength between dentine and self adhesive cements as well as glass ionomer cements after 24 hours. The use of 2%chlorhexidine on dentine surface as matrix metalloproteinase inhibitor for the self adhesive cements as well as glass ionomer cements preserve the shear bond strength during storage for 2 months.