Recent developments in endoscopic techniques have contributed to establishing endoscopy as an essential tool in the management of different types of esophageal and gastric lesions. However, management of these lesions with underlying varices is challenging, considering the technical difficulties and increased risk of bleeding it entails with current endoscopic techniques. Consequently, most endoscopists are hesitant to use this technically challenging procedure. Nevertheless, rare cases of successful endoscopic resection of superficial lesions on or adjacent to varices have been reported. Several endoscopic techniques, including endoscopic mucosal resection, endoscopic submucosal dissection or radiofrequency ablation, have demonstrated safety and feasibility in this setting, sometimes with technical modifications, or in combination with previous variceal eradication procedures that aim to decrease the risk of bleeding. In this review, we summarize the current evidence regarding endoscopic management of gastroesophageal lesions in patients with portal hypertension and underlying varices. It appears that liver cirrhosis, portal hypertension and gastroesophageal varices are not absolute contraindications in selected patients at specialized referral centers. Nevertheless, specific recommendations are lacking and further studies are needed to define the most appropriate endoscopic techniques and to determine which patients may be the best candidates.