diff --git a/lib/SimpleSAML/Store/Memcache.php b/lib/SimpleSAML/Store/Memcache.php
index 08d2f052aa1be1185ceea3f8cb66c237035390a6..528268346afccdac82b94309ddcf1b5022782449 100644
--- a/lib/SimpleSAML/Store/Memcache.php
+++ b/lib/SimpleSAML/Store/Memcache.php
@@ -23,7 +23,7 @@ class SimpleSAML_Store_Memcache extends SimpleSAML_Store
      */
     protected function __construct() {
         $config = SimpleSAML_Configuration::getInstance();
-        $this->prefix = $config->getString('memcache_store.name', 'simpleSAMLphp');
+        $this->prefix = $config->getString('memcache_store.prefix', 'simpleSAMLphp');
     }