"Iran puts great importance on strengthening its ties with countries in Asia, and Iran and North Korea can use their capabilities to boost their relations," Rouhani said.
North Korean Foreign Minister Ri Su Yong was in Tehran to take part in a meeting of the Asian-African Legal Consultative Organisation.
Iran and North Korea are both subject to heavy international sanctions because of their respective nuclear programmes, and for several years now the two countries have had close ties.