In the ion cyclotron range of frequencies, electromagnetic surface waves are physically relevant for wave–filament interactions, parasitic edge losses and sheath–plasma waves. They are also important numerically, where non-physical surface waves may occur as side effects of slab-geometry approximations. We give new, completely general, mathematical techniques to construct dispersion relations for electromagnetic surface waves between any two media, isotropic or anisotropic, and first-order corrections for when the material interface is steep but continuous. We discuss numerical issues (localized non-convergence, undesired power generation) that arise in numerical calculations due to the presence of surface waves.