The procedure itself will take about 30 minutes. You can expect to be at the endoscopy center for around 2 hours or the hospital for around 3 hours.