diff --git a/splash.install b/splash.install
index 83636f0..a977ee9 100644
--- a/splash.install
+++ b/splash.install
@@ -26,4 +26,23 @@ function splash_update_6200() {
 	return $ret;
 }
 
-?>
\ No newline at end of file
+/**
+ * Implementation of hook_uninstall().
+ *
+ * Removes Splash module variables when uninstalling the module.
+ */
+function splash_uninstall() {
+  $splash_vars = array(
+    'splash_code',
+    'splash_cookie',
+    'splash_frequency',
+    'splash_how',
+    'splash_redirect',
+    'splash_when',
+    'splash_what',
+    );
+
+  foreach ($splash_vars as $var) {
+    variable_del($var);
+  }
+}
\ No newline at end of file
