Michael Jackson had “Billie Jean” stuck in his head on a Los Angeles freeway. He missed one big problem.

Everybody has had a song stuck in their head. Michael Jackson once had it worse than anyone.

It happened while he was making “Thriller” in 1982. Michael was taking a break from recording, riding along the Ventura Freeway in Los Angeles with his longtime assistant, Nelson Hayes, according to American Songwriter. Michael wasn’t the one driving. He was busy with something else.

A brand new song was playing over and over in his mind. Michael told the story himself in his 1988 memoir, “Moonwalk.”

“‘Billie Jean’ was going around in my head and that’s all I was thinking about.”

That song would soon be everywhere. Here’s the finished version, the official video with the sidewalk that lights up under Michael’s feet and a detective trailing him down the street. Keep that beat in your head, because it’s the same one Michael was hearing in the car that day.

Michael’s official “Billie Jean” video, with the glowing sidewalk

That song became one of the biggest hits of Michael’s life. “Billie Jean” is on the “Thriller” album, which came out at the end of November 1982, 44 years ago this month. On March 5, 1983, it reached No. 1 on the Billboard Hot 100, and it stayed on top for seven weeks.

But on the day of that ride, it wasn’t on the radio yet. It wasn’t even finished. The only place you could hear it was inside Michael’s head.

Most of us have missed an exit because a good song came on. Michael’s day went a little further than that.

Michael and Nelson were in his Rolls-Royce. Michael was lost in the music, working out the song in his head.

Then they started to come off the freeway.

“We were getting off the freeway when a kid on a motorcycle pulls up to us and says, ‘Your car’s on fire.'”

Yes, really. The car was on fire, and Michael was the last one to notice.

“Suddenly we noticed the smoke and pulled over and the whole bottom of the Rolls-Royce was on fire,” he wrote.

Nobody was hurt. Of course it could have been much worse. Michael admitted that part didn’t sink in until later. He said he’d been “so absorbed by this tune floating in my head” that he didn’t stop to think about the danger right away.

And here’s the funny part. Even with his car on fire, the song didn’t leave him alone.

“Even while we were getting help and finding an alternate way to get where we were going, I was silently composing additional material, that’s how involved I was with ‘Billie Jean.'”

So while they dealt with a burning Rolls-Royce on the side of the road, Michael was still writing the song in his head. It paid off.

In 1983 Michael sang it live on the “Motown 25” TV special, and that’s the night he did the moonwalk on stage.

Michael sings “Billie Jean” live on “Motown 25” in 1983

Watch for the moonwalk partway through. It’s the same song that once had him so distracted he didn’t notice his own car was smoking.

If you like the stories behind his famous moves, Marlon Jackson knows who showed Michael the moonwalk first. And the “Thriller” album had a family secret of its own, because Michael’s sisters sing on one of its hits.