The Judicial Appointments Commission Bill has passed all stages in the Dáil.
The bill will establish a new body with a lay chairperson to select judges for appointment.
The bill passed with 55 TDs voting in favour and 49 voting against it.
Judicial Appointments Bill has passed Report Stage in the Dáil by 55 votes to 49 pic.twitter.com/dc9L2laZ9X
— RTÉ Politics (@rtepolitics) May 31, 2018
The bill has had a controversial path through the Dáil, with TDs tabling more than 100 amendments to it, which has been a key priority by Minister for Transport Shane Ross.
Attorney General Séamus Woulfe reportedly called the bill "a dog's dinner" because of the number of amendments that were tabled.
It has been criticised by leading members of the judiciary and other legal professionals.
The passage of the bill has remained a priority for Mr Ross.
However, it was labelled as a "sham" by opposition TDs during a protracted debate in the Dáil over recent weeks.
Mr Ross has frequently said the bill contained key provisions that would stop the political parties nominating their friends as judges.
He has been a long-term critic of the system for appointing judges claiming that it it is tainted by "cronyism".
The bill will now pass to the Seanad.