The precise correlation between magnesium and cardiac disease remains to be established. Matrix metalloproteinases (MMPs) are important in cardiac disease such as heart failure. Cardiac fibroblasts are the most abundant cell type in the heart and play an important role in the regulation of collagen degradation by MMPs. To assess the association between magnesium and MMPs, we examined the effects of different extracellular magnesium concentrations (0–3.0 mmol/L) on MMP-2 production in cultured rat cardiac fibroblasts. Using gelatin zymography and western blotting, we found that magnesium reduced MMP-2 production dose-dependently, and this effect was inhibited by the tyrosine kinase inhibitors, genistein or herbimycin A. The results of this study indicated that the beneficial effect of magnesium supplementation on the cardiac disease may be due, at least in part, to the inhibitory effect of magnesium on production of MMPs in cardiac fibroblasts, which appears to be mediated by a protein tyrosine phosphorylation related signal transduction pathway.