The Britain's Got Talent judge will front a new Britain-based series titled I Love My Country.
Frank Skinner and Inbetweeners star Greg Davies will be regular team captains on the show.
The pilot will be taped on July 23, while audience members can apply for tickets at TV Recordings.
The comedy show will feature guests trying to prove that they know Britain the best.
The taping will take place at BBC Television Studios in London. Audience members will support their chosen team in order to take home prizes.
Walliams will star in a new stage version of A Midsummer Night's Dream next year.