Dozens of North and South Korean soldiers have crossed over the world’s most heavily armed border as they inspected the sites of rival frontline guard posts to verify they had been removed.

The checks were part of Korean engagement efforts that come amid stalled US-North Korea nuclear disarmament talks.

Soldiers from the two Koreas exchanged cigarettes and chatted as they inspected the dismantlement or disarmament of 22 guard posts — 11 from each country — inside the Demilitarised Zone (DMZ) that forms their 155-mile long border.

The inspections were mostly symbolic, as the removals will leave South Korea with about 50 other DMZ posts and North Korea with 150, according to defence experts in South Korea.

South Korea Koreas Diplomacy
South Korean soldiers inspect the dismantled North Korean guard post (South Korea Defence Ministry/AP)

But they mark an extraordinary change in ties from last year, when North Korea tested a series of increasingly powerful weapons and threatened Seoul and Washington with war.

A small group of journalists was allowed to enter the zone to watch a South Korean team leave for a North Korean guard post and a North Korean team come to a South Korean guard post later in the day.

Seven helmeted South Korean soldiers approached the line separating the northern and southern sides of the DMZ.

North Korean troops then walked in a row down a hill to meet them. The soldiers from the rival Koreas exchanged handshakes before moving up the hill together to go to the dismantled North Korean guard post.

Other groups of South Korean soldiers simultaneously visited 10 other North Korean guard posts.

South Korea Koreas Diplomacy
North Korean soldiers are greeted by South Korean troops for checks inside the DMZ (Ahn Young-joon/AP)

They inspected whether the guard posts and any underground structures have been completely dismantled and whether all troops, weapons and other equipment have been withdrawn, according to Seoul’s Defence Ministry.

Hours later, seven North Korean soldiers clad in olive-green uniforms crossed the same borderline and were then escorted by South Korean troops to the concrete and steel debris of a destroyed South Korean post. North Korean teams also visited 10 other South Korean sites.

South Korea’s liberal president, Moon Jae-in, the driving force behind the current engagement effort, watched parts of the verification broadcast live at an underground bunker in Seoul.

Mr Moon called the work “a new milestone” in inter-Korean history that was “unimaginable in the past”.

North Korean soldiers allowed South Korean soldiers to use stethoscope-like equipment to inspect whether there were any underground tunnels below the site, South Korean presidential spokesman Kim Eui-kyeom told reporters.

The Demilitarised Zone was originally created as a buffer between the countries at the end of the 1950-53 Korean War. But contrary to its name, the DMZ has become the world’s most heavily fortified frontier after the rival Koreas planted an estimated 2 million mines, deployed combat troops and heavy weapons and set up layers of barbed wire fences.

When the leaders of the Koreas met in Pyongyang in September, they agreed to lower military tensions along their border, including the withdrawal of some DMZ guard posts, halting live-fire exercises near the border, demilitarising their shared border village of Panmunjom and removing mines at a DMZ area to launch joint searches for Korean War dead.