# Second government of Mariano Rajoy

The second government of Mariano Rajoy was formed on 4 November 2016, following the latter's election as Prime Minister of Spain by the Congress of Deputies on 29 October and his swearing-in on 31 October, as a result of the People's Party (PP) emerging as the largest parliamentary force at the 2016 Spanish general election. It succeeded the first Rajoy government and was the Government of Spain from 4 November 2016 to 7 June 2018, a total of 580 days, or 1 year, 7 months and 3 days.
The cabinet comprised members of the PP and a number of independents. It was dismissed on 1 June 2018 when a motion of no confidence against Rajoy succeeded, but remained in acting capacity until Pedro Sánchez's government was sworn in.

## Investiture

Investiture Mariano Rajoy (PP) :
| Ballot → | Ballot → | 27 October 2016 | 29 October 2016 |
| Required majority → | Required majority → | 176 out of 350 N | Simple Y |
| | Yes • PP (134) • C's (32) • UPN (2) • CCa (1) • FAC (1) | 170 / 350 | 170 / 350 |
| | No • PSOE (84) (15 on 29 Oct) • UP–ECP–EM (67) • ERC (9) • PDeCAT (8) • PNV (5) • Compromís (4) • EH Bildu (2) • NCa (1) | 180 / 350 | 111 / 350 |
| | Abstentions • PSOE (68) (on 29 Oct) | 0 / 350 | 68 / 350 |
| | Absentees • PSOE (1) (on 29 Oct) | 0 / 350 | 1 / 350 |
| Sources ||||

## Cabinet changes

The only cabinet change of Rajoy's second government took place on 8 March 2018, when Luis de Guindos stepped down as Minister of Economy, Industry and Competitiveness in order to become Vice President of the European Central Bank. He was succeeded by Román Escolano.

## Council of Ministers

The Council of Ministers was structured into the offices for the prime minister, the deputy prime minister, 13 ministries and the post of the spokesperson of the Government.
← Rajoy II Government → (4 November 2016 – 7 June 2018) :
| Portfolio | Name | Party | Party | Took office | Left office | Ref. |
| Prime Minister | Mariano Rajoy | | PP | 31 October 2016 | 1 June 2018 | |
| Deputy Prime Minister Minister of the Presidency and for Territorial Administrations | Soraya Sáenz de Santamaría | | PP | 4 November 2016 | 7 June 2018 | [14] [15] |
| Minister of Foreign Affairs and Cooperation | Alfonso Dastis | | PP (Ind.) | 4 November 2016 | 7 June 2018 | |
| Minister of Justice | Rafael Catalá | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Defence | María Dolores de Cospedal | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Finance and Civil Service | Cristóbal Montoro | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of the Interior | Juan Ignacio Zoido | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Development | Íñigo de la Serna | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Education, Culture and Sports Spokesperson of the Government | Íñigo Méndez de Vigo | | PP | 4 November 2016 | 7 June 2018 | [14] [16] |
| Minister of Employment and Social Security | Fátima Báñez | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Energy, Tourism and Digital Agenda | Álvaro Nadal | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Agriculture and Fisheries, Food and Environment | Isabel García Tejerina | | PP | 4 November 2016 | 7 June 2018 | |
| Minister of Economy, Industry and Competitiveness | Luis de Guindos | | PP (Ind.) | 4 November 2016 | 8 March 2018 | |
| Minister of Health, Social Services and Equality | Dolors Montserrat | | PP | 4 November 2016 | 7 June 2018 | |
| Changes March 2018 |||||||
| Portfolio | Name | Party | Party | Took office | Left office | Ref. |
| Minister of Economy, Industry and Competitiveness | Román Escolano | | PP (Ind.) | 8 March 2018 | 7 June 2018 | |

## Departmental structure

Mariano Rajoy's second government was organised into several superior and governing units, whose number, powers and hierarchical structure varied depending on the ministerial department.

### Unit/body rank

* (■) Secretary of state
* (■) Undersecretary
* (■) Director-general
* (●) Autonomous agency
* (◆) Military & intelligence agency
| Office (Original name) | Name | Took office | Left office | Alliance/party | Ref. |
| Prime Minister's Office |||||||||
| Prime Minister (Presidencia del Gobierno) | Mariano Rajoy | 31 October 2016 | 1 June 2018 (censored) | PP | [18] [19] [20] [21] [22] |
| [18] [19] [20] [21] [22] |||||||
| Deputy Prime Minister (Vicepresidencia del Gobierno) | Soraya Sáenz de Santamaría | 4 November 2016 | 7 June 2018 | PP | |
| Ministry of Foreign Affairs and Cooperation |||||||||
| Ministry of Foreign Affairs and Cooperation (Ministerio de Asuntos Exteriores y de Cooperación) | Alfonso Dastis | 4 November 2016 | 7 June 2018 | PP (Independent) | [24] [25] |
| [24] [25] |||||||
| Ministry of Justice |||||||||
| Ministry of Justice (Ministerio de Justicia) | Rafael Catalá | 4 November 2016 | 7 June 2018 | PP | [24] [26] |
| [24] [26] |||||||
| Ministry of Defence |||||||||
| Ministry of Defence (Ministerio de Defensa) | María Dolores de Cospedal | 4 November 2016 | 7 June 2018 | PP | [24] [27] |
| [24] [27] |||||||
| Ministry of Finance and Civil Service |||||||||
| Ministry of Finance and Civil Service (Ministerio de Hacienda y Función Pública) | Cristóbal Montoro | 4 November 2016 | 7 June 2018 | PP | [24] [28] |
| [24] [28] |||||||
| Ministry of the Interior |||||||||
| Ministry of the Interior (Ministerio del Interior) | Juan Ignacio Zoido | 4 November 2016 | 7 June 2018 | PP | [24] [29] |
| [24] [29] |||||||
| Ministry of Development |||||||||
| Ministry of Development (Ministerio de Fomento) | Íñigo de la Serna | 4 November 2016 | 7 June 2018 | PP | [24] [30] |
| [24] [30] |||||||
| Ministry of Education, Culture and Sports |||||||||
| Ministry of Education, Culture and Sports (Ministerio de Educación, Cultura y Deporte) | Íñigo Méndez de Vigo | 4 November 2016 | 7 June 2018 | PP | [24] [31] [32] |
| [24] [31] [32] |||||||
| Ministry of Employment and Social Security |||||||||
| Ministry of Employment and Social Security (Ministerio de Empleo y Seguridad Social) | Fátima Báñez | 4 November 2016 | 7 June 2018 | PP | [24] [33] [34] |
| [24] [33] [34] |||||||
| Ministry of Energy, Tourism and Digital Agenda |||||||||
| Ministry of Energy, Tourism and Digital Agenda (Ministerio de Energía, Turismo y Agenda Digital) | Álvaro Nadal | 4 November 2016 | 7 June 2018 | PP | [24] [35] |
| [24] [35] |||||||
| Ministry of Agriculture and Fisheries, Food and Environment |||||||||
| Ministry of Agriculture and Fisheries, Food and Environment (Ministerio de Agricultura y Pesca, Alimentación y Medio Ambiente) | Isabel García Tejerina | 4 November 2016 | 7 June 2018 | PP | [24] [36] |
| [24] [36] |||||||
| Ministry of the Presidency and for Territorial Administrations |||||||||
| Ministry of the Presidency and for Territorial Administrations (Ministerio de la Presidencia y para las Administraciones Territoriales) | Soraya Sáenz de Santamaría | 4 November 2016 | 7 June 2018 | PP | [24] [37] [38] [39] |
| [24] [37] [38] [39] |||||||
| Ministry of Economy, Industry and Competitiveness |||||||||
| Ministry of Economy, Industry and Competitiveness (Ministerio de Economía, Industria y Competitividad) | Luis de Guindos | 4 November 2016 | 8 March 2018 | PP (Independent) | [24] [40] |
| Ministry of Economy, Industry and Competitiveness (Ministerio de Economía, Industria y Competitividad) | Román Escolano | 8 March 2018 | 7 June 2018 | PP (Independent) | [24] [40] |
| [24] [40] |||||||
| Ministry of Health, Social Services and Equality |||||||||
| Ministry of Health, Social Services and Equality (Ministerio de Sanidad, Servicios Sociales e Igualdad) | Dolors Montserrat | 4 November 2016 | 7 June 2018 | PP | [24] [41] |
| [24] [41] |||||||
| Spokesperson of the Government |||||||||
| Spokesperson of the Government (Portavoz del Gobierno) | Íñigo Méndez de Vigo | 4 November 2016 | 7 June 2018 | PP | |