Sei Shōnagon (清少納言, about 966 – 1017/1025) was a Japanese writer. She was a court lady who served the Empress Teishi (Sadako) during the middle Heian period. She is best known as the author of The Pillow Book (枕草子, makura no sōshi). She also wrote diaries and poems.