"To date, we have had wars which have been initiated after a well thought-out decision," Guterres said in an interview published by the French Sunday newspaper Le Journal du Dimanche.
"But we also know that other conflicts have started through an escalation caused by sleepwalking.
"We have to hope that the seriousness of this threat puts us on the path of reason before it is too late," said Guterres, according to the French language account of the interview.
Guterres said the key question was to get North Korea to stop its nuclear and ballistic missile programme and respect UN Security Council resolutions.
More From This Section
"But we must also maintain the unity of the Security Council at all costs, because it is the only tool which can carry out a diplomatic initiative with a chance of success," he said.
The United States wants the Security Council to vote on Monday to impose tougher sanctions against Pyongyang, despite resistance from China and Russia.
Diplomatic sources said Russia and China opposed the measures as a whole, except for the ban on textiles, during a meeting of experts Friday.