The song came about by accident during a night of drinking and getting stoned when Lita was being managed by Ozzy's wife, Sharon. She recalled to Metal Underground
: "Close My Eyes Forever was a mistake. It was just me and Ozzy and Sharon hanging about in the recording studio. They showed up one day and had a housewarming present for me: a life-size duplicate of Koko the gorilla from the San Diego Zoo. It was freaking huge – I had to strap it in the front seat of my jeep to get it home. Ozzy stayed, Sharon got bored and left, and me and Ozzy had a couple of drinks and we were jamming. We started singing, messing about and we wrote 'Close My Eyes Forever.'
Next thing I knew the sun was coming up. I looked at him and went, 'Uh-oh, we're in trouble.' Sharon had been waiting all night. We were a long way from where Ozzy had to go. He said, 'Can you drive me home?' I said, 'No, I can't.' We were stoned out of our minds. He got into a cab and I strapped Koko into my jeep and drove home – just barely made it. And then we had this hit song."