|Anatomy of a Murder|
|Season 3, Episode 5|
|Air date||October 18, 2010|
|Written by||Terence Paul Winter|
|Directed by||John Terlesky|
When a County Hospital doctor's body is discovered in someone else's casket, Castle and Beckett dive into the complex relationships in the hospital and the doctor's life to uncover the killer. Meanwhile, Castle's relationship with his ex-wife is strained over a pair of concert tickets.
- Nathan Fillion as Richard Castle
- Stana Katic as Detective Kate Beckett
- Jon Huertas as Detective Javier Esposito
- Seamus Dever as Detective Kevin Ryan
- Tamala Jones as Dr. Lanie Parish
- Ruben Santiago-Hudson as Captain Roy Montgomery
- Molly Quinn as Alexis Castle
- Susan Sullivan as Martha Rodgers
- Michael Cassidy as Greg McClintock
- Monet Mazur as Gina Cowell
- A Martinez as Cesar Calderon
- Carlos Sanz as Manuel Calderon
- William Allen Young as Jerry Camden
- Bo Foxworth as Leonard Maloney
- John Kassir as Mr. Dreyfus
- Nathan Lam as Rabbi
- Erin Fleming as Amy Porter
- Cynthia Frost as Tova
- Brea Cola as Dr. Imani Phelps
- Allyssa Maurice as Dr. Lissa Akerman
- Sara Holden as Dr. Valerie Monroe (uncredited)
- Beckett: So, two lovers reunite after three years. Where would you go?
- Castle: Motel.
- Beckett: Really? That’s what you call special?
- Castle: Well, I’m assuming they’re on a budget.
- Esposito: That was a nice thing you did in there.
- Castle: Nah, I just thought that after everything Greg did for her they deserved a chance. Besides, if it were you and I in Amy’s shoes, we’d still be rotting in prison.
- Esposito: Speak for yourself, bro. I’d escape.
- Castle: What, you’d just leave me in there?
- Esposito: It’s law of the jungle. I gotta look out for numero uno.
- Castle: Wow. Nothing like a hypothetical prison term to let you know who your friends really are.
- Beckett: Don’t worry, Castle. I’d get you out.
- "You Know It's True" - Jules Larson
- Montgomery claims he liked Martha Stewart, but only before she went to prison for insider trading. However, Stewart was never convicted of insider trading, and a judge threw out the charge of securities fraud, calling it "unprovable". Instead, she was convicted of charges relating to the investigation itself: obstruction of justice, making false statements and conspiracy.
- Castle continuously calls McClintock "McDreamy" or "McSteamy" which is a clear reference to the show Grey's Anatomy.