Cholecystectomy generally has no adverse effects on health. Studies demonstrating the association between metabolic diseases and long-term effects of cholecystectomy are increasing. preperitoneal fat thickness (PFT) is an important indicator of metabolic syndrome. Metabolic syndrome is a risk factor for sarcopenia. The aim of our study was to investigate the relationship between cholecystectomy and sarcopenia-visceral fat using the ISarcoPRM algorithm, which is an easy, reliable, and inexpensive method based on ultrasound measurement, to evaluate sarcopenia in patients with long-term previous cholecystectomy. This cross-sectional study included participants who had undergone cholecystectomy at least 5 years ago and a control group with similar characteristics. Sarcopenia was assessed using the ISarcoPRM algorithm, incorporating the sonographic thigh adjustment ratio (STAR), grip strength, and chair stand test (CST). Together with low STAR values (<1.0 for females and <1.4 for males), ow grip strength (<19 kg for females or <32 kg for males), and/or prolonged CST duration (≥12 seconds) were used to diagnose sarcopenia. Ultrasound was used to measure the visceral fat thickness. The investigation of sarcopenia and PFT values between individuals with and without cholecystectomy was planned. A total of 158 participants were included, including 89 post-cholecystectomy patients and 69 controls. Binary regression analysis revealed that cholecystectomy was positively associated with sarcopenia (OR = 2.788, 95% CI: 1.054-7.375, P = .039). However, when PFT was included, it was independently associated with sarcopenia (OR = 1.157, 95% CI: 1.067-1.254, P < .001), and the relationship with cholecystectomy disappeared (P > .05). PFT values of 10.0 mm or higher were associated with 5.875 times (95% CI: 2.035-16.961, P = .001) increased odds of sarcopenia. Sarcopenia was 2.8 times more frequent in patients who had undergone cholecystectomy than in those who had not, but this relationship was mediated by increased PFT. The risk of sarcopenia increased up to 5.875 times when the PFT exceeded 10 mm.