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
The latest weather for the east with Philippa
The latest weather for the west with Philippa
Philippa has the Bank Holiday weather for the east