diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php
index 9839ae358f..c38f5dc664 100644
--- a/wp-admin/includes/class-wp-site-health.php
+++ b/wp-admin/includes/class-wp-site-health.php
@@ -457,8 +457,8 @@ class WP_Site_Health {
 			$allowed_theme_count++;
 		}
 
-		// If there's a default theme installed, we count that as allowed as well.
-		if ( $has_default_theme ) {
+		// If there's a default theme installed and not in use, we count that as allowed as well.
+		if ( $has_default_theme && ! $using_default_theme ) {
 			$allowed_theme_count++;
 		}
 
