Frances Black, an independent senator who tabled the bill, wrote on Twitter: “Passed! Thank you for all the messages of support. This is a first step, but an important one.
“Today we state strongly: Ireland will always stand for int humanitarian law, justice & human rights.”
The bill looked likely to pass since last week, when the opposition Fianna Fáil party decided to support it.
Ireland’s governing Fine Gael opposed the motion, arguing that although it considered West Bank settlements illegal it was the European Union that should develop a common response.
Foreign Minister Simon Coveney lobbied opposition senators to change their position, but the party does not command a majority in parliament. If the parties maintain their support, the bill will become law.
Israeli Prime Minister Benjamin Netanyahu had previously condemned the bill, saying: “The initiative gives backing to those who seek to boycott Israel and completely contravenes the guiding principles of free trade and justice.”