Flanagan was born in the Roslindale neighborhood of Boston. He graduated from Boston College High School in 1947 and served in the United States Navy during the Korean War, where he won three battle stars and a unit citation. In 1954, he graduated from Boston College. He spent two years at Boston College Law School and then transferred to the New England Law Boston, where he graduated in 1957.
