In vivo solid-phase microextraction (SPME) sampling method coupled with gas chromatography–mass spectrometry (GC–MS) analysis was employed to trace the uptake and elimination of organophosphorus pesticides (OPPs) in two kinds of edible plants, cabbage (Brassica parachinensis) and aloe (Barbadensis). The metabolism of fenthion in aloe was also investigated by the liquid chromatography tandem mass spectrometry analysis (LC–MS/MS) to understand the fate of OPPs in living plants better. Transpiration stream concentration factor (TSCF) and depuration rate constants of the OPPs in living plants were obtained therein. The health risk of the OPPs treated aloe was estimated by the maximum residue limit (MRL) approach, and it revealed that the OPPs were rather safe for their fast degradable property. However, peak concentration of fenthion-sulfoxide was found to exceed the MRL and was higher than that of the parent fenthion, which indicated the potential risk of pesticide metabolites. This study highlighted the application of in vivo SPME for contaminant tracing in different living edible plants. The in vivo tracing method is very convenient and can provide more data to evaluate the risk of different pesticides, which are very important for the safety of agriculture production.