We studied the electronic and magnetic properties of (Al1−yMny)GaP2(Ga-rich) and Al(Ga1−yMny)P2(Al-rich) withy = 0.03125, 0.0625, 0.09375, and 0.125 by using the first-principles calculations. The ferromagnetic Mn-doped AlGaP2chalcopyrite is the most energetically favorable one. The spin polarized Al(GaMn)P2state (Al-rich system) is more stable than spin polarized (AlMn)GaP2state (Ga-rich) with the magnetic moment of 3.8 μB/Mn. The Mn-doped AlGaP2yields strong half-metallic ground states. The states of host Al, Ga, or P atoms at the Fermi level are mainly a P-3pcharacter, which mediates a strong interaction between the Mn-3dand P-3pstates.