German football fans were far from well-behaved at the Fifa World Cup qualifier in Prague.

Fifa has fined the German football federation 32,000 Swiss francs (NZ$45,700) after fans chanted Nazi slogans at a World Cup qualifying game in the Czech Republic.

The range of "improper conduct'' charges against the German federation included fans encroaching on the field and setting off fireworks at the game in Prague, Fifa said. About 200 German supporters chanted slogans during their team's 2-1 win and verbally abused one of the scorers, Timo Werner.

German officials said the offensive fans did not buy tickets through official channels. Germany's next away World Cup qualifier was on Thursday in Northern Ireland.

Fifa also fined the Czech federation 5000 Swiss francs (NZ$7000) for crowd disorder.