In 1905 he made aliyah to Ottoman Palestine as part of the second Zionist wave of immigration. In the same year he attended the founding convention of Hapoel Hatzair. Lavi worked as an agricultural laborer in Petach-Tikva, in an olive oil factory in Haifa, then at the recommendation of Arthur Ruppin as farm manager in Hulda, and together with David Ben-Gurion at Sejera. Lavi was involved in the establishment of the Jewish defence organisation Hashomer, which he joined as a watchman in the Galilee, in Hedera and Rehovot. Later on he joined the founders of Kvutzat Kinneret, where he worked at reclaiming marshlands. Lavi was throughout his life a dedicated member of the Zionist Labour movement and one of its ideologists. Berl Katznelson, one of the founders of Labour Zionism in pre-state Israel, described Lavi as one the "First Ten" founders of the movement. He became one of the leaders and ideologists of Ahdut HaAvoda, and later co-founded Mapai. In 1920, he was among the founders of the Histadruttrade union. In the wake of World War I, a large influx of Jewish immigrants from the former Russian Empire was to be expected and Lavi looked for ways to prepare for their arrival, both in terms of housing and working places. In this context, Lavi became the originator of the idea of the larger communal settlement, the kibbutz, as opposed to the smaller kvutza preferred by earlier pioneers; in 1921 he helped establish the first such settlement, Kibbutz Ein Harod. Here he lived and worked for the rest of his life. Lavi participated as a delegate in the 12th, 17th, 18th and 19th Zionist Congresses, held in 1921, 1931, 1933 and 1935, respectively. A member of the Haganahunderground militia, during World War II he joined the British Army at the age of 60. Both sons of Shlomo Lavi, Yerubaal and Hillel, were killed during Israel's War of Independence, as was his brother Hillel. In 1949, Lavi was elected to the first Knesset on the Mapai party list. He was re-elected in 1951, but lost his seat in the 1955 elections. As a lawmaker he proposed the nationalisation of the various health and medical care programmes. A 1926 separation between two Harod Valley kibbutzim, Tel Yosef and Lavi's Ein Harod, was not to Lavi's liking, but it was nothing compared to the breakup of Kibbutz Ein Harod itself, during the sometimes violent split of the Kibbutz Movement of 1952 into the Ahdut HaAvoda/Mapai-affiliated, center-left "Ihud" branch and the Mapam's more Marxist-oriented "Meuhad" branch, which deeply affected Lavi.
Late years
Shlomo Lavi spent the late years of his life in Ein Harod, finishing his last book and working in his garden. He died in 1963 and was buried in Ein Harod's Old Cemetery, at the foot of Mount Gilboa, next to his wife Rachel and his two sons. He was survived by his daughter, Ilana.