The upcoming fourth season will be its last, Disney officials told The Post.

Miley Cyrus — who plays Miley Stewart, a down-to-earth high schooler who leads a secret double life as pop star Hannah Montana — has been making noises for more than a year that she is ready to move on.

But the news quietly marks the end of one of the most successful kids’ shows ever. The show still averages nearly 5 million viewers a week.

“You never know in this business . . . but right now we’re scheduled to wrap [forever] after shooting this new batch of episodes,” says Disney Channel Worldwide’s Adam Bonnett, senior VP/programming.

Production on the fourth season is set to begin Jan. 18 and end sometime this summer — after Cyrus takes a short hiatus in April to promote her upcoming big-screen movie, “The Last Song.”

The fourth season will premiere “in late spring,” Bonnett says.

“The [new] episodes will continue to roll out at least over a full year,” he says.

The narrative framework for Season 4 will reflect the real-life struggle the actress is having leaving behind the character that made her famous.

The Season 3 finale, “Is Miley Saying Goodbye?” and slated to air in mid-March, is “a big one-hour event where we find out what Miley Stewart’s decision is going to be,” Bonnett says.

“It’s one of the things she’s been wrestling with for months — whether it’s time to make a decision to continue being Hannah Montana or just be a regular, ordinary girl.”

Bonnett says Ray Liotta will guest-star in the fourth-season opener, and the show has also snared “Two and a Half Men” teen Angus Young as a guest star in a future episode.

“Ray Liotta will play a role that no one would ever expect him to play in a teen sitcom,” he says.

Miley Cyrus’ relationship with Disney won’t end once “Hannah Montana” belts out her final number.