Electrostatic drift waves in a nonuniform quantum magnetized electron-positron (pair) plasma are investigated. An explicit and straightforward analytical expression of the fluctuation frequency is presented. The effects induced by quantum fluctuations, density gradients, and magnetic field inhomogeneity on the wave frequencies are discussed and a purely quantum drift mode appears. The present analytical investigations are relevant to dense astrophysical objects as well as laboratory ultracold plasmas.