 The area of present-day Nagaoka was part of ancient Echigo Province.Under the Tokugawa shogunate, a castle town was constructed by Hori Naoyori lord of Nagaoka Domain in 1616.However, as the initial castle was located in an area prone to flooding by the Shinano River, a new castle was built at the site of present-day Nagaoka Station in 1617.