"500 Keys" is the twenty-first and penultimate episode of the twenty-second season of the American animated television series The Simpsons. It first aired on the Fox network in the United States on May 15, 2011. It was written by John Frink and directed by Bob Anderson.