Lionel Richie just got extremely personal by getting real about his sex life.

Richie opened up about his nearly 40-year-old song "All Night Long" while on "The View" with his fellow "American Idol" judges Katy Perry and Luke Bryan.

Ahead of his upcoming tour with Earth, Wind & Fire, cleverly titled "Sing a Song All Night Long," Richie was asked to give the backstory to his 1983 hit.

"The first part I really, really have to say to you. Um, when I wrote ‘All Night Long’ it was truly all night long. Now my all night long is down to a fierce 15 minutes, but don't worry we'll talk about that later," he said cheekily.

LIONEL RICHIE CALLS GIRLFRIEND LISA PARIGI, 40 YEARS HIS JUNIOR: 'MY HEART' DURING ROCK & ROLL INDUCTION

Lionel Richie smiles with a gold chain around his neck, velvet black suit and black shirt

Lionel Richie implied some interesting details about his life in the bedroom during a recent interview. (VALERIE MACON/AFP)

"15 minutes, that's long bud," Perry said excitedly, giving Richie, 73, a handshake. 

"Damn right," Richie said, as he shook hands with Bryan.

"And don't you forget that, all right," he told the audience.

Richie is currently in a relationship with longtime girlfriend Lisa Parigi, who is 40 years his junior.

The two have been together since 2014, and Richie called Parigi "my heart" during his speech at the 37th annual Rock & Roll Hall of Fame Induction Ceremony last November.

LIsa Parigi in a silver suit and white top puts her hand on Lionel Richie's chest, while he wears a white button down and black suit

Lionel Richie and Lisa Parigi have been dating since 2014. (Shannon Finney)

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

The singer-songwriter then detailed the less than linear way the song was written, admitting the track was lacking one major thing.

"‘All Night Long’ was one of those songs where I must tell you, I did not have — I had everything but the hook," he admitted.

"So I went to a friend of mine's house and I'll give you his name… Dr. Lloyd Greig from Jamaica. I went to his house for Thanksgiving dinner and I walk in his house, and I have dinner, and I say, ‘Guys, I gotta go back to the studio man. I got to go back man,’" he said mimicking a Jamaican accent.

Lionel Richie in a striped black jacket, white t-shirt and chain with blue-lens glasses points at the camera out in Los Angeles

Lionel Richie was proud of his "fierce" stamina. (RB/Bauer-Griffin/GC Images)

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

"I got to go work all night long," he recalls saying, leading to the famous hook.

"Here's the joke. [Dr. Greig's] friends from Jamaica called him and said, ‘How much money did you make man off of that song with Lionel Richie?' And he said, ‘No man, I didn’t write the song… He just wrote it at my house.'"

Richie then explained that the doctor's friends said, "Man, you got ripped off, man."

While everyone burst into laughter on set, the hosts of the daytime talk show suggested Richie write his friend a check.

Lionel Richie in a black patterned jacket holds up an award on the red carpet at the American Music Awards

Lionel Richie detailed the writing process for his hit 1983 song "All Night Long." (VALERIE MACON/AFP)

CLICK HERE TO GET THE FOX NEWS APP

"All right, Lloyd," Richie said begrudgingly to the camera. "I'll send you a check."

Dr. Greig is credited on the record as chanting the "All Night Long" hook.