Steve Lovell's side to play Eastleigh in July.
Gillingham will play Eastleigh at the Silverlake Stadium on Tuesday July 24 in a pre-season friendly, kick-off at 7.30.
The Gills have two matches that evening with another squad due to take on Chatham at Maidstone Road, with a slightly later kick-off time of 7.45.
Eastleigh, under the management of former Gills boss Andy Hessenthaler, finished 14th in the National League last season and the game will take place 11 days prior to the new season beginning on August 4.
Ticket details will be published nearer the time.