Percutaneous endoscopic gastrostomy (PEG) is a type of feeding tube which is inserted through the skin of the abdomen into the stomach during an endoscopy. You may need a PEG if food, drink and medicines cannot reach your stomach (for example, if you can't swallow properly).