On 26 July 2011, Alguacil returned to his first club Real Sociedad, being appointed manager of the youth setup. On 17 June 2013 he was named reserve team coach
Asier Santana's assistant, and was also in charge of the main squad along with Santana in November 2014 following
Jagoba Arrasate's dismissal. After the arrival of
David Moyes in November 2014, Alguacil was included in the first team staff, but he was appointed manager of the B side later that month. On 19 March 2018, he replaced the fired
Eusebio Sacristán at the helm of the main squad until the end of
the season. in 2018 In the summer of 2018, Alguacil returned to the reserves and
Asier Garitano took over the senior role, but in December of the same year the latter was dismissed following a poor sequence of results and the former again became the first team coach. Following a strong start to the
2019–20 campaign, he was given a one-year contract extension. Alguacil led Real to their first trophy since 1987 on 3 April 2021, with a 1–0 victory against
Basque rivals Athletic Bilbao in the
2020 Copa del Rey final (postponed due to the
COVID-19 pandemic). In the post-match press conference, he celebrated by putting on a team jersey and scarf and chanting in joy. On 14 November 2022, Alguacil extended his contract to 2025. The following 17 January, with a 1–0 home win over
Mallorca in the
last 16 of
the cup, he reached 100 victories for Real in 205 games; a club record nine-match winning streak ended in the next round with a 1–0 loss at
Barcelona. With a
fourth-place finish, he secured a fourth consecutive European season, and the
side's first in the
UEFA Champions League for a decade. On 24 April 2025, Alguacil announced that he would leave the
Anoeta Stadium at the end of
the season. On 3 July, he was appointed at
Saudi Pro League's
Al Shabab Club, parting ways by mutual consent in February 2026 following a series of poor results. ==Managerial statistics==