The Switzerland star has been linked with a move to the Premier League, but his current employers have no interest in discussing a transfer.
Premier League club Liverpool was willing to pay 19 million pounds for the 22-year-old and conducted tentative talks with the German champions in June.
But die Roten wants to keep Shaqiri at the Allianz Arena – especially with Toni Kroos's future in doubt – and Sammer says the former Basel star will not be allowed to leave the club.
"Xherdan is an important player for the future," the Bayern chief told Kicker. "There are no thoughts at all about selling him."
Shaqiri shone at the World Cup for a Swiss side which was knocked out in the last 16, scoring a superb hat trick in its 3-0 win against Honduras.
Liverpool hoped the playmaker would be part of a new-look Anfield attack in the wake of Luis Suarez's move to Barcelona, and the player had even intimated that he would be open to moving to the Premier League.
But with Bayern keen to retain a player who scored six goals in 17 Bundesliga appearances last season, Liverpool will be forced to look elsewhere.
The Reds are close to capturing Benfica winger Lazar Markovic in a 25 million euro deal, and the Serbian could be quickly followed by Belgian striker Divock Origi and Southampton defender Dejan Lovren.