When Marnie Was There (Japanese: 思い出のマーニー, Hepburn: Omoide no Mānī, literally Marnie of [My] Memories) is a 2014 Japanese anime drama film written and directed by Hiromasa Yonebayashi, produced by Studio Ghibli and based on Joan G. Robinson's novel of the same name, although it transposes the setting from Norfolk, England from the original novel to Sapporo. The film follows Anna Sasaki living with her relatives in the seaside town. Anna comes across a nearby abandoned mansion, where she meets Marnie, a mysterious girl who asks her to promise to keep their secrets from everyone. As the summer progresses, Anna spends more time with Marnie, and eventually Anna learns the truth about her family and foster care.
It was the final film for Studio Ghibli, before they announced that its division took a short hiatus after The Tale of the Princess Kaguya, and the retirement of Hayao Miyazaki a year before the film was released. It also marked the final film credit for Studio Ghibli animator, Makiko Futaki. The film was released in theatres on 19 July 2014, and on Blu-ray and DVD in Japan on 18 March 2015. It was nominated for the Academy Award for Best Animated Feature at the 88th Academy Awards.