The 39-year-old has called time on a career that saw him make 670 first-team appearances and win 47 international caps.
Marshall shot to prominence in 2004 when he shut out Barcelona over two legs to help Celtic to a famous UEFA Cup win, after replacing the dismissed Rab Douglas at half-time in the first leg. The then 19-year-old had yet to make his league debut.
He will now become Hibernian’s technical performance manager under sporting director Malky Mackay. He has a master’s degree in Sports Directorship and previously joined the board of the Hibernian Community Foundation.
Marshall said: “Having made the decision to retire from football, I’m delighted to be given the opportunity in this role at the football club.
“I’ve got to know and understand the club over the last two seasons and I look forward to working closely with Malky Mackay to create an environment which can deliver success both on and off the pitch.
This new role is a great opportunity for me to work across various different performance departments within the football club and to learn from Malky who has years of experience in the game.
“The fans’ support will be vital to our success and I know, as always, you’ll be there for the team, David Gray and his coaching staff. I am looking forward to getting started for the 2024/25 campaign.”
Marshall joined Latics from Hull in the summer of 2019, and made 40 appearances in his only season under Paul Cook.
The following summer, shortly after the club was placed into administration, he joined Derby in the mass clear-out of players.