How to Lock Edge PiP to Always on Top on Windows 11
🔍 WiseChecker

How to Lock Edge PiP to Always on Top on Windows 11

Quick fix: Edge’s Picture-in-Picture window stays on top by default but can drop behind windows on certain triggers. Open edge://flags, search Picture-in-Picture, set Document Picture-in-Picture v2 to Enabled. Restart Edge. Now PiP window stays on top through any window-focus changes. As a fallback, use Windows 11’s Always on Top from PowerToys.

You start watching a YouTube video in PiP. Switch to another app for work. The PiP window drops behind that app. The standard PiP should stay on top — but Edge has known cases where it falls back. The flag fixes the modern behavior; PowerToys forces it through.

Symptom: Edge Picture-in-Picture window drops behind other apps instead of staying on top.
Affects: Microsoft Edge on Windows 11.
Fix time: ~5 minutes.

ADVERTISEMENT

What causes this

Edge has two PiP implementations: legacy (Picture-in-Picture API for video only) and Document PiP v2 (Chromium’s newer always-on-top doc PiP). Legacy can drop behind certain full-screen apps. Document PiP v2 handles always-on-top more reliably. Some video sites use legacy by default; the flag forces v2.

Method 1: Enable Document Picture-in-Picture v2 in Edge flags

The first step.

  1. Open Edge.
  2. Type edge://flags in the address bar → press Enter.
  3. In the search box: type Document Picture-in-Picture.
  4. Find Document Picture-in-Picture v2. Set to Enabled.
  5. Also enable Document Picture-in-Picture API if available.
  6. Click Restart at the bottom.
  7. Now PiP windows from supported sites use the new implementation. Always-on-top is more reliable.
  8. Test: open YouTube. Click PiP button in player. Switch apps. PiP stays on top.

This is the native fix.

ADVERTISEMENT

Method 2: Use PowerToys Always on Top for any window

For when flag isn’t enough.

  1. Install Microsoft PowerToys from Microsoft Store.
  2. Open PowerToys → Always on Top.
  3. Enable. Default shortcut: Win+Ctrl+T.
  4. Start PiP in Edge. The PiP window becomes the focused window.
  5. Press Win+Ctrl+T. A blue border appears, confirming Always on Top is applied.
  6. Now this window stays on top regardless of focus or app fullscreen state. Press Win+Ctrl+T again to release.
  7. Custom shortcut: PowerToys Always on Top settings → rebind to any key combo.
  8. Works for any window, not just PiP. Useful for sticky notes, calculators, reference docs.

This is the universal fix.

Method 3: Open video in floating Edge window

For old PiP-incompatible sites.

  1. Some sites don’t support PiP at all (especially DRM-protected). Workaround: open in a small floating Edge window.
  2. Open the video in Edge.
  3. Right-click tab → Move tab to new window. New small window opens.
  4. Resize to PiP-like dimensions (e.g., 400×225).
  5. Position in corner.
  6. Use PowerToys Always on Top (Win+Ctrl+T) on this new window.
  7. For pseudo-fullscreen: F11 in the new window. Resize back smaller for the floating effect.
  8. For sites that block PiP (Netflix, some streaming): this is the only Always-on-Top option.

This is the workaround for stubborn sites.

How to verify the fix worked

  • Start PiP from Edge (YouTube has a PiP button in the player).
  • Open another app fullscreen. PiP window stays visible on top.
  • Switch between apps. PiP doesn’t drop behind.
  • If using PowerToys: blue border around PiP window confirms Always on Top is applied.

If none of these work

If PiP still drops behind: Browser version: update Edge to latest. edge://settings/help. For DRM-protected content: Netflix, Disney+, etc., may disable PiP entirely. Use Method 3. For fullscreen games: exclusive fullscreen mode overrides Always on Top. Use borderless fullscreen / windowed mode in game settings. For multi-monitor setups: PiP may drop to background monitor. Drag to primary monitor. For Edge channels other than Stable: Beta/Dev/Canary may have different flag set. Use Stable. Last resort: alternative PiP tool: Floatube (Chrome extension), PIP-Video, or VLC’s standalone always-on-top mode.

Bottom line: Enable Document Picture-in-Picture v2 flag in edge://flags. For stubborn cases or unsupported sites, use PowerToys Always on Top (Win+Ctrl+T) on the floating Edge window.

ADVERTISEMENT