The Kilted Third Foot and Mouth Regiment let the side down, and get caught with their pants up, encouraging the Khazi of Kalabar to attack the garrison, while the upper lips of Sir Sidney Ruff-Diamond and his memsahib remain stiffly British.
- Sid James ... Sir Sidney Ruff-Diamond (as Sidney James)
- Kenneth Williams ... The Khasi of Kalabar
- Charles Hawtrey ... Pte. James Widdle
- Roy Castle ... Capt. Keene
- Joan Sims ... Lady Ruff-Diamond
- Bernard Bresslaw ... Bungdit Din
- Peter Butterworth ... Brother Belcher
- Terry Scott ... Sgt. Major Macnutt
- Angela Douglas ... Princess Jelhi
- Cardew Robinson ... The Fakir
- Julian Holloway ... Major Shorthouse
- Peter Gilmore ... Private Ginger Hale
- Leon Thau ... Stinghi
- Wanda Ventham ... Khasi's First Wife
- Alexandra Dane ... Busti
- Michael Mellinger ... Chindi
- Dominique Don ... MacNutt's Lure
- Derek Sydney ... Major Domo
- Steven Scott ... Burpa guard
- David Spenser ... Bungdit Din's servant
- Patrick Allen ... Narrator (voice) (uncredited)
- Josephine Blain ... Hospitality Girl (uncredited)
- Johnny Briggs ... Sporran Soldier (uncredited)
- Simon Cain ... Bagpipes Soldier (uncredited)
- June Cooper ... Hospitality Girl (uncredited)
- Carmen Dene ... Hospitality Girl (uncredited)
- Anthony Dutton ... Burpa (uncredited)
- Eve Eden ... Khasi's Wife (uncredited)
- Barbara Evans ... Khasi's Wife (uncredited)
- Harry Fielder ... Burpa (uncredited)
- Liz Gold ... Khasi's Wife (uncredited)
- Angela Grant ... Hospitality Girl (uncredited)
- John Hallam ... Burpa on Rooftop (uncredited)
- Katherina Holden ... Khasi's Wife (uncredited)
- Nigel Kingsley ... Indian Boy (uncredited)
- Valerie Leon ... Hospitality Girl (uncredited)
- Tamsin MacDonald ... Khasi's Wife (uncredited)
- Vicki Murden ... Hospitality Girl (uncredited)
- Lisa Noble ... Khasi's Wife (uncredited)
- Anne Scott ... Khasi's Wife (uncredited)
- Larry Taylor ... Burpa at Door-Grid (uncredited)
- Sue Vaughan ... Hospitality Girl (uncredited)
- Patrick Westwood ... Burpa in Crowd (uncredited)
- Vicki Woolf ... Khasi's Wife (uncredited)
- Karen Young ... Hospitality Girl (uncredited)
- Casting by Weston Drury Jr - (uncredited)
- Art Direction by Alex Vetchinsky - (as Vetchinsky)
- Costume Design by Emma Selby-Walker
- Hairdresser - Stella Rivers
- Makeup Artist - Geoffrey Rodway
- Production Manager Jack Swinburne
- Assistant Director Peter Weingreen
- Second Assistant Director Ivor Powell - (uncredited)
- Props John Chisholm (uncredited)
- Set Dresser Freda Pearson (uncredited)
- Assistant Art Director Richard Rambaut (uncredited)
- Ken Barker Sound Recordist
- R.T. Macphee Sound Recordist (as R. MacPhee)
- Colin Miller Dubbing Editor
- Nicolas Le Messurier Sound assistant (uncredited)
- Charlie McFadden boom operator (uncredited)
- Otto Snel sound re-recording mixer (uncredited)
Camera and Electrical Department
- James Bawden camera operator
- Neil Binney camera operator: Khyber location
- H.A.R. Thomson director of photography: Khyber location
- Keith Blake clapper loader (uncredited)
- Steve Claydon focus puller (uncredited)
- Harry Gillard still photographer (uncredited)
Costume and Wardrobe Department
- Dorothy Edwards wardrobe supervisor (uncredited)
- Jack Gardner assistant editor (uncredited)
- Eric Rogers conductor
- Larry title sketches
- Yvonne Richards continuity
- Gladys Goldsmith continuity (uncredited)
- Julie Mendez choreographer (uncredited)
- Second film in the series with an alternative title.
- The Rank Organisation's 'title consultants' wanted to call this film 'Carry on the Regiment'.
- When Princess Margaret visited the set during filming, she was shown a clip which includes the scene in which Sir Sidney Ruff-Diamond writes to Queen Victoria, in which Sir Sidney says "Dear Vicky". Princess Margaret was said to be furious about this joke.
- First and only "Carry On..." film for Roy Castle. He replaced Jim Dale, who was unavailable.
- Tommy Cooper was originally asked to play the role of the Fakir but he was unavailable. Cardew Robinson was then cast in the role.
- The censor had a problem with Bungdit Din's line, "Fakir, off!" A sufficient pause was required between the words "Fakir" and "off".
- When the first Gulf War started, this film was banned from being shown on British television.
- In the dinner scene, the cast was served ham and boiled potatoes.
- There is an in-joke to the Rank Organisation: when someone bangs a gong (the trademark symbol of Rank), the Khasi describes it as "rank stupidity".
- Snowdonia in Wales doubled as the Khyber Pass with the rest of filming done at Pinewood Studios. When the film was released, an old soldier who had served in the Khyber Pass area wrote to the film studio, informing them that he recognized the area at once.
- Lady Ruff Diamond's line, "Oh dear! I seem to have got a little plastered," was an ad lib by Joan Sims which was kept in. Julian Holloway's (Major Shorthouse) reaction to the line was genuine.
- Joan Sims wore a body stocking during the dance scene due to her own concerns about her weight.
- Joan Sims complained to the Director Gerald Thomas about Kenneth Williams's behaviour while filming a love scene. Williams broke wind violently during the scene, which took Sims completely by surprise.
- To receive an 'A' (PG) cinema certificate some risqué dialogue was removed including Brother Belcher's request for "A tool to dig with" and Bungdit Din mentioning a "travelling fakir". The print remains edited to this day.