The use of pesticides leads to an increase in agricultural production but also causes harmful effects on human health when excessively used. For safe consumption, pesticide residues should be below the maximum residual limits (MRLs). In this study, the residual levels of pesticides in vegetables and fruits collected from farmers' markets in Sharkia Governorate, Egypt were investigated using LC-MS/MS and GC-MS/MS. A total number of 40 pesticides were detected in the tested vegetable and fruit samples. Insecticides were the highest group in detection frequency with 85% and 69% appearance in vegetables and fruits, respectively. Cucumber and apple samples were found to have the highest number of pesticide residues. The mean residue levels ranged from 7 to 951 µg kg-1 (in vegetable samples) and from 8 to 775 µg kg-1 (in fruit samples). It was found that 35 (40.7%) out of 86 pesticide residues detected in vegetables and 35 (38.9%) out of 90 pesticide residues detected in fruits exceeded MRLs. Results for lambda-cyhalothrin, fipronil, dimothoate, and omethoate in spinach, zucchini, kaki, and strawberry, respectively, can cause acute or chronic risks when consumed at 0.1 and 0.2 kg day-1. Therefore, it is necessary for food safety and security to continuously monitor pesticide residues in fruits and vegetables in markets.