According to the search results, the population of Spain in 2023 is estimated to be around 47,519,628. This estimate is based on projections of the latest United Nations data and elaboration of the latest census figures and projections from Trading Economics. It is important to note that population estimates can change over time due to various factors such as birth rates, death rates, and migration patterns.