Israel Prime Minister Benjamin Netanyahu has thanked his Indian counterpart Narendra Modi for congratulating him on forming the government for a record fifth time and vowed to continue to "strengthen" the "important" bilateral relationship.

Israel's new government was sworn in on Sunday under Netanyahu, bringing an end to the longest political deadlock in the country's history which saw a caretaker government in charge for over 500 days and three back-to-back general elections with no clear verdict.

The vote of confidence in the new government was passed with 73 votes in favour and 46 against in the Knesset (Israeli Parliament).

"Thank you my dear friend the Prime Minister of India! We will continue to strengthen the important relationship between us," Netanyahu tweeted in Hebrew, responding to Modi's message on Sunday.

Earlier, Modi was among the first global leaders to congratulate Netanyahu on the formation of his coalition government after months of political uncertainty.

"Mazal Tov (Congratulations) my friend @netanyahu for forming your fifth government in Israel," Modi wrote on Twitter in Hebrew and English.

"I wish you and @gantzbe (Benny Gantz) success and look forward to continue working closely with your government to further strengthen India-Israel strategic partnership," the prime minister said.

Netanyahu, 70, and his rival-turned-partner Benny Gantz joined hands to form a coalition government under a power-sharing agreement that would see the latter taking over the premiership on November 17, 2021.

The new government, which according to the coalition agreement, will see Gantz replace Netanyahu as the Prime Minister after 18 months.

Gantz will serve as Defence Minister until he is scheduled to take over as the Prime Minister in November next year. He will till then have the title of 'Alternate Prime Minister', something that Netanyahu will take over from him after exchanging the baton.

The beleaguered Israeli prime minister, who surpassed Israel's first Prime Minister David Ben-Gurion's record of the longest-serving Premier in the country's history last year in July, managed to hold on to his right-wing bloc amid three inconclusive polls to force his main rival Gantz to finally succumb to the demand of a broad national unity government.

Gantz campaigned on replacing Netanyahu due to the prime minister's indictment on graft charges, but dropped his opposition to sitting in a government with him after the latest elections again ended with no clear winner, citing the Coronavirus pandemic and a desire to avoid a fourth round of voting.

The move led to the breakup of the Blue and White alliance, with Gantz being elected as Knesset speaker with the backing of Netanyahu's right-wing religious bloc as they negotiated the terms of the new government.

Ahead of the swearing-in ceremony, Likud and Blue and White on Wednesday evening released the policy principles of the new government, as instructed by Israel's Supreme Court.

The document said that the government will initially form an emergency cabinet to deal with the Coronavirus pandemic and formulate a plan to bring Israel out of the accompanying economic crisis while rolling out a "socioeconomic safety net" and special programs for citizens who are struggling financially.