Scroll to the end of the article to hear the song.

Most fans know how Janis Joplin turned a Kris Kristofferson song into the only No. 1 hit of her life. Far fewer know about the song Kris Kristofferson wrote after she was gone. It came out of one long night, a recording he could hardly stand to hear, and a friend who walked in at the right moment.

A Song That Found Its Way to Janis

Kris Kristofferson wrote “Me and Bobby McGee” from a title handed to him by producer Fred Foster, and Roger Miller was the first to record it in 1969. Janis Joplin met Kris Kristofferson in the spring of 1970 through their mutual friend, folk singer Bob Neuwirth. For a short, bright stretch of time, the two were close.

It was Bob Neuwirth who taught Janis Joplin the song, while Kris Kristofferson was down in Peru making The Last Movie with Dennis Hopper. Janis took it into the studio in Los Angeles that fall, during the sessions for the album that would become Pearl. She changed Bobby into a man and made the song her own.

Kris Kristofferson had no idea she had recorded it.

October 1970

On October 4, 1970, Janis Joplin died in Los Angeles. She was 27 years old.

The next day, her producer, Paul Rothchild, asked Kris Kristofferson to come by his office. He had something he wanted him to hear. It was “Me and Bobby McGee,” his own song, sung by a woman who was no longer alive to hear what she had done with it.

When it was over, Kris Kristofferson walked out and wandered the streets of Los Angeles in tears.

The Night in the Combine Building

Back in Nashville, Kris Kristofferson went to the Combine Music building, the publishing house he wrote for. It was late at night, and nobody else was there.

He put her recording on.

When it ended, he played it again. Then again. By his own account, he was trying to get used to hearing her voice, so that the song would stop breaking him every time it started.

Then Donnie Fritts came in. Donnie Fritts was a songwriter and keyboard player, and he would spend years on stage beside Kris Kristofferson. He listened with his friend. The two of them started fooling around on the piano, working through the grief the only way they knew how.

Before that night was over, Kris Kristofferson and Donnie Fritts had written a song about Janis Joplin. They called it “Epitaph (Black and Blue).”

The Last Song on the Record

“Epitaph (Black and Blue)” was released in 1971 as the closing track on Kris Kristofferson’s second album, The Silver Tongued Devil and I, on Monument Records. That album arrived at the moment Kris Kristofferson’s career was finally taking off, much of it thanks to the posthumous success of Janis Joplin’s “Me and Bobby McGee,” which went all the way to No. 1.

So the record that showed the world who Kris Kristofferson was ends with a goodbye to the woman who helped make that happen.

“Because You Have To”

Kris Kristofferson never described “Epitaph (Black and Blue)” as a song he set out to write. Looking back on it years later, he put it simply:

“The kind of song you write because you have to.”

Why It Still Matters

“Me and Bobby McGee” belongs to the whole world now. It has been sung in bars and arenas, by legends and by kids with their first guitar. But “Epitaph (Black and Blue)” belongs to one night, one empty office, and two friends at a piano trying to say goodbye.

Kris Kristofferson kept singing “Me and Bobby McGee” for decades, and he never stopped connecting it to the woman who made it famous.

“Every time I sing it, I still think of Janis.”

Next time you put on The Silver Tongued Devil and I, let it play to the very end. The last song you hear was written by Kris Kristofferson and Donnie Fritts on the night Kris Kristofferson finally made himself listen to Janis Joplin sing.