Neil Harris will take his Gills side to the GTech Community Stadium in November for a third round Carabao Cup tie.
Gillingham will take on Brentford in the third round of the Carabao Cup at the GTech Community Stadium on Tuesday November 8 (7.45pm).
The Gills defeated AFC Wimbledon 2-0 in the opening round at Plough Lane before overcoming Exeter City on penalties in the second round at MEMS Priestfield Stadium.
Brentford are in their second season in the top flight and are currently eighth in the Premier League, defeating Manchester United 4-0 last month in the process.
They are under the management of Thomas Frank who has been in charge of the Bees since October 2018 having also coached the Denmark U16, U17 and U19 squads.
Ticket information for the fixture will follow in due course. Season ticket holders will be given a priority window.