Plot
Miley Stewart and her best friend Lilly Truscott arrive at a concert and race through the backdoor just in time for Miley to perform as her secret alter ego: pop superstar singer Hannah Montana. After filming a music video for her song "The Best of Both Worlds", Miley – as Hannah – is confronted by Oswald Granger, an unscrupulous tabloid reporter. Hannah's publicist Vita sends Oswald away, but he manages to record her alluding to Hannah's "secret", which he reports to his editor Lucinda and becomes determined to uncover.
While shopping as Hannah, Miley fights with Tyra Banks over a pair of shoes she plans to give as a gift to Lilly, making her late for Lilly's Sweet Sixteen birthday party at the pier. Oswald records the incident and follows her to the party, forcing Miley to attend as Hannah in order to prevent him from learning her secret. Hannah's presence steals the entire party's attention, as does her performance of "Let's Get Crazy". Lilly leaves dejected and is stopped and questioned by Oswald, to whom she reveals that Hannah is from Crowley Corners, Tennessee.
Already upset with Miley for prioritizing her celebrity life over her family and friends, her father Robby is infuriated when her fight with Tyra makes headlines. He allows Vita to book a private jet for Miley to attend an awards show as Hannah, but instead flies her to Crowley Corners to spend two weeks there for her grandmother Ruby's birthday. Miley is eager to return to being Hannah, but Ruby chastises her for neglecting to spend time with her family. Miley feels very remorseful and wants to stop being Hannah Montana forever. She sadly looks at the picture of her late mother and wishes she were still alive.
Miley gradually reconnects with small-town life, her grandmother, and her childhood friend Travis Brody, while Robby is drawn to a local woman named Lorelai. Oswald arrives, and Miley is forced to misdirect him by claiming to know Hannah. The town holds a fundraiser to prevent developer Mr. Bradley from turning local land into a shopping mall, organizing a barn party where Taylor Swift makes an appearance with a performance of "Crazier." Robby also performs "Back to Tennessee" and Miley performs "Hoedown Throwdown" as herself, making the crowd go wild. When Mr. Bradley tells the crowd they will never raise enough money, Travis suggests Miley ask Hannah to hold a concert.
Lilly arrives disguised as Hannah to throw off Oswald and reconciles with Miley. Travis asks Miley out on a date, but she has already been invited by Lorelai to a dinner as Hannah with the town's mayor. Miley tries to run back and forth between both dinners, but Travis catches her mid-change and deduces her secret before leaving in disappointment. Miley then overhears Robby rejecting Lorelai in order to protect Miley's double life. Heartbroken and deeply hurt, Miley runs away to her gazebo and cries. She really doesn’t want to be Hannah Montana or live a double life anymore. She cries for her late mother to still be alive. Robby Ray comforts her. Miley finishes writing "Butterfly Fly Away", which she and her father sing together. She stays up all night to complete the chicken coop she and Travis were building; touched by this, he attends Hannah's concert.
As the town prepares for the concert, Miley receives her late mother's necklace from Ruby. Miley (as Hannah) stops performing "Rock Star" when she sees Travis and Lorelai in the audience and announces that she can no longer live a lie before removing her blonde wig, revealing her true identity to the crowd. After she sings "The Climb", the crowd pleads with her to continue being Hannah and promises to keep her secret, but Miley refuses. Oswald takes a picture of Miley, but before he can publish it to Lucinda, his daughters arrive – flown to the concert by Vita – and their admiration for Hannah convinces him not to sell the story; he rebukes Lucinda and quits. Miley reconciles with and kisses Travis and returns to the stage to finish the concert with one final song as herself, "You'll Always Find Your Way Back Home", as Lorelai and Robby reunite and kiss. During the credits, the cast dances to "Hoedown Throwdown".