The song was written in the Regis Hotel, New York City during a tour of the United States. The song was intended as an antithesis to flower power anthems of the time such as "Let's Go to San Francisco" and "San Francisco " in that the protagonist had been to San Francisco to join the hippies but was now homesick. The idea of the lights having gone out in Massachusetts was to suggest that everyone had gone to San Francisco. The song was originally intended for The Seekers. Upon arriving in London from Australia the Bee Gees had been unsuccessful in getting the song to the group, so they recorded it themselves. During a chance meeting in London between the Seekers' lead singerJudith Durham and Maurice Gibb, Durham learned that "Massachusetts" was originally intended for her group and in 2003 the Seekers recorded the song as a tribute to Maurice following his death earlier that year. The Bee Gees had never actually been to Massachusetts when they recorded this; they just liked the sound of the name.Robin Gibb explained about "Massachusetts" in 1000 UK #1 Hits by Jon Kutner and Spencer Leigh:
Recording
"Massachusetts" was recorded on August 9, 1967 along with "Sir Geoffrey Saved the World" at the IBC Studios in London and finished on August 17. Barry feels Bill Shepherd's orchestral score is perhaps the arranger's finest: "We never expected him to do that. Sometimes we would sing what we would the strings doing. But in this case he did that himself, and I thought it was great. 'Massachusetts' was our first #1 in England".
Release
Before the release of this song, Australians Colin Petersen and Vince Melouney were facing deportation, and it appeared that they might have to leave the band as a result. On 12 August, British fans staged a protest on behalf of the musicians at the cottage of Prime Minister Harold Wilson. Three days later Bee Gees fan Deirdre Meehan chained and handcuffed herself to Buckingham Palace to protest the possible deportation. Ultimately, the musicians were allowed to stay. When it was released in the UK, the title was "Massachusetts " but the subtitle was later dropped. In America, Atco Records delayed it to release "Holiday". The song "Massachusetts" has a minor claim to fame in the history of British radio as it was the second record played on BBC Radio 1. The first song to be played was "Flowers in the Rain" by The Move. It was the first No. 1 hit single by a non-Japanese artist on Japan's official hit chart, Oricon Singles Chart, on April 1, 1968.