Miranda de Ebro (Spanish: ðe ˈeβɾo) is a city on the Ebro river in the province of Burgos in the autonomous community of Castile and León, Spain. It is located in the north-eastern part of the province, on the border with the province of Álava and the autonomous community of La Rioja. According to the 2008 census conducted by Spain's National Institute of Statistics ("Instituto Nacional de Estadística"), it has a population of 39,589 inhabitants, making it the second most populous city in the province after the capital, Burgos.