Syria, Ukraine and grain exports were discussed during Putin’s second foreign trip since the war began.
Russian President Vladimir Putin is in Iran for only his second foreign trip since he launched the invasion of Ukraine in February.
Mr Putin is holding meetings with Iran’s president and supreme leader, as well as Turkish President Recep Tayyip Erdogan.
Grain exports, Syria and the Ukraine conflict are on the agenda.
The visit is a chance to deepen ties with Iran, one of Russia’s few remaining international allies.
It follows allegations by US officials last week that Tehran was planning to supply Russia with hundreds of drones for its war in Ukraine. On Tuesday, the Russian energy giant Gazprom signed a new development deal worth $40m (£33m) with Iran’s state oil company.
Following his meeting with Iran’s President Ebrahim Raisi, Mr Putin said relations between the two countries were “developing at a good pace”.
Mr Putin said the two countries are strengthening ties on areas such as international security, trade and “the settlement of the Syria crisis”.
Invading your neighbour, a sovereign independent country, tends to lose you friends.
And Russia’s lost plenty after invading Ukraine. In the West Moscow has achieved pariah status.
But the Kremlin is keen to show that international sanctions have failed to isolate Russia, the world’s largest country, and that some of its friends are sticking around. Like Turkey and Iran.
Russia will use the three-way summit on Syria to try to demonstrate it retains powerful allies and geo-political influence.
But we’re not talking BFF (Best Friends Forever). Turkey and Iran are also Russia’s rivals. Turkey and Russia are on opposing sides in Syria and in Libya; they are competing for influence in the South Caucasus; Turkish combat drones have been supporting the Ukrainian military. As for Iran, it’s competing with Russia in global energy markets.
True, Russia, Turkey and Iran do have some common interests. But that is no guarantee of long-lasting friendship
Turkey and Russia have backed opposing sides in the Syrian civil war and have been searching for ways to reduce the violence in recent months.
But the meeting comes amid Turkish threats to launch a fresh offensive in northern Syria against US-backed Kurdish militants, a move which both Iran and Russia oppose. The operation is part of Mr Erdogan’s plans to create a 30km (20 mile) safe zone along Turkey’s border with Syria.
Last week, the UN Security Council agreed to re-authorise cross-border deliveries of aid to rebel-held Syria for six months after Russia had initially blocked a proposal for a one-year extension.
Turkey has refused to impose sanctions on Moscow since Mr Putin launched his invasion of Ukraine on 24 February, with Mr Erdogan’s government seeking to play the role of mediator.
The meeting could offer an opportunity for the Turkish leader to conclude a tentative agreement struck between Russian and Ukrainian leaders to ensure the export of 22 million tonnes of desperately needed grain.
At a meeting between the Turkish and Russian presidents on Tuesday, Mr Putin said progress had been made on the problem of grain exports, but not all issues had been resolved.
Last week, Turkey’s defence minister said both sides had agreed on ways to ensure the safety of shipping routes for grain ships.
Russia’s Black Sea fleet is said to be stopping any shipments getting in or out, and the BBC has documented mounting evidence that Moscow’s forces have stolen and exported Ukrainian grain. Other routes have been heavily mined.
“The issue of Ukrainian grain shipment will be discussed with Erdogan,” Mr Ushakov said. “We are ready to continue work on this track.”
But the talks come as local officials and farmers near the front line of the conflict accused Russia of deliberately shelling grain fields.
Oleh Pylypenko, a local politician in southern Ukraine and a former Russian prisoner, told the BBC that farmers in his constituency near the southern city of Mykolaiv were under constant artillery and missile fire.
He said Russian forces had been “shelling the fields, agricultural machinery, and grain sheds” and said that many farmers had “become victims of such attacks and received shrapnel injuries”.
“Professional firefighters from the city of Mykolaiv are afraid to go, because it is very dangerous,” he added. “Many fires are extinguished by our own efforts. But now the shelling has increased.”