Around this time Bennett often found himself playing vicars and claims that as an adolescent he assumed he would grow up to be a Church of England clergyman, for no better reason than that he looked like one.
Bennett's first stage play Forty Years On, directed by Patrick Garland, was produced in 1968. Many television, stage and radio plays followed, with screenplays, short stories, novellas, a large body of non-fictional prose, and broadcasting and many appearances as an actor.
Bennett's distinctive, expressive voice (which bears a strong Leeds accent) and the sharp humour and evident humanity of his writing have made his readings of his work very popular, especially the autobiographical writings. Bennett's readings of the Winnie the Pooh stories are also widely enjoyed.
Many of Bennett's characters are unfortunate and downtrodden. Life has brought them to an impasse or else passed them by. In many cases they have met with disappointment in the realm of sex and intimate relationships, largely through tentativeness and a failure to connect with others.
Despite a long history with both the National Theatre and the BBC - Bennett never writes on commission, declaring "I don't work on commission, I just do it on spec. If people don't want it then it's too bad."
Bennett is both unsparing and compassionate in laying bare his characters' frailties. This can be seen in his television plays for LWT from the early 1970s through to his work for the BBC in the early 1980s. His many works for television include his first play for the medium, A Day Out in 1972, A Little Outing in 1977, Intensive Care in 1982, An Englishman Abroad in 1983, and A Question of Attribution in 1991. But his perhaps most famous screen work is the 1987 Talking Heads series of monologues for television which were later performed at the Comedy Theatre in London in 1992. This was a sextet of poignantly comic pieces, each depicting several stages in the character's decline from an initial state of denial or ignorance of their predicament, through a slow realisation of the hopelessness of their situation, progressing to a bleak or ambiguous conclusion. A second set of six Talking Heads followed a decade later, which was darker and more disturbing.
In his 2005 prose collection Untold Stories Bennett has written candidly and movingly of the mental illness that his mother and other family members suffered. Much of his work draws on his Leeds background and while he is celebrated for his acute observations of a particular type of northern speech ("It'll take more than Dairy Box to banish memories of Pearl Harbour"), the range and daring of his work is often undervalued. His television play The Old Crowd includes shots of the director and technical crew, while his stage play The Lady in the Van includes two characters named Alan Bennett.
The Lady in the Van was based on his experiences with an eccentric called Miss Shepherd, who lived on Bennett's driveway in a series of dilapidated vans for more than fifteen years. A radio play of the same title was broadcast on 21 February 2009 on BBC Radio 4, with actress Maggie Smith reprising her role of Miss Shepherd and Alan Bennett playing himself. The work has also been published in book form. Alan Bennett adapted The Lady in the Van for the stage. In 2015 a film version was released to critical acclaim. Once again Dame Maggie Smith played Miss Shepherd, with Alex Jennings appearing as two versions of Bennett. Alan Bennett himself appears in a cameo at the very end of the film.
In September 2005, Bennett revealed that, in 1997, he had undergone treatment for colorectal cancer, and described the illness as a "bore". His chances of survival were given as being "much less" than 50% and surgeons had told him they removed a "rock-bun" sized tumour. He began Untold Stories (published 2005) thinking it would be published posthumously, but his cancer went into remission. In the autobiographical sketches which form a large part of the book Bennett writes openly for the first time about his homosexuality. Previously Bennett had referred to questions about his sexuality as like asking a man who has just crawled across the Sahara desert to choose between Perrier or Malvern mineral water.
Bennett lives in Camden Town in London, with his partner Rupert Thomas, the editor of World of Interiors magazine. Bennett also had a long-term relationship with his former housekeeper, Anne Davies, until her death in 2009.
Bennett is a lapsed Anglican; brought up in the church, he became very religious as a teenager, but has "slowly left it [The Church] over the years," though he still holds a faith, and is often supportive of the restoration of churches throughout Britain.
In October 2008 Bennett announced that he was donating his entire archive of working papers, unpublished manuscripts, diaries and books to the Bodleian Library, stating that it was a gesture of thanks repaying a debt he felt he owed to the British welfare state that had given him educational opportunities which his humble family background would otherwise never have afforded.
Bennett was made an Honorary Fellow of Exeter College, Oxford, in 1987. He was also awarded a D.Litt by the University of Leeds in 1990 and an honorary doctorate from Kingston University in 1996. In 1998 he refused an honorary doctorate from Oxford University, in protest at its acceptance of funding for a chair from press baron Rupert Murdoch. He also declined a CBE in 1988 and a knighthood in 1996. He has stated that, although he is not a republican, he would never wish to be knighted, saying it would be a bit like having to wear a suit for the rest of his life. Bennett earned Honorary Membership of The Coterie in the 2007 membership list.
In December 2011 Bennett returned to Lawnswood School, nearly 60 years after he left, to unveil the renamed Alan Bennett Library. He said he "loosely" based The History Boys on his experiences at the school and his admission to Oxford. Lawnswood School dedicated its library to the writer after he emerged as a vocal campaigner against public library cuts. Plans to shut local libraries were "wrong and very short-sighted", Bennett said, adding: "We're impoverishing young people."