Meg Ryan and John Mellencamp have split.

“It was the distance,” a source told People. “She lives in New York and he resides in Indiana. It was the long distance that ultimately was the cause.”

The 62-year-old singer admittedly was not a fan of New York and refused to relocate to be with Ryan, 52.

“I’m too sensitive to live there,” he told Rolling Stone in December. “I can’t see poor people. I can’t see the suffering. I can’t see the trash on the streets. I’m not leaving Indiana. I’m going to die here.”

The couple got together shortly after Mellencamp’s divorce from Elaine Irwin and dated for three years.

The “You’ve Got Mail” actress recently reunited with her former co-star Tom Hanks for her new movie “Ithaca,” while Mellencamp is working on releasing his 22nd album.

A rep for Mellencamp declined to comment.