Willie Nelson has a challenging past when it comes to infidelity.

In his new book, “Me and Sister Bobbie: True Tales of the Family Band,” Nelson, 87, opens up about the ways his cheating affected his ex-wives.

The country music legend’s first three marriages were back to back. From 1952-1962 he was married to Martha Matthews, from 1963-1971 he was married to Shirley Collie, and from 1971 to 1988 he was married to Connie Koepke.

His final marriage was to Annie D’Angelo, whom he wed in 1991.

JIMMY CARTER REVEALS WILLIE NELSON'S WHITE HOUSE POT-SMOKING PAL: 'ONE OF MY SONS'

Willie Nelson and Annie D'Angelo attend Hard Rock International's Wille Nelson Artist Spotlight Benefit Concert  (Mike Pont/Getty Images)

Nelson’s second wife, Collie, found out he cheated on her when the country crooner received a hospital bill indicating the birth of a child. That child, Paula Carlene, was mothered by his then-girlfriend Koepke.

“I tried to play it off as no big deal,” the “On the Road Again” singer writes in his memoir (via Page Six). “I told her that I had to go to the hospital for something minor.”

WILLIE NELSON REVEALED THAT KENNY ROGERS ORIGINALLY WANTED HIM TO RECORD 'THE GAMBLER'

He adds: “Shirley wasn’t buying that for one simple reason. The bill said the charges were for the birth of a baby girl, Paula Carlene, born to a Mrs. Connie Nelson.”

The birth certificate understandably raised questions for his then-wife Collie.

FILE - In this Jan. 7, 2017, file photo, Willie Nelson performs in Nashville, Tenn. Nelson has called out current immigration policies as “outrageous” and extended an offer to meet President Donald Trump at one of the detention centers at the U.S.-Mexico border. (AP Photo/Mark Humphrey, File)

Willie Nelson performs in Nashville, Tenn., Jan. 7, 2017 (Associated Press)

“Couldn’t lie. Was caught flat-footed,” Nelson recalls. “Had to get the words out of my mouth. ‘Connie’s my girlfriend and Paula’s our daughter.’”

Nelson and his second wife divorced and he subsequently married Paula’s mother, Koepke.

WILLIE NELSON SET TO PUBLISH BOOK WITH SISTER BOBBIE ABOUT LIFE IN MUSIC

His third marriage also proved to be unsuccessful because of his infidelities.

“I still hadn’t reformed,” the singer writes. “I messed up another marriage. My wandering ways were too much for any woman to put up with.”

Willie Nelson performs at the Producers & Engineers Wing 12th Annual GRAMMY Week Celebration at the Village Studio in Los Angeles (Richard Shotwell/Invision/AP)

During his third marriage, he met D’Angelo when she was a makeup artist on the set of the movie “Stagecoach.”

“My love for Annie was all-consuming, but winning her over wasn’t easy,” Nelson admits. “She had to be sure my marriage [to Koepke] was over and that I was truly free.”

WILLIE NELSON SIGNS, AUCTIONS OFF FACE MASKS GIFTED TO HIM SO THAT MORE PPE CAN BE MADE

“You’ve already seen that when it comes to romance. I had a gift for complicating things,” Nelson continues.

Trevor Nelson, Paula Nelson, Jacob Micah Nelson, Lukas Nelson, Amy Nelson, Willie Nelson, Annie D'Angelo, Raelyn Nelson, Rachel Fowler, Dean Hubbard, Martha Fowler, and Lana Nelson attend Hard Rock International's Wille Nelson Artist Spotlight Benefit Concert. (Mike Pont/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

The father of seven calls his now 34-year marriage to D'Angelo "the smartest thing I ever did."