Dolly Parton is setting the record straight on a secret song she wrote that is currently buried in a time capsule. 

"I have written a song that nobody is going to hear until I'm 99 years old," Parton admitted to Kelly Clarkson while on "The Kelly Clarkson Show." 

"I might be there, I might not be," she said in reference to when the song is set to be unearthed. "But it's when we did Dollywood," she revealed. "We put it in a time capsule… for it to be opened."

Dollywood is the Tennessee theme park that the singer-songwriter founded in 1986.

Dolly Parton in a mauve patterned dress speaks with Kelly Clarkson in an ember dress on her talk show

Dolly Parton told Kelly Clarkson that she has a secret song locked away in a time capsule that she plans to release. (Weiss Eubanks/NBCUniversal)

DOLLY PARTON SAYS SHE'S DONE WITH TOURING, WANTS TO BE 'CLOSER TO HOME' WITH HER HUSBAND AS THEY GET OLDER

Parton says she "put all the things that had to do with the times," including a cassette and CD player in a box, along with a song intended to be heard at a later date. 

"That has drove me crazy," she said of the decision. "It's a really good song. I have a song that is buried… I don't know whose d--- idea that was," she joked to Clarkson.

"That's what bothers me, to think it's gonna be a song that nobody is ever gonna hear if it rots in there before they open it."

Dolly Parton in a jeweled black dress on the carpet for The Rock & Roll Hall of Fame

When Dollywood was created, Dolly Parton wrote a song that was specifically meant to be buried in a time capsule there. (Theo Wargo/Getty Images for The Rock and Roll Hall of Fame)

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Over the years, Parton says the song being a secret has troubled her.

"I'll tell you, you have no idea how that has bothered me," she admitted. "I want to go dig that up so bad… I need to use that song!"

Dolly Parton on stage with a guitar singing at the Rock & Roll Hall of Fame induction

Dolly Parton recently performed during her induction into the Rock and Roll Hall of Fame. (Jeff Kravitz/FilmMagic)

CLICK HERE TO GET THE FOX NEWS APP

Despite the fact that Parton may or may not be alive when the song sees the light of day, she hopes that "it'll be special" for those who do get to listen.

"It's an odd feeling to be asked to write a song that nobody was… going to hear," she explained.

Parton first talked about the song’s existence in her book "Songteller: My Life in Lyrics." In the 2020 memoir and songbook, she revealed the secret tune will be released in 2045.

In the meantime, fans can prepare to hear Parton's first rock album next year. 

The "Jolene" singer got the idea for her new album when she was nominated for the Rock & Roll Hall of Fame, an honor she initially respectfully declined. But she gave in and was inducted in November, where she played her new song "Rockin."

"I thought, 'Well, if they wanna give it to me anyhow, I’m going to accept it gracefully,'" Parton explained on "Today." "And then I’m gonna go ahead and do a rock album and just make the most of it."