Endoscopy is typically not painful, although some individuals may experience mild discomfort or a feeling of pressure during the procedure. Sedation or anesthesia may be provided to ensure comfort during the examination.