Food safety is crucial in today's competitive trading market, as it directly affects human health and promotes seafood exports. The effects of thermal processing (boiling, frying, grilling, and microwave cooking) on pesticide residues (PR) in P. vannamei were assessed. The PR in raw and processed shrimp ranged from 0.007 to 0.703 μg/kg for uncooked/raw, not detected (ND) to 0.917 μg/kg for boiled, ND to 0.506 μg/kg for fried, ND to 0.573 μg/kg for grilled and ND to 0.514 μg/kg for microwave cooked shrimps. The Endrin, endosulfan sulfate, and heptachlor were predominant PR found in the raw and processed shrimp. The PR content in raw and cooked shrimps were below the maximum residue limits (MRL) set by the Codex Alimentarius Commission (2021) and the European Commission (86/363/1986 and 57/2007). The estimated daily intake (EDI) of PR from raw and processed shrimps were below the ADI prescribed by CAC. The hazard quotient (HQ) and hazard ratio (HR) values were <1, indicating no non-carcinogenic or carcinogenic health implications through shrimp consumption. The estimated maximum allowable shrimp consumption rate (CRlim) suggests an adult can eat >100 shrimp meals/month, which is over the USEPA's (2000)recommendation of >16 meals/month without health issues. The Effect of thermal processing was detected in the following order: boiling < grilling < frying < microwave cooking. The processing factor (PF < 0.7), paired t-test (t < 0.05), Tukey post hoc (p < 0.05) test, Bray-Curtis similarity index, and matrix plot exhibited that all the four thermal processing methods have a considerable impact on pesticides in the processed shrimps. But frying (59.4%) and microwave cooking (60.3%) reduced PR far beyond boiling (48.8%) and grilling (51.3%). Hence, we recommend frying and microwave processing are better methods for minimizing PR in seafood than boiling or grilling.