John Lennon wrote this gentle folk-rock ballad in the autumn of 1965 at his home in Kenwood, St. George’s Hill Estate, Weybridge, Surrey.
Just as "Yesterday" mysteriously came to Paul McCartney, "Nowhere Man" simply came to Lennon at dawn after he'd stayed up all night, struggling to come up with a new song for Rubber Soul. He happened upon a phrase, "nowhere man," which, he felt, described his own fears about himself. "I thought of myself sitting there, doing nothing and getting nowhere," he later said.
The song, a quasi-biographical composition in the vein of "I'm A Loser" and "Help!," was recorded on October 22, 1965, after several failed attempts the day before. Apart from its beautiful, ethereal vocal harmonies,
Source: Guitar World