• A miniature magnetic coil induces a strong electric field in a brain slice. • The coil suppresses local epileptiform activity (EFA) in the brain slice. • EPA inhibition depends on stimulation frequency and duration of the magnetic pulses. Electric current has been used for epilepsy treatment by targeting specific neural circuitries. Despite its success, direct contact between the electrode and tissue could cause side effects including pain, inflammation, and adverse biological reactions. Magnetic stimulation overcomes these limitations by offering advantages over biocompatibility and operational feasibility. However, the underlying neurological mechanisms of its action are largely unknown. In this work, a magnetic generating system was assembled that included a miniature coil. The coil was positioned above the CA3 area of mouse hippocampal slices. Epileptiform activity (EFA) was induced with low Mg2+/high K+ perfusion or with 100 µM 4-aminopyridine (4-AP). The miniature coil generated a sizable electric field that suppressed the local EFA in the hippocampus in the low-Mg2+/high-K+ model. The inhibition effect was dependent on the frequency and duration of the magnetic stimulus, with high frequency being more effective in suppressing EFA. EFA suppression by the magnetic field was also observed in the 4-AP model, in a frequency and duration – dependent manner. The study provides a platform for further investigation of cellular and molecular mechanisms underlying epilepsy treatment with time varying magnetic fields. [ABSTRACT FROM AUTHOR]