Moss Hart and George S. Kaufman, authors of the play from which this film was adapted, were good friends with Alexander Woollcott, a famous critic, radio personality, and lecturer at the time. Woollcott requested that they write a play FOR him, but they never came up with a plot. One day Woollcott came to visit Hart unexpectedly and turned his house upside down, taking over the master bedroom, ordering Hart's staff around and making a general nuisance of himself. When Hart told Kaufman of the visit, he asked, "Imagine what would have happened if he broke his leg and had to stay?" They looked at each other and knew they had a play.
Bette Davis desperately wanted John Barrymore to play Whiteside, but he couldn't remember his lines due to his alcoholism. Davis always said later that she'd rather have acted with Barrymore reading from cue cards than with anyone else.
The only real snafu that happened during production was a bizarre one: Bette Davis' dog bit her hard on the nose, leaving a noticeable wound. Davis had to retreat to her home in New Hampshire for several weeks, according to Hal B. Wallis, in order to heal and be presentable for the camera. She eventually returned to the set before her nose was fully healed. "We shot for two days with Bette's back to the camera," said Wallis. "This was fine, except that every time the other actors saw her, they broke into fits of giggling led by Monty Woolley. It became impossible for them to speak their lines."
Bette Davis saw "The Man Who Came to Dinner" on Broadway and immediately wanted to play the role of Maggie, the antithesis of her usual roles. She wanted the role desperately because she wanted to act opposite John Barrymore who was to play Sheridan Whiteside. At her insistence, Warner Bros. tested Barrymore for the role but his failing health and inability to remember his lines cost him the job.
The authors asked Alexander Woollcott if he would like to play the part of Whiteside when the play opened on Broadway. He declined. The authors then approached Monty Woolley, who at that time was a professor at Yale. They wrote him "would it amuse you to play the part of Whiteside?" to which Woolley replied "it would amuse everyone."