We report modulated switching current density and spin-orbit torques (SOT) in MnGa/Ta films with inserting very thin Co2FeAl and Co layers. Ferromagnetic coupling has been found in MnGa/Co2FeAl/Ta, resulting in a decreased effective anisotropy field. On the contrary, in MnGa/Co/Ta, antiferromagnetic coupling plays a dominant role. The switching current density Jc in MnGa/Ta is 8.5 × 107 A/cm2. After inserting 0.8-nm-thick Co2FeAl and Co, theJc becomes 5 × 107 A/cm2 and 9 × 107 A/cm2, respectively. By performing adiabatic harmonic Hall voltage measurements, it is demonstrated that the inserted Co2FeAl layer has mainly enhanced the field-like torques, while in MnGa/Co/Ta the damping-like torques have been enhanced. Finally, the enhanced spin Hall effect (SHE) has also been studied using the spin Hall magnetoresistance measurement. The modulated Jc and SOT are ascribed to the combination of magnetic coupling, Rashba effect and SHE at the interfaces.