diff --git a/domain_theme/domain_theme.module b/domain_theme/domain_theme.module
index ad6c5d9..80377cf 100644
--- a/domain_theme/domain_theme.module
+++ b/domain_theme/domain_theme.module
@@ -21,6 +21,9 @@
 function domain_theme_custom_theme() {
   $_domain = domain_get_domain();
   // Allow the admin theme and other custom themes to be retained.
+  if (path_is_admin(current_path())) {
+    return;
+  }
   $item = menu_get_item();
   if (!empty($item['theme_callback'])) {
     return;
