Endohedral fullerenes can realize robust and chemically protected spin systems, and are promising candidates for molecular spintronics owing to their long magnetic relaxation times. In this paper, we take one-and two-magnetic-center Co-doped carbon fullerenes, specifically [Co@C 60 ] + and Co 2 @C 60 , as examples to study their ultrafast, laser-induced, spin dynamics through ab initio calculations. Particularly, the strain modulation on the spin-switching process is investigated in details. It is shown that the local spin switching on the Co atom of the molecular ion [Co@C 60 ] + and the simultaneous spin switching on both Co atoms of the neutral system Co 2 @C 60 can be accomplished via Λ processes on the subpicosecond time scale. It is interesting that the spin-switching process on the endohedral fullerene Co 2 @C 60 can be speeded up when the system is subjected to an increasing tensile strain. It is demonstrated that the achieved various spin-switching scenarios result from the combination of the applied strain and the configuration of the system. The present results reveal the great potential of using magnetic endohedral fullerenes for active spin control and hence functionalization in future spintronic devices.Index Terms-Strain effect, endohedral fullerene, ultrafast spin switching, ab inito calculation.