Shaqiri underwent a medical on Friday and becomes Liverpool's third signing of the summer.More news: Anderson has his work cut out against Isner in Wimbledon semifinal
Following Stoke's relegation to the Championship, the 26-year-old expressed a desire to remain in Premier League and recently stated it is "no secret" he will leave the bet365 Stadium.
Liverpool will have a lot of fixtures to play next season, and the signing of Shaqiri will provide Jurgen Klopp with some much needed squad depth.
Shaqiri is believed to be keen on a move to Anfield but could be offered the chance to return to Italy. "When someone like him becomes available in this way you have to react if you are smart - and we have", Klopp told Liverpoolfc.com.More news: Trump claims victory over Nato allies to hike spending on defence
Shaqiri will hope to succeed at Liverpool, having struggled at other big clubs, such as Bayern Munich and Inter. To play for us these are mandatory requirements.
"I'm very happy to be here", he said. So I'm really glad and happy to be here.
'As a player you always want to be on the biggest stage in football. A few years ago I wanted to come too but it didn't happen. He gives us greater flexibility in how we can use our current players also. I want to improve myself too, I want to be with the best and I want to win titles.More news: PM announces new Canada-led training mission in Iraq