<P> China shares international borders with 14 sovereign states . In addition, there is a 30 - km border with the special administrative region of Hong Kong, which was a British dependency before 1997, and a 3 km border with Macau, a Portuguese territory until 1999 . With a land border of 22,117 kilometres (13,743 mi) in total it also has the longest land border of any country . </P> <P> The table below, is a table of countries and territories who share a land border with China around its perimeter . The numbers in parenthesis are their lengths in miles . </P>

China shares its border with how many countries