FRANKFURT—The European Central Bank and the People’s Bank of China have agreed to extend a currency-swap arrangement put in place three years ago as part of a string of moves aimed at encouraging global use of the renminbi.

The Chinese and eurozone central banks will extend the arrangement for another three years, the ECB said on Tuesday,...