The Palacio Real de Madrid (literally: Royal Palace of Madrid) is the official residence of the Spanish Royal Family at the city of Madrid, but is only used for state ceremonies.