Sei Shōnagon (lesser councilor of state Sei), (c. 966–1017/1025) is a Japanese author, poet and a court lady who served the Empress Teishi (Sadako) around the year 1000 during the middle Heian period. She is the author of The Pillow Book (枕草子? makura no sōshi).