Share via


BlockThirdPartyCookies

Block third party cookies

Supported versions

  • On Windows and macOS since 77 or later

Description

This policy controls whether third-party cookies are blocked in regular browsing sessions.

If you enable this policy, web page elements that are not from the domain shown in the address bar can't set cookies.

If you disable this policy, third-party cookies are allowed, including from domains other than the one shown in the address bar.

If you don't configure this policy, third-party cookies are allowed by default, but users can change this setting.

Note: This policy doesn't apply in InPrivate mode. In InPrivate, third-party cookies are blocked by default and can only be allowed at the site level using the CookiesAllowedForUrls policy.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: Yes
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: Yes

Data type

  • Boolean

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: BlockThirdPartyCookies
  • GP name: Block third party cookies
  • GP path (Mandatory): Administrative Templates/Microsoft Edge
  • GP path (Recommended): Administrative Templates/Microsoft Edge - Default Settings (users can override)
  • GP ADMX file name: MSEdge.admx

Example value

Disabled

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): SOFTWARE\Policies\Microsoft\Edge\Recommended
  • Value name: BlockThirdPartyCookies
  • Value type: REG_DWORD

Example registry value

0x00000000

Mac information and settings

  • Preference Key name: BlockThirdPartyCookies
  • Example value:
<false/>

See also