ABSTRACT Almost all accreting black hole and neutron star (NS) X-ray binary systems (XRBs) exhibit prominent brightness variations on a few characteristic time-scales and their harmonics. These quasi-periodic oscillations (QPOs) are thought to be associated with the precession of a warped accretion disc, but the physical mechanism that generates the precessing warp remains uncertain. Relativistic frame dragging (Lense–Thirring precession) is one promising candidate, but a misaligned magnetic field is an alternative, especially for NS XRBs. Here, we report the discovery of five accreting white dwarf systems (AWDs) that display strong optical QPOs with characteristic frequencies and harmonic structures that suggest they are the counterpart of the QPOs seen in XRBs. Since AWDs are firmly in the classical (non-relativistic) regime, Lense–Thirring precession cannot account for these QPOs. By contrast, a weak magnetic field associated with the white dwarf can drive disc warping and precession in these systems, similar to what has been proposed for NS XRBs. Our observations confirm that magnetically driven warping is a viable mechanism for generating QPOs in disc-accreting astrophysical systems, certainly in AWDs and possibly also in NS XRBs. Additionally, they establish a new way to estimate magnetic field strengths, even in relatively weak-field systems where other methods are not available.