Energy levels of the Dirac oscillator perturbed by arbitrary nonlocal separable vector and scalar potentials are found in a closed form. Unlike the nonrelativistic case, the perturbation potential radically changes all energy levels of the oscillator. The δ-function limit of the perturbation potential is discussed in detail.