Israel says it has agreed to US President Donald Trump's ceasefire proposal.
A statement on behalf of Prime Minister Benjamin Netanyahu's government - Israel's first official comments about the ceasefire - said Israel had achieved all of its objectives "and far beyond" after nearly two weeks of strikes on Iran.
"Israel has eliminated an immediate and dual existential threat - both in the nuclear domain and in the realm of ballistic missiles," the statement said.
"Additionally, the IDF has achieved full aerial control over Tehran's skies, dealt a severe blow to the Iranian military leadership, and destroyed dozens of key regime targets in Iran."
Israel thanked Trump and the US for its military support "in eliminating the Iranian nuclear threat".
"Israel will respond forcefully to any violation of the ceasefire," the statement warned.
Earlier, US President Donald Trump said a ceasefire between Israel and Iran was now in place and he asked both countries not to violate it.
"THE CEASEFIRE IS NOW IN EFFECT. PLEASE DO NOT VIOLATE IT!" Trump said in a Truth Social post.
The president's plea came only hours after Iran launched waves of missiles, which Israel's ambulance service said killed four people.
When Trump announced on Monday what he called a complete ceasefire to end a 12-day war, he appeared to suggest that Israel and Iran would have time to complete missions that were underway, at which point the ceasefire would begin in a staged process.
Witnesses said they heard explosions near Tel Aviv and Beersheba in southern Israel before Trump's statement.
Israel's military said six waves of missiles were launched by Iran and Israel's national ambulance service said four people were killed in Beersheba, the first reported deaths in Israel since Trump announced the ceasefire.
Iran's semi-official SNN news agency reported on Tuesday that Tehran fired its last round of missiles before the ceasefire came into effect.
Iran had fired missiles at the US Al Udeid Air Base in Qatar in response to a US attack on Iranian nuclear facilities at the weekend. Explosions were heard over Qatar's capital Doha on Monday, according to a Reuters witness, shortly after a Western diplomat said there had been a credible Iranian threat against the base.
Some flights from New Zealand headed for Doha were diverted to Oman, and Auckland Airport had warned flights to and through the Middle East may be affected by temporary airspace closures.