Ueda (上田市 Ueda-shi?) is a city in Nagano Prefecture, Japan. The modern city of Ueda was established on March 6, 2006, from the merger of the old city of Ueda absorbing the towns of Maruko and Sanada, and the village of Takeshi (all from Chiisagata District). The new city replaced the former city of Ueda for the first time in 87 years since Ueda was elevated to city status in 1919.
As of June 1, 2011, the city has an estimated population of 158,187, with 61,091 households and a population density of 286.57 persons per km². The total area is 552.00 km², which makes it the fifth largest in Nagano Prefecture. Anraku-ji in Bessho Onsen, Ueda has the only extant octagonal pagoda in Japan. The pagoda has been designated as National Treasure.