diff --git a/patches/chrome-browser-resources-settings-privacy_page-security_page.html.patch b/patches/chrome-browser-resources-settings-privacy_page-security_page.html.patch
new file mode 100644
index 000000000000..5a8bd61da68c
--- /dev/null
+++ b/patches/chrome-browser-resources-settings-privacy_page-security_page.html.patch
@@ -0,0 +1,26 @@
+diff --git a/chrome/browser/resources/settings/privacy_page/security_page.html b/chrome/browser/resources/settings/privacy_page/security_page.html
+index 7d79e5cb222645e3d789db363e5375ed6c86f7f3..354af4a6a000a6309c421f870a24724055647ef4 100644
+--- a/chrome/browser/resources/settings/privacy_page/security_page.html
++++ b/chrome/browser/resources/settings/privacy_page/security_page.html
+@@ -272,15 +272,17 @@
+ numeric-checked-value="[[httpsFirstModeSettingEnum_.ENABLED_FULL]]">
+
+
+-
++
++
+
+
+-
++
+
+-
++
+
+
+-
++
+
+
+
++ test('SecureDnsToggleNotDuplicated', function() {
++ // Check that the setting under the new element ID visible.
++ assertTrue(isChildVisible(page, '#secureDnsSettingNew'));
++
++ // Check that the setting under the old element ID is not visible.
++ assertFalse(isChildVisible(page, '#secureDnsSettingOld'));
++ });
++ //
+ });
+
+ suite('SecurityPageHappinessTrackingSurveys', function() {
+@@ -465,6 +479,20 @@ suite('FlagsDisabled', function() {
+ assertEquals(lockedSubLabel, toggle.subLabel);
+ });
+
++ // Tests that only the old Secure DNS toggle is shown when the new
++ // HTTPS-First Mode Settings flag is disabled.
++ // Regression test for crbug.com/365884462
++ // TODO(crbug.com/349860796): Remove when Balanced Mode is fully launched.
++ //
++ test('SecureDnsToggleNotDuplicated', function() {
++ // Check that the setting under the new element ID is not visible.
++ assertFalse(isChildVisible(page, '#secureDnsSettingNew'));
++
++ // Check that the setting under the old element ID is visible.
++ assertTrue(isChildVisible(page, '#secureDnsSettingOld'));
++ });
++ //
++
+ // TODO(crbug.com/349439367): Remove the test once
+ // kExtendedReportingRemovePrefDependency is fully launched.
+ test('LogSafeBrowsingExtendedToggle', async function() {