Once Upon a Mattress is a musical comey that opened off-Broadway on May 11, 1959, and then moved to Broadway. The play was written as an adaptation of the Hans Christian Andersen fairy tale The Princess and the Pea. The show's music was written by Mary Rodgers with lyrics by Marshall Barer and book by Jay Thompson, Dean Fuller, and Marshall Barer.