For the Desperate Housewives episode, see Finishing the Hat (Desperate Housewives).
Finishing the Hat: Collected Lyrics (1954–1981) with Attendant Comments, Principles, Heresies, Grudges, Whines and Anecdotes is a book by American musical theatre composer and lyricist Stephen Sondheim. The book contains Sondheim's lyrics from his first professionally staged show, Saturday Night (1954) through West Side Story, Gypsy, A Funny Thing Happened on the Way to the Forum, Anyone Can Whistle, Do I Hear a Waltz?, Company, Follies, A Little Night Music, The Frogs, Pacific Overtures, Sweeney Todd, the Demon Barber of Fleet Street, and ending with Merrily We Roll Along (1981), stopping just short of the Pulitzer Prize-winning Sunday in the Park with George (1984) which contains the song from which the title of the book is taken.
While the book is not an autobiography, and much of it deals with Sondheim's lyrical technique (such as the use of perfect rhyme, proper stressing of syllables, avoiding redundancy), the comments and anecdotes mentioned in the subtitle often deal with his relationships with his collaborators, including Arthur Laurents, Jerome Robbins, George Furth, James Lapine and Leonard Bernstein, and with events important to the history of American musical theatre.