[[caption-width-right:220:Anna and Marnie]]

''When Marnie Was There'' , (''Omoide no Marnie, "Marnie of My Memories" '') is the 22nd anime film produced by Creator/StudioGhibli, written and directed by Hiromasa Yonebayashi, and based on the novel "When Marnie Was There" by Joan G. Robinson. It was released on July 19, 2014.

Anna is an introverted, alienated and [[IllGirl severely asthmatic]] twelve-year-old girl from Sapporo, who only finds solace in her talent for drawing. To aid her health, Anna's parents send her to a relatives living in a rural seaside part of Japan, where Anna soon becomes fascinated by a large Western-style manor looming near the marsh next to the village she stays in. The first time she goes there she finds it abandoned and run-down, but on her second visit the house is suddenly full of life and light. More importantly, it appears to be home to a blonde girl named Marnie, who looks exactly like the girl Anna had been seeing in her dreams.

The girls feel an immediate connection, which grows ever deeper each time they meet. Still, Marnie and the manor she is living in remain a mystery. Why does the place look abandoned when Marnie is not around? What is Marnie's true identity? And what are her ties to Anna?

In typical Creator/StudioGhibli style, with [[SceneryPorn gorgeous animation]] and music, the movie gradually unfolds the meaning of Anna and Marnie's encounters, with Anna meeting several other important people along the way who all help her on her [[ComingOfAgeStory journey to find herself]].

The film was nominated for the UsefulNotes/AcademyAwardForBestAnimatedFeature in 2016, becoming the fifth Studio Ghibli film to achieve such an honor.
!!Tropes include:

* BittersweetEnding: Anna comes to terms with her her abandonment issues and learns to appreciate her adoptive family but only at the price of learning the tragedies that consumed her biological family. She finally appreciates what she has because it represents everything her parents and grandparents lost.
* ComingOfAgeStory: Anna matures a lot throughout her adventures with Marnie.
* ChekhovsGunman: The elderly woman, Hisako, who Anna notices painting by the shore. [[spoiler:She is Marnie's childhood friend, and provides Anna and Sayaka with the first half of the truth about Marnie's identity.]]
* DefinitelyJustACold: Anna passes out several times over the course of the story but refuses to acknowledge she has a problem.
* TheFerryMan: Alluded to. The first time Anna visits the manor she found herself stranded on the other side of the bay after the tide came in. A silent fisherman finds her and brings her back to the village.
* FosterKid: Marnie's governess abuses her when her parents aren't around. [[spoiler: Anna fears Yoriko only adopted her for the money.]]
* GhostlyGoals: [[spoiler:Marnie wants to spend time with Anna, who is truly her granddaughter, and help her grow beyond her abandonment issues.]]
* HideYourLesbians: The beginning of the movie is virtually ''dripping'' with romantic tension between the two main characters, which led many viewers to believe that this would lead to a payoff by the end. [[spoiler: Marnie turns out to be Anna's grandmother, and as a girl she had feelings for Kazuhiko, a boy whom she later marries. Anna was effectively a stand-in for Kazuhiko all along.]]
* IllGirl: Anna, though she works her way up to PluckyGirl by the end.
* InnocentBlueEyes: Anna and Marnie. This is significant, as blue is a very exotic eye color in Japan and Anna's blue eyes do not go unnoticed, which just feeds her sense of isolation.
* {{Jerkass}}: The governess and two maids abuse and bully Marnie when her parents are away.
* LongLostRelative: [[spoiler: Marnie is Anna's grandmother.]]
* LoveLetterLunacy: Parental love version: Anna's isolation and depression began when she found a hidden letter to her mother that rocked her whole world.
* MsExposition: Hisako, whose story fills in many of the gaps by the end of the movie.
* {{Mukokuseki}}: Subverted [[spoiler: Anna's blue eyes attract notice and are an important clue to her heritage]].
* NeverTrustATrailer: The imagery used in promotional materials led some people to believe that the movie deals with a [[RomanticTwoGirlFriendship budding romance between the two female leads]]. [[spoiler:It doesn't.]]
* ParentalAbandonment: Marnie's parents are present, but often leave her with an abusive governess; Anna's abandonment issues stem from several traumatic early childhood incidents.
* PluckyGirl: As expected in a Creator/StudioGhibli film, Marnie is fairly plucky (though her pluckiness has limits) and she teaches Anna pluckiness by example.
* RomanticTwoGirlFriendship: Anna and Marnie's relationship ''seems'' to veer in that direction at first. [[spoiler: Things are not quite as they seem to be though.]]
* SceneryPorn: This is by Creator/StudioGhibli, so this is to be expected. Still, the animation of the water in that marsh is ''gorgeous''.
* TimeTravel: Combined with LivingMemory. Both seem possible in the beginning and [[spoiler: the difference matters in the end]].
* TomboyAndGirlyGirl: Anna and Marnie, respectively. It's a rare example with an introverted tomboy and an outgoing girly girl.
* WriteBackToTheFuture: [[spoiler:Marnie's diary]] in effect though not in intent.