Derek Christopher Shepherd, often referred to as "McDreamy" for his attractiveness, was a fictional surgeon from the ABC medical drama Grey's Anatomy, portrayed by actor Patrick Dempsey. He made his first appearance in the series' pilot episode, "A Hard Day's Night", which was broadcast on March 27, 2005.

Derek was married to Addison Montgomery (Kate Walsh), but their relationship ended in divorce in 2007. Before his death in 2015, Derek was happily married to his longtime partner, Meredith Grey (Ellen Pompeo), with whom he had three children.

Derek served as the Chief of Surgery at Seattle Grace Mercy West Hospital (previously Seattle Grace Hospital, and later Grey Sloan Memorial Hospital). However, he abruptly resigned from the position in Season 7, following the traumatic hospital shooting.

For his portrayal of Derek Shepherd, Dempsey earned widespread recognition. He was nominated for the Golden Globe Award for Best Actor – Television Series Drama in both 2006 and 2007. Additionally, he also received a nomination for the Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Drama Series.

Storylines Derek arrives at Seattle Grace Hospital and comes as the new Head of Neurosurgery from New York City. He is a Bowdoin College graduate and attended Columbia University College of Physicians and Surgeons alongside his childhood best friend Mark Sloan and ex-wife Addison Montgomery and Private Practice characters Naomi Bennett and Sam Bennett. Derek was a student of Dr. Richard Webber and was enticed to come with an "offer he couldn't refuse" – the position of Chief of Surgery, which he eventually turned down. He specializes in highly complex tumors and conditions of the brain and spine, and came to Seattle Grace with a reputation for taking on "lost causes" and "impossible" cases that most of his peers would turn down. As an attending, he is both well-liked by patients and his scrub nurses for his compassion and polite bedside manner and feared by interns and residents who are intimidated by his reputation and high standards. He is passionate about his job and has been known to expel staff or remove students (or at least threaten them) from his service for being disrespectful about patients or if he deems their attitude to be detrimental to his patient's well-being.

Derek first meets Meredith Grey at a bar and has a one-night stand with her. He soon finds out that she is an intern at Seattle Grace. They begin to have feelings for one another, and it causes some awkwardness at work particularly after her supervising resident Dr. Miranda Bailey discovers their relationship. While most of his family members accepted Meredith, his sister, Nancy, particularly disliked her and repeatedly called her "the slutty intern"; as of season nine she still refuses to speak to Meredith or acknowledge her as her sister-in-law. His mother Carolyn approved as she felt Meredith's gray perspective of life complemented Derek's tendency to see everything in black and white.

Derek's background was generally a mystery for the first season and source of speculation amongst his colleagues due to his sudden departure from an established and highly respected practice in New York. In the season one finale, his past eventually catches up with him when his estranged wife Addison moves to Seattle and is offered a position by Dr. Webber. Shortly after that, his childhood best friend Mark joins Seattle Grace as the new head of plastic surgery. Derek and Addison attempt to repair their marriage but attempts were futile. Addison and Derek each began their practice in New York City, which placed a strain on their marriage. Their marriage was troubled in the years leading to Derek's decision to leave New York as it is eventually revealed in both Grey's Anatomy and Private Practice that Derek's mother did not approve of her (choosing to give her dead husband's ring to Derek's second wife, Meredith Grey) and Addison's brother Archer disliked Derek. Addison's affair with Derek's best friend Mark Sloan drove the wedge even further and Derek's departure to Seattle. Addison briefly attempted to have a relationship with Mark, which resulted in her becoming pregnant. She then had an abortion soon after she discovered that Mark cheated on her, and as she was still in love with Derek. She then moved to Seattle. In the season eight episode "If/Then", Meredith dreams of an alternate universe where her mother never had Alzheimer's; Derek and Addison are still married, but their strained relationship and Shepherd's disillusionment causes his career to stagnate, earning him the nicknames "Bad Shepherd" and "McDreary".

When Derek is offered the Chief of Surgery position for the second time (season 6), he persuades the board to keep Dr. Webber on the staff. During the merger of Seattle Grace with Mercy West their relationship sours when Derek disagreed with Richard's handling of the merger and Richard begins to display uncharacteristic behavior. Derek learns from Meredith that Richard has since resumed drinking and feels forced to have him removed as Chief of Surgery. With mixed feelings, Derek offers him an ultimatum: go into rehab and pick up where he left off after, or retire from the hospital altogether. In the finale of season 6 Derek was shot by a deceased patients husband who killed two doctors Reed Adam’s and Charles Percy. Christian Yang then saves his life with and assist from Jackson Avery, Derek briefly had a reckless driving habit in the first two episodes of season 7 but stops when his wife Meredith grey reveals that she was pregnant the day of the shooting and had a miscarriage. Derek and Meredith then try to get pregnant and have children. When they went to the ob/gyn it was revealed that Meredith was infertile due to fibroids in the uterus so they used fertility drugs which after a season they stopped as they adopted Zola.

In seasons three and four, Meredith and Derek's relationship becomes rocky, and they each take time to date other people. Derek's plans to propose were ruined by a series of unfortunate events in season five. In the season finale, they decide to give their planned wedding to Alex and Izzie. Due to their tight schedule, they instead informally marry, and Derek writes down their "vows" on a post-it note. They legalize their marriage in season seven in order to adopt Zola, a young African orphan treated for spina bifida. They briefly separate after Meredith tampers with their Alzheimer's trial, jeopardizing her career and tarnishing Derek's reputation. Zola is taken away from Meredith after a social worker finds out she and Derek are living separately. Eventually, the social worker comes back and announces they are the official parents of Zola. As Meredith nears the end of her fifth year of residency, she and Derek are torn between staying at Seattle Grace Mercy West or leaving for Boston where Derek would work at Harvard while Meredith would be at the Brigham and Women's Hospital.

Following his rescue from the plane crash that killed Mark and Lexie, Derek learns that he may only regain 80 percent of his hand's function. He comes to terms with the fact that his career as a surgeon may be over and is grateful that he is alive. When Callie Torres (Sara Ramirez), head of orthopedic surgery, tells him a more risky surgery could give him back full function of his hand or reduce its function if it goes wrong, he agrees, accepting the possibility of never again holding a scalpel. Derek, Callie, and fellow resident, Jackson Avery, decide to do a nerve transplant for his hand. Meredith, newly pregnant with their second child, goes behind his back and calls his sisters so they can donate the nerve to him. Lizzie (Neve Campbell), Derek's younger sister, agrees to donate a nerve and the surgery is a success.

Meredith has a child in season 9 which she doubted would be carried to term because of her earlier infertility, Derek was incredibly happy through her pregnancy and always reassured her. Derek, Meredith, Callie, Arizona (Jessica Capshaw) (Paediatric surgeon Callie’s wife), and Cristina (Sandra Oh) (Meredith’s best friend, and close friend to Derek (they basically became family due to Meredith and Cristina’s close bond)then buy Seattle grace mercy west hospital and names it grey Sloan after Lexie and Mark who died in the plane crash in season 8. In the season finale Meredith gives birth to their son Derek Bailey Shepherd in a blackout due to a super storm. Their baby required a crash c-section to be delivered safely and whilst Derek went to the nicu with newly born Bailey Meredith started bleeding out which massively terrified Derek as well his wife almost died and he didn’t know she was alive until after where dr Miranda Bailey (whom their son was named after) who saved here life told them (Derek and Cristina) that she lived.

Derek and Meredith's marriage is strained after he accepted an invitation from the U.S. President to participate in the Brain-Mapping Initiative. He went back on his promise that he would not add to his current workload to devote time to their two young children and allow Meredith the chance to establish her career as a full-fledged attending. Eventually, he was offered a position at the National Institutes of Health in Washington, D.C., but Meredith puts her foot down and refuses to leave her hometown and uproot their young family. His youngest sister Amelia (Caterina Scorsone) takes over his position at Grey Sloan as Head of Neurosurgery. Meanwhile, he and Meredith fight bitterly off and on over whether they should move. After a tense argument, he accepts the job in the heat of the moment and leaves for Washington D.C. While there, he and Meredith talk things out over the phone and come to a mutual conclusion that they both did not want to end their marriage. He tells her that just being with her, raising their children and operating on patients was more satisfying than "saving the world".

In season 11, Derek is involved in a fatal car accident while driving to the airport for his final trip to Washington. He can hear and process auditory input but is unable to speak. He is recognized by Winnie, one of the victims of a crash he assisted in earlier, who tells the surgeons that their patient's name is Derek and that he is a surgeon as well. The hospital he is taken to is understaffed and under-equipped, and his head injury is not detected quickly enough by the arrogant doctors and inexperienced interns on duty that night; although one intern does suspect Derek had a head injury, her superior repeatedly shuts down her attempts to get him a head CT, prioritizing his abdominal bleeding beforehand and having him rushed into surgery even though he is stable enough for the CT. Although the neurosurgeon on call is paged multiple times after the doctors finally discover the head injury, he takes too long to arrive, and Derek is declared brain dead. Police arrive at Meredith's door and take her to see Derek, where she consents to remove him from life support. At the time of his death, Meredith is pregnant with their third child. After quietly leaving Seattle, she gives birth to a daughter whom she names Ellis after her mother.