Background: In recent years, the relationship between cancer cells and electromagnetic radiation has received much attention. Objectives: The present study aimed to evaluate the effects of different intensities of electromagnetic fields on gastric cancer cell lines (AGS). Methods: After preparing AGS and Hu02 (normal) cell lines, they were exposed to magnetic flux densities of 0.25, 0.5, 1, and 2 millitesla (mT) for 18 h. The cell viability was studied by the 3-(4,5-dimethylthiazol-2-yl)-2,5-diphenyltetrazolium bromide (MTT) assay. The expression levels of hes1 and hsa-circ-0068530 RNAs were studied by the quantitative Real-time-PCR technique. Results: The inhibition of gastric cancer cell line growth was observed under the influence of electromagnetic fields at different intensities. However, they did not affect the viability of normal cells. A sharp increase in the expression of hes1 and hsa-circ-0068530 genes was observed in normal cells exposed to 2 mT electromagnetic fields. Conclusions: In general, it can be concluded that the effect of electromagnetic fields on gastric cancer cells depends on their intensity. Magnetic flux densities of 0.25 and 0.5 mT had anti-cancer effects and magnetic flux density of 2 mT showed carcinogenic effects.