The film was based on an idea by director Malcolm Mowbray, who had worked with Alan Bennett on
Oh Winnie. Mowbray suggested they make a film set during the time of post-war rationining. Palin later wrote that "I've decided over the weekend not to do it" despite Maggie Smith being attached. However by August he agreed. Finance was raised from HandMade Films. At one stage the film was known as
Pork Royale. Filming started in April 1984. Most of the film was shot in Ilkley and Barnoldswick. Three pigs were used in the filming of
A Private Function which were all named Betty. Producer
Mark Shivas was advised by Intellectual Animals UK that the pigs used should be female and six months old so as to not be too large or aggressive. However, the pigs were "unpredictable and often quite dangerous". During filming of one of the kitchen scenes, Maggie Smith was hemmed in by one of the pigs and needed to vault over the back of it in order to escape. ==Release==