Melgarejo was titular bishop of "Ucres" and as auxiliary bishop of the Roman Catholic Archdiocese of Buenos Aires from 1994 to 2003 and as bishop of the Roman Catholic Diocese of San Martín in Argentina from 2003 to 2018.