Diclofenac (DIC), a nonsteroidal anti-inflammatory drug, is known to exert anti-nociceptive and anti-convulsant actions; however, its effects on ion currents, in neurons remain debatable. We aimed to investigate (1) potential effects of diclofenac on membrane potential and potassium currents in differentiated NSC-34 neuronal cells and dorsal root ganglion (DRG) neurons with whole-cell patch-clamp technology, and (2) firing of action potentials (APs), using a simulation model from hippocampal CA1 pyramidal neurons based on diclofenac's effects on potassium currents. In the NSC-34 cells, diclofenac exerted an inhibitory effect on delayed-rectifier K⁺ current (I(KDR)) with an IC₅₀ value of 73 μM. Diclofenac not merely inhibited the I(KDR) amplitude in response to membrane depolarization, but also accelerated the process of current inactivation. The inhibition by diclofenac of IK(DR) was not reversed by subsequent application of either naloxone. Importantly, diclofenac (300 μM) increased the amplitude of M-type K⁺ current (I)(KM)), while flupirtine (10 μM) or meclofenamic acid (10 μM) enhanced it effectively. Consistently, diclofenac (100 μM) increased the amplitude of I(KM) and diminished the I(KDR) amplitude, with a shortening of inactivation time constant in DRG neurons. Furthermore, by using the simulation modeling, we demonstrated the potential electrophysiological mechanisms underlying changes in AP firing caused by diclofenac. During the exposure to diclofenac, the actions on both I(KM) and I(KDR) could be potential mechanism through which it influences the excitability of fast-spiking neurons. Caution needs to be made in attributing the effects of diclofenac primarily to those produced by the activation of I(KM).