Methods for terminating fibrillation in a fibrillating heart employing nanosecond pulsed electric fields (nsPEFs) are disclosed. nsPEF defibrillation demonstrates its effectiveness as a new defibrillation modality, achieving reliable defibrillation with energies that are an order of magnitude lower than those needed for conventional defibrillation (millisecond shocks with mono- and bi-phasic waveforms). Tests did not reveal any negative effect of nsPEF defibrillation on cardiac tissue, in particular, cardiac tissue treated with nsPEFs does not exhibit a baseline shift in the optical transmembrane potential signal (distinctive feature that indicates electroporation), or changes in action potential duration or shape. The mechanism of nsPEF defibrillation is likely different from conventional defibrillation since it does not rely on membrane charging but on the basis of displacement currents that flow within nanoseconds after the shock is applied. nsPEFs provide the technology for the next generation of defibrillators that help emergency medical services to treat patients effectively.