Windows notifications overview

April 10, 2026 · View on GitHub

Windows provides several notification APIs across different SDK generations. If you're searching online for how to send a notification and finding conflicting examples, this page will help you pick the right API for your app.

Which API should I use?

The answer depends on which SDK your app targets:

App typeRecommended APINamespace
WinUI 3 / Windows App SDK (new apps)AppNotificationManagerMicrosoft.Windows.AppNotifications
WPF, WinForms, or unpackaged Win32AppNotificationManager via NuGetMicrosoft.Windows.AppNotifications
UWP (existing apps, no migration planned)ToastNotificationManagerWindows.UI.Notifications

Important

Most Stack Overflow answers and older tutorials use ToastNotificationManager from the Windows.UI.Notifications namespace. This is the UWP WinRT API. It works in UWP apps and may work in some desktop scenarios, but it is not the recommended path for new Windows App SDK apps. Use AppNotificationManager for new development.

Notifications API comparison

FeatureAppNotificationManager (Windows App SDK)ToastNotificationManager (WinRT)
Recommended forWinUI 3, WPF, WinForms, unpackaged Win32UWP
NuGet packageMicrosoft.WindowsAppSDKNone (inbox)
Package identity requiredNo (works packaged and unpackaged)Required for some features
Push integrationPushNotificationManager (Windows App SDK)WNS channel APIs (Windows.Networking.PushNotifications)
Active developmentYesMaintenance only

Types of notifications

Once you've chosen the right API, decide how your notification will be delivered:

TypeDescriptionUse when
Local app notificationTriggered directly by your app code while runningYou want to alert the user of an in-app event
ScheduledSet a future time for the notification to appearCalendar reminders, alarms
Push (WNS)Sent from your cloud service via Windows Push Notification ServicesChat messages, breaking news, real-time updates
BadgeSmall overlay on the app's taskbar iconUnread count, status indicator

For a full breakdown of delivery methods, see Choose a notification delivery method.

Next steps

Building a WinUI 3 or Windows App SDK app?

Building a WPF or WinForms app?

Important

Windows App SDK push notifications require an Azure account and an Azure AD app registration. If your app is packaged, you also need to submit a Package Family Name (PFN) mapping request by email — allow for up to one week of processing time before launch. See the push notifications quickstart for full prerequisites.

Building or maintaining a UWP app?

Migrating a UWP app to Windows App SDK?