Microsoft Edge QR codes do not have a fixed expiry date. A QR code you generate from Edge's share or cast menu is a static code that points to the page's URL, so it keeps working for as long as that URL resolves and the code itself is not regenerated. In practice, the code lasts until you close the tab or browser session that produced the sharing panel, or until the page's address changes or goes offline.
That is the core fact: there is no countdown timer, no 24-hour limit and no server-side expiry baked into the feature. The confusion comes from QR codes in general, where the destination link — not the code — decides how long the scan works.
Edge QR Codes Are Links, Not Timed Tickets
When you use Edge to share a page as a QR code, the browser encodes the page's web address into the pattern of black and white squares. Your phone's camera reads that address and opens it. Nothing in that exchange records a start time or an end time.
Because the code is just an address in visual form, its useful life is tied to the address. A page on a stable site will scan correctly today, tomorrow and next month. A page that moves, is deleted or sits behind a login will fail the moment the destination changes, even though the QR code itself looks identical.
This is why you may scan an old Edge QR code and still land on the right page, while a code from a different app expires in minutes. The difference is the service behind the code, not the browser.
What Actually Ends an Edge QR Code
Four things end the working life of a code generated in Edge, and none of them is a clock.
Closing the sharing panel or tab
The QR code appears in a panel tied to the current tab. Close that tab, close the browser or restart the device, and the panel disappears. The image you already saved or screenshotted keeps working, because the encoded address does not change.
The destination URL changing
If the page is edited so its address changes, an old code points to a dead or redirected link. Sites that reorganise their structure break old codes this way, and no browser can prevent it.
The page requiring a session
A code that encodes a page behind a login will open the login screen on the scanning phone, not the content. The code has not expired; the access has.
The site going offline
If the server stops serving the page, the scan fails. This is a hosting problem, not a QR code problem, and it affects every code pointing at that page.
Static Codes Versus Dynamic Codes With Expiry
Edge produces static codes. The address is fixed inside the pattern, so the code cannot be redirected, tracked or switched off later. That makes it durable but inflexible.
Dynamic QR codes work differently. A short link sits inside the code, and a service redirects that short link to the real destination. The service can change the destination, count scans or expire the redirect. Many free dynamic services set a limit of about 14 to 30 days, while paid plans often run longer. If a code you generated elsewhere stopped working after a set period, it was almost certainly dynamic.
The practical rule of thumb: a code is only as permanent as the link it contains. Static codes last as long as the URL; dynamic codes last as long as the subscription or the service's expiry setting.
Scanning an Edge Code on Another Device
To use a code Edge generated, open the camera app on the phone, point it at the code and tap the link that appears. On iPhones the camera recognises QR codes by default; on most Android phones the same is true. If nothing happens, install a QR reader from the app store, or use the scanner built into the phone's quick settings.
If the scan opens the wrong page, check the address bar before typing anything. A code that pointed at a page which has since moved will usually redirect, and the redirect target is what you see. If the scan shows an error, the destination is gone rather than the code being expired.
One limitation worth knowing: a code generated on a desktop and scanned on a phone opens the mobile version of the page. Layout, menus and some content can differ from what you saw on the desktop, and that is normal behaviour, not a sign the code is failing.
Making a Code You Can Rely On Later
If you need a code that still works weeks from now, generate it from a stable, public URL and save the image rather than relying on the panel staying open. Screenshot the code or download it, then test it on a second device before you print or share it.
For codes you plan to print on a sign, a menu or a label, avoid encoding pages that require a login or that change address often. Point the code at a short, permanent address you control, and keep that address live for as long as the printed material will be in use.
If a code must be changeable later, use a dynamic service instead of Edge, and check its expiry terms before you commit. A static Edge code cannot be edited after the fact; the only way to change where it points is to generate a new one and replace the old image everywhere it appears.
Finally, test the code from a phone that is not signed in to your accounts. That is the closest match to how a stranger will experience it, and it catches login walls and mobile-only errors before the code goes out into the world.