Councillor Mike O'Brien, of Medway Council, said: "We have unfortunately been left with no alternative but to issue a prohibition notice on the game preventing supporters from attending."
The match between Gillingham and Swindon is due to be played on April 21.
He said the prohibition order was as a result of a dispute between Gillingham FC and Kent Police about costs and the number of officers needed to police the match.
More top news
Philippa has the latest weather for the east
Philippa has the latest weather for the west
Bournemouth pulled off one of the comebacks of the season to beat Liverpool for the first time. They came back from 3-1 down to win 4-3