In this work, we study of the (2+1)-dimensional Dirac oscillator in the presence of a homogeneous magnetic field in an Aharonov-Bohm-Coulomb system. To solve our system, we apply the lef thanded and right-handed projection operators in the Dirac oscillator to obtain a biconfluent Heun equation. Next, we explicitly determine the energy spectrum for the bound states of the system and their exact dependence on the cyclotron frequency ω c and on the parameters Z and Φ AB that characterize the Aharonov-Bohm-Coulomb system. As a result, we observe that by adjusting the frequency of the Dirac oscillator to resonate with the cyclotron half-frequency the energy spectrum reduces to the rest energy of the particle. Also, we determine the exact eigenfunctions, angular frequencies, and energy levels of the Dirac oscillator for the ground state (n = 1) and the first excited state (n = 2). In this case, the energy levels do not depend on the homogeneous magnetic field, and the angular frequencies are real and positive quantities, increase quadratically with the energy and linearly with ω c .