His wife, Michelle Goffin, confirmed his death.
Goffin, who married King in 1959 while they were in their teens, penned more than 50 top 40 hits, including "Pleasant Valley Sunday" for the Monkees, "Crying in the Rain" by the Everly Brothers, "Some Kind of Wonderful" for the Drifters and "Take Good Care of My Baby" by Bobby Vee. The couple divorced in 1968, but Goffin kept writing hits, including "Savin' All My Love for You" for Whitney Houston.
"Gerry was a good man with a dynamic force, whose words and creative influence will resonate for generations to come," King said.
"His legacy to me is our two daughters, four grandchildren, and our songs that have touched millions and millions of people, as well as a lifelong friendship."
The Goffin-King love affair is the subject of the Tony Award-nominated musical "Beautiful: The Carole King Musical" on Broadway.
King, while backing the project, had avoided seeing it for months because it dredged up sad memories. She finally sat through it in April.
The show ends just as King is enjoying fame for her groundbreaking solo album "Tapestry." It also alleges Goffin's womanising and depression were causes of the breakup.
After their divorce, Goffin garnered an Academy Award nomination with Michael Masser for the theme to the 1975 film "Mahogany" for Diana Ross. He also earned a Golden Globe nomination for "So Sad the Song" in 1977 from the film "Pipe Dreams.
