Adult patients with liver cirrhosis or stigmata of chronic liver disease presenting with hematemesis and or melena within previous 12 hours were randomized in a double blind trial to receive either 125 mg erythromycin or placebo 30 minutes before endoscopy. The primary end points were endoscopic visibility assessed by objective scoring system & mean endoscopy duration. Secondary end points were need for repeat endoscopy and blood transfusions within 24 hours of first endoscopy , endoscopy related complications and length of hospital stay.