Berberine, a yellow benzylisoquinoline alkaloid, is a constituent of Coptis chines and is commonly used in Chinese herbal medicine for patients with gastrointestinal disorders. The pharmacological effects of berberine include anti-inflammation, antidiarrhetic, antimalarial, and even antimicrobial activities. However, its mechanism of action on the cell migration of human gastric cancer SNU-5 cells is not fully understood. The effects of berberine on the percentage of viable cells were examined first and it was found that berberine induced dose-dependent inhibition in human gastric cancer SNU-5 cells. The effect of berberine on the levels of reactive oxygen species (ROS) and matrix metalloproteinase-1, -2, -7 and -9 was then examined using Western blotting and the results showed that berberine induced ROS production for up to 6 hours of incubation. It was also found that berberine induced downregulation of MMP-1 -2, and -9 but did not affect the level of MMP-7. The mRNA levels of MMPs in SNU-5 cells after treatment with berberine for 24 hours were investigated using a polymerase chain reaction and the results showed that berberine inhibited the gene expression of MMP-1, -2 and -9 in human SNU-5 cells but it did not affect MMP-7. In conclusion, berberine appears to exert its anticancer properties by inducing ROS production and prevention of cell migration via inhibition of the gene expression of MMP-1, -2 and -9 in human gastric cancer SNU-5 cancer cells.