Gathered at a summit in Madrid on the EU as Britain prepares to leave the bloc, the leaders -- including Spanish Prime Minister Mariano Rajoy and France's Francois Hollande -- also called on Brussels and London to first negotiate divorce terms before any future deal with the union.
"The strike launched by the United States on Shayrat Airfield in Syria had the understandable intention to prevent and deter the spread and use of chemical weapons and was limited and focused on this objective," the seven leaders said in a joint statement after the summit.
In their statement, the leaders condemned "in the strongest terms the air strike with chemical weapons".
"The repeated use of chemical weapons in Syria, both by the (Bashar al-) Assad regime since 2013 and by Daesh (Islamic State group) constitute war crimes," they added.
More From This Section
News of the April 4 tragedy provoked strong condemnation, including from Washington.
US President Donald Trump said the alleged attack "crosses many, many lines".
On Thursday, he ordered a massive military strike against the Syrian air base in retaliation for the attack that Washington said involved a sarin-like nerve agent.
While stopping short of accusing the Russians of complicity, US Secretary of State Rex Tillerson has accused Moscow of being "incompetent" in failing to prevent it, and possibly "outmanoeuvred" by the Syrian regime.
Speaking after the Madrid meeting, Hollande said the alleged attack had demanded a response, which he said Washington had provided.
"The Russians cannot decide alone the future of this country along with Iran," he said, pointing to another Assad ally.
Syria aside, the summit in Madrid -- which apart from Rajoy and Hollande also brought together the leaders of Italy, Portugal, Greece, Cyprus and Malta -- aimed at putting on a united front on Brexit.
They agreed that one of the most pressing issues to address as Britain leaves the bloc is the status of EU citizens living in the United Kingdom, and Britons residing in Europe.
"We believe this is one of the first things we need to resolve, that people cannot be used as bargaining chips," Joseph Muscat, prime minister of Malta which holds the rotating EU Council presidency, said after the meeting.
"We believe there should be a clear and fast decision to the issue regarding citizens."
The leaders also discussed the future of the bloc after Britain leaves, as well as crux issues such as the economy and the refugee crisis.