Bam, Bam and Safiabad

Bam (, also Romanized as Bām) is a village in Bam Rural District of Bam District, Bam and Safiabad County, North Khorasan province, Iran, serving as capital of both the district and the rural district.

At the 2006 National Census, its population was 1,474 in 481 households, when it was in the former Bam and Safiabad District of Esfarayen County. The following census in 2011 counted 1,582 people in 507 households. The latest census in 2016 showed a population of 1,368 people in 492 households. It was the most populous village in its rural district.

In February 2023, the district was separated from the county in the establishment of Bam and Safiabad County, which was divided into two districts of two rural districts each, with Safiabad as its capital and only city.

In 2022, a routine road construction project led to the accidental discovery of an extensive network of underground corridors in Bam village. Archaeologists have linked the discovery to the nearby fortress of Shahr-e Belqeys (City of Belqeys). Shahr-e Belqeys was prosperous during a period from the late Sassanid era to early Islamic times. The total length of those corridors is 18 km, and there is a bathroom and a mill on the way, which has not been opened yet.