Directed by
Gabriela Cowperthwaite
Made by
Bleecker Street Media
Read the complete plot summary and ending explained for Megan Leavey (2017). From turning points to emotional moments, uncover what really happened and why it matters.
Based on actual events, Megan Leavey is set in 2003 and follows the journey of an aimless teenager, Megan (played by Kate Mara), from upstate New York. Following the tragic overdose of her best friend, Megan feels trapped in her small town, burdened by a difficult relationship with her mother, Jackie (portrayed by Edie Falco). Seeking a fresh start, she enlists in the US Marines.
After struggling through basic training, she finds herself at Camp Pendleton, where she quickly encounters trouble. As punishment, she’s tasked with cleaning the enclosures of the K-9 bomb detection dogs. It’s here that she meets an aggressive German Shepherd named Rex. Despite her fear, she approaches Gunnery Sergeant Martin (played by Common), expressing her desire to become a dog handler. He agrees, but due to a shortage of dogs, she must practice using an ammunition box instead.
As months roll on, Megan faces a bittersweet moment when she is finally assigned to Rex, who has a history of injuring his previous handler. With limited time before their deployment to Iraq, Megan and Rex must bond quickly. Initially challenged by Rex’s obstinacy, their relationship strengthens as she allows him into her living quarters rather than the kennel. During this period, she also starts dating Matt Morales (played by Ramón Rodríguez), a fellow handler.
Fast forward to 2005, and the K-9 unit is deployed in Iraq. Megan and Rex participate in several missions, aiding their fellow Marines while overcoming initial setbacks. Together, they manage to uncover a major weapons cache, significantly contributing to the safety of countless troops by detecting numerous IEDs. However, during a mission in Ramadi, disaster strikes as they are caught in an explosion caused by a hidden IED. Miraculously, both Megan and Rex survive and recuperate at their base.
Returning to Camp Pendleton, Megan makes the difficult decision to not re-enlist. Believing that Rex will remain with her since he’s injured, she expresses her wish to adopt him. Sergeant Martin supports her, yet she learns that Rex will be reassigned with a new handler despite his injuries. This news devastates Megan, compounded by her struggle with PTSD from the blast.
Facing overwhelming emotions, she ends her relationship with Matt, who chooses to re-enlist, and engages in a heated argument with her mother, which leads her to move in with her father, Bob (played by Bradley Whitford). Bob encourages her to take action instead of wallowing in despair, igniting a fire within her. Megan then launches a campaign advocating for all military handlers to retire their service dogs, gathering support through petitions, media appearances, and help from US Senator Chuck Schumer.
By 2009, Megan discovers Rex is being retired due to health issues. She attends his retirement ceremony at Camp Pendleton, where she reunites with Matt, who brings good news about her adoption request being approved by the Marines. Their emotional reunion with Rex brings closure and joy to her previous struggles.
Finally, the film culminates with a heartwarming tribute at Yankee Stadium, where the New York Yankees honor both Megan and Rex in front of a cheering crowd, including her proud parents. The story ends with clips of the real Megan Leavey and Rex, noting that Rex lived for three more years after his retirement. Today, Megan is a dedicated dog handler and trainer, continuing her important work in bomb detection at high-profile venues, including the United Nations.
Follow the complete movie timeline of Megan Leavey (2017) with every major event in chronological order. Great for understanding complex plots and story progression.
Megan's Tragic Loss
In 2003, Megan Leavey experiences the heartbreaking overdose of her best friend, which leaves her feeling lost and directionless. This tragic event becomes a catalyst for her desire to seek change in her life.
Enlisting in the Marines
Seeking a fresh start, Megan decides to enlist in the US Marines as an escape from her troubled relationships and small-town life. Her decision marks the beginning of a challenging and transformative journey.
Basic Training Struggles
Megan endures the rigors of basic training, where she confronts her limitations and learns the importance of discipline and teamwork. Despite the challenges, she pushes through with determination.
Introduction to K-9 Unit
After receiving punishment, Megan is assigned to clean the enclosures of K-9 bomb detection dogs at Camp Pendleton. This is where she encounters Rex, an aggressive German Shepherd who will change her life.
Becoming a Dog Handler
Megan expresses her determination to become a dog handler to Gunnery Sergeant Martin. Although initially limited to using an ammunition box for practice, her determination to bond with Rex starts here.
Bonding with Rex
Months go by, and Megan is finally assigned to Rex, who has a troubled history with previous handlers. Their relationship blossoms as she chooses to bring Rex into her living quarters, establishing a crucial bond ahead of deployment.
Deployment to Iraq
In 2005, Megan and Rex are deployed to Iraq along with the K-9 unit. They participate in several high-stakes missions, proving their worth by detecting numerous IEDs and uncovering a major weapons cache.
Surviving the Explosion
During a critical mission in Ramadi, disaster strikes when an IED explodes nearby. Despite the chaos, Megan and Rex survive the blast, showcasing their resilience and strong partnership.
Return to Camp Pendleton
After their strenuous deployment, Megan returns to Camp Pendleton but is forced to confront heartbreaking news. She learns that Rex will be reassigned, leaving her emotionally shattered after the bond they formed.
Struggles with PTSD
Megan grapples with PTSD from her experiences in Iraq, leading to the end of her romantic relationship with Matt. In her struggle, she also confronts her mother, prompting her to move in with her supportive father.
Advocating for Service Dogs
Motivated by her desire to keep Rex, Megan launches a campaign for military handlers to retire their service dogs alongside her efforts to gather public support through petitions and media appearances.
Rex's Retirement
In 2009, Megan learns that Rex will be retired due to health issues. She attends his retirement ceremony at Camp Pendleton, where she reunites with Matt, and they share emotional news about her adoption request being approved.
Heartwarming Reunion
At the retirement ceremony, Megan has an emotional reunion with Rex, marking a significant turning point in her life. This reunion signifies closure and joy after her tumultuous journey.
Tribute at Yankee Stadium
The film culminates in a touching tribute at Yankee Stadium, where the New York Yankees honor both Megan and Rex in front of a cheering crowd. This moment celebrates their bond and acknowledges their sacrifices.
Continuing the Legacy
After Rex's retirement, Megan dedicates herself to continuing her work as a dog handler and trainer. She remains involved in bomb detection efforts at high-profile venues, highlighting her commitment and ongoing legacy.
Explore all characters from Megan Leavey (2017). Get detailed profiles with their roles, arcs, and key relationships explained.
Megan Leavey
Megan Leavey is a determined young woman who grapples with her troubled past and seeks direction in life through military service. Her growth is marked by her evolving relationship with Rex, her dedication to duty, and her advocacy for military dogs. Each challenge she faces reveals her resilience, depth, and capacity for love.
Rex
Rex is an intelligent and initially aggressive German Shepherd who transforms through his partnership with Megan. His strength and loyalty define his character as he plays a vital role in military operations, showcasing the unique bond dogs share with their handlers. His journey from a troubled past to becoming a war hero illustrates the healing potential of companionship.
Jackie Leavey
Jackie is Megan's mother, who has a strained relationship with her daughter. Her tough love approach reflects the complexities of familial bonds and the impact they have on personal struggles. Jackie embodies the conflict between parental expectations and personal freedom.
Gunnery Sergeant Martin
Gunnery Sergeant Martin is a mentor figure to Megan, providing guidance and support as she navigates military life. His belief in Megan's potential to become a dog handler highlights themes of mentorship and support within the armed forces. He represents the leadership and camaraderie found in military culture.
Matt Morales
Matt Morales is a fellow Marine and Megan's love interest. Their relationship adds a layer of complexity to the story, as both characters face the reality of military life and its challenges. Matt's decision to re-enlist underscores the sacrifices made by service members, even in personal relationships.
Bob Leavey
Bob Leavey, Megan's father, represents a contrasting figure who motivates her to take charge of her life. His support during her struggles plays a significant role in her journey toward healing and self-advocacy. He encourages Megan to channel her pain into action, fostering her growth.
Learn where and when Megan Leavey (2017) takes place. Explore the film’s settings, era, and how they shape the narrative.
Time period
2003-2009
The movie takes place during a pivotal time in U.S. military history, particularly focusing on the Iraq War from 2003 to 2005. This era saw numerous deployments and the implementation of advanced technologies like K-9 units in military operations. The story also reflects the broader societal challenges faced by veterans during the post-war period, including PTSD and the transition to civilian life.
Location
Camp Pendleton, Iraq, upstate New York, Yankee Stadium
Camp Pendleton serves as a crucial training area for the United States Marine Corps, where recruits undergo rigorous training. Iraq, particularly during the war in the mid-2000s, was a hotspot for military operations and conflict, posing significant challenges for soldiers. Upstate New York is the backdrop for Megan's challenging early life, representing her struggles and desire for change. Yankee Stadium symbolizes achievement and recognition, as it honors the bravery of servicemen and women.
Discover the main themes in Megan Leavey (2017). Analyze the deeper meanings, emotional layers, and social commentary behind the film.
🐕🦺
Bonding
The film explores the profound bond between Megan and her military working dog, Rex. Their relationship symbolizes companionship in adversity and the healing power of unconditional love. As they face danger together, their trust and affinity grow, illustrating the importance of teamwork and loyalty.
🌟
Healing
Megan's journey illustrates the theme of healing, both physically and emotionally. Through her struggles with PTSD and the challenges of transitioning to civilian life, the narrative emphasizes the importance of support systems and personal empowerment. Megan's advocacy for military dogs reflects a deeper quest for healing and justice.
🏅
Courage
Courage is a central theme as Megan enlists in the Marines and faces life-threatening situations in Iraq. Her bravery is not only demonstrated on the battlefield but also in her personal life as she fights for Rex's right to retire with her. The story highlights the different forms of courage, from physical acts to the emotional strength required to overcome personal demons.
Uncover films that echo the narrative beats, emotional arcs, or dramatic twists of the one you're exploring. These recommendations are handpicked based on story depth, thematic resonance, and spoiler-worthy moments — perfect for fans who crave more of the same intrigue.
What's After the Movie?
Not sure whether to stay after the credits? Find out!
Explore Our Movie Platform
New Movie Releases (2025)
Famous Movie Actors
Top Film Production Studios
Movie Plot Summaries & Endings
Major Movie Awards & Winners
Best Concert Films & Music Documentaries
© 2025 What's After the Movie. All rights reserved.