Bluebeard's Castle is a one-act opera by Béla Bartók. The words are written in Hungarian. The opera is based on the 1697 French fairy tale "Bluebeard" by Charles Perrault. There are only two characters in the opera: Bluebeard and his wife Judith. The opera was written in 1911. It was first performed in Budapest in 1918.