The third season saw the departure of Parnell, Caddell, and Herlocker and the temporary absence of O'Donnell. Director Christopher Misiano became a supervising producer and Patrick Ward came aboard as an associate producer. Redford was promoted to producer. With the thirteenth episode of the third season director Alex Graves became an additional supervising producer and Eli Attie joined the writing staff as a story editor.
The fourth season marked the temporary departure of Hissrich. Misiano and Graves became co-executive producers alongside Falls. Attie was promoted to executive story editor and Debora Cahn became a staff writer. The fourteenth episode of the season saw Redford promoted to supervising producer and Kanaskie, Ward and Attie promoted to co-producers.
The fifth season saw the departure of both Sorkin and Schlamme as executive producers. Schlamme remained attached to the series as an executive consultant. John Wells remained the sole executive producer and showrunner. Co-executive producer Kevin Falls also left the show. O'Donnell rejoined the production team as a consulting producer. Wells also added Carol Flint, Alexa Junge, Peter Noah and John Sacret Young as consulting producers. Andrew Stearn came aboard as a producer and Attie was promoted to producer. Cahn became story editor and Josh Singer replaced her as staff writer. With the tenth episode Flint, Junge, Noah and Sacret Young became supervising producers.
With the sixth season Misiano and Graves were promoted to executive producers. Redford and Junge left the production team and Dylan K. Massin became a co-producer. Cahn was promoted to executive story editor and Singer replaced her as story editor. Lauren Schmidt filled the staff writer role. The fourth episode saw the departure of original crew member Llewellyn Wells. Debora Cahn was promoted to co-producer with the fourteenth episode.
The seventh season saw Noah and O'Donnell promoted again, this time becoming additional executive producers. Attie became a supervising producer. Hissrich returned to his role as producer for the final season.
"The West Wing" employed a broad ensemble cast to portray the many positions involved in the daily work of the federal government. The President, the First Lady, and the President's senior staff and advisors form the core cast. Many secondary characters, appearing intermittently, complement storylines that generally revolve around this core group.
Each of the main actors made about $75,000 an episode, with Sheen's most recently confirmed salary being $300,000. Rob Lowe also had a six-figure salary, reported to be $100,000, because his character originally was supposed to have a more central role. Disparities in cast salaries led to very public contract disputes, particularly by Janney, Schiff, Spencer, and Whitford. During contract negotiations in 2001, the four were threatened with breach of contract suits by Warner Bros. However, by banding together, they were able to persuade the studio to more than double their salaries. Two years later, the four again demanded a doubling of their salaries, a few months after Warner Bros. had signed new licensing deals with NBC and Bravo.
John Spencer, who played Leo McGarry, died from a heart attack on December 16, 2005 — about a year after his character experienced a nearly fatal heart attack on the show. A brief memorial message from Martin Sheen ran before "Running Mates", the first new episode that aired after Spencer's death. The loss of Spencer's character was addressed by the series beginning with the episode "Election Day", which aired on April 2, 2006.
Different performers had been originally considered for many of the roles. Bradley Whitford states in an interview on the Season 1 DVD that he was originally cast as Sam, though the character of Josh was the role Whitford had wanted and for which he had auditioned. In addition, Josh's character had been written specifically for him by Aaron Sorkin. In the same interview, Janel Moloney states that she had originally auditioned for the role of C.J., and that the role she eventually received, Donna, was not meant to be a recurring character. Other actors who were seriously considered included Alan Alda and Sidney Poitier for the President, Judd Hirsch for Leo, Eugene Levy for Toby, and CCH Pounder for C.J.
"The West Wing", like many serial dramas, stretches storylines over several episodes or entire seasons. In addition to these larger storylines, each episode also contains smaller arcs which usually begin and end within an episode.
Most episodes follow President Bartlet and his staff through particular legislative or political issues. Plots can range from behind-closed-doors negotiating with Congress ("Five Votes Down") to personal issues like sex ("Pilot", "Take out the Trash Day") and personal drug use (a major plotline throughout the first and second seasons). The typical episode loosely follows the president and his staff through their day, generally following several plots connected by some idea or theme. A large, fully connected set of the White House allows the producers to create shots with very few cuts and long, continuous master shots of staff members walking and talking through the hallways. These "walk and talks" became a trademark of the show. The final two seasons presented a narrative change, with the focus of the show divided between plots in the West Wing with President Bartlet and his remaining senior staffers and plots revolving around the rest of the main cast on the campaign trail for the 2006 election.
The series developed following the success of 1995 theatrical film "The American President", for which Aaron Sorkin wrote the screenplay, and Martin Sheen played the White House Chief of Staff. Sorkin used some of the same research he had done for "The American President" a suggestion from a friend to create "The West Wing".
According to the DVD commentary, Sorkin intended to center the show on Sam Seaborn and the other senior staff with the president in an unseen or a secondary role. However, Bartlet's screen time gradually increased, and his role expanded as the series progressed. Positive critical and public reaction to Sheen's performance raised his character's profile, decreasing Lowe's perceived significance. In addition, according to Sorkin, the storylines began to focus less on Sam and more on Josh Lyman, the deputy chief of staff. This shift is one of the reasons for Lowe's eventual departure from the show in the fourth season.
For the first four seasons, Sorkin wrote almost every episode of the series, occasionally reusing plot elements, episode titles, character names, and actors from his previous work, "Sports Night", a sitcom in which he began to develop his signature dialogue style of rhythmic, snappy, and intellectual banter. Fellow executive producer and director Thomas Schlamme championed the "walk and talk," a continuous shot tracking in front of the characters as they walk from one place to another that became part of "The West Wing"<nowiki>'</nowiki>s signature visual style. Sorkin's hectic writing schedule often led to cost overruns and schedule slips, and he opted to leave the show after the fourth season, following increasing personal problems, including an arrest for possession of illegal drugs. Thomas Schlamme also left the show after the fourth season. John Wells, the remaining executive producer, took the helm after their departure.
The show aired its series finale on Sunday, May 14, 2006. It had suffered a significant ratings fall after being placed in the same timeslot as ABC's Top 20 hit "", and CBS' Top 30 hit "Cold Case".
"The West Wing" offers a rare glimpse into the inner workings of the White House, and the show's legitimacy, political slant, and film merits have generated considerable discussion.