All episode titles have the same number of words as the number of the season in which they appear. All season one episodes have one-word titles (e.g. Doubt), all season two episodes have two-word titles (e.g. Real Deal), all season three episodes have three-word titles (e.g. After the Fall), and all season four episodes have four-word titles (e.g. Anatomy of a Joke).
On July 11, 2012, during the filming of a "Good Wife" episode in which she was guest-starring, actress Kristin Chenoweth was struck by a falling piece of lighting equipment. She was knocked unconscious by the blow and was taken to the hospital in an ambulance. After several months of recovery, in which it was unsure if she would be able to return to her role, Chenoweth reported in September 2012 that her medical issues included not being able to "form a sentence after it happened"; a skull fracture; and continuing pain in her ribs and hip.
According to Julianna Margulies, after three exhausting years juggling the demanding show schedule and dealing with her baby's first years, she made a deal with creators Robert King and Michelle King. Starting in season 4, for those big courtroom scenes that take several hours to be filmed completely, Margulies would shot the scenes where Alicia is and active part first, then they would shot scenes with the other actors where she would have to be on the background for coverage once or twice and then she would leave set to prepare her next scenes or have the rest of the day off.
The series was partly inspired by the Eliot Spitzer prostitution scandal. It also draws on other prominent American political sex scandals, such those of John Edwards and Bill Clinton. Creator Michelle King also noted that in these political scandals, the women are lawyers (Hilary Clinton, Elizabeth Edwards).
Guest stars who have played themselves interacting with the show's fictional characters include: Clinton Administration advisers Vernon Jordan and Donna Brazile; presidential MSNBC anchor and political commentator Chris Matthews; financial TV hosts Lou Dobbs and Jim Cramer; and OJ Simpson lawyer and co-founder of The Innocence Project Barry Scheck. Actor/lawyer/politician Fred Dalton Thompson plays Frank Michael Thomas, a thinly veiled version of himself (Thomas is also a former actor, lawyer, and politician). New York City mayor Michael Bloomberg appeared in the Season Four finale.
During a 2011 interview on the National Public Radio program "Talk of the Nation," Alan Cumming (who plays Eli Gold) confirmed that his character is loosely based on longtime political operative (and, as of 2011, mayor of Chicago) Rahm Emanuel. Cumming said that Gold's undeveloped backstory includes a former career as a concert pianist, inspired by Emanuel's early-life, pre-politics ambition to become a professional ballet dancer.