“Watching young talent flourish alongside our experienced players has been a highlight of my time here.
“I leave with fond memories and gratitude to my squad, backroom staff and the passionate supporters, who have been unwavering in their backing. Scotland will always hold a special place in my heart and I wish the team every success in the future.”
Scotland women last reached a major tournament when Shelley Kerr’s side featured at the 2019 World Cup in France. It was a second successive finals appearance.
Anna Signeul’s side had featured at Euro 2017 in the Netherlands – the first time a Scotland women team had made it to a major event.
However, Kerr’s team missed out on the next European Championships and Martinez Losa’s Scots lost a World Cup play-off against Republic of Ireland in 2022.
The former Bordeaux women coach had previously worked at Arsenal women and Rayo Vallecano Femenino, winning trophies with both.
The SFA will now seek to appoint their 10th permanent head coach for their senior women’s team.
Scotland women face Austria away on 21 February in their Nations League A Group 1 opener and host the Netherlands four days later. Home and away games against Germany follow in April before the return fixtures against the Austrians and the Dutch in late May/early June.
“I would like to thank Pedro for his efforts over the past three and a half years,” said SFA chief executive Ian Maxwell.
“While we shouldn’t lose sight of the recent unbeaten run and winning promotion from Nations League Group B, the primary objective was to qualify for a major tournament again.”