To evaluate the anatomical and visual outcomes after vitrectomy and internal limiting membrane (ILM) peeling with indocyanine green (ICG) or trypan blue (TB) for idiopathic macular hole repair in a prospective randomized trial.