Using a Duo App Passcode for Two-step Login When Your Device Does Not Have Internet or Cell Service

If your device doesn’t have Wi-Fi or cellular service (for example, while traveling internationally), you can still use Duo by generating offline passcodes.

While, the recommended way to use Duo two-step login is with push notifications through the Duo Mobile app. These notifications require an internet or cellular connection to work.

When your device is offline and cannot receive push notifications, Duo provides an alternative: offline passcodes. To ensure uninterrupted access, set up and verify offline passcodes on your device before you need them (such as prior to traveling).

This KB Article References:
This Information is Intended for:
Instructors, Staff, Students

Steps For Using DUO without Internet or Cell Service

Before You Travel: Prepare Your Device

Before you expect to use offline passcode, prepare your device(s) and DUO account:

  1. Download and activate the DUO app on any mobile device (tablet, mobile phone) from which you might need offline passcodes by accessing the Duo Device Management portal.
  2. Set up your device so you can confirm that they're properly listed and active in Duo. This will allow you to enter a passcode each time you are logging into the SSO screen.
     

    Screenshot of the Duo Device Management screen
  3. Once you've set up your device and account, test that the offline passcodes work:

    • Turn off wifi/cell service on your device.
    • Open the DUO app on the mobile device you set up.
    • On a separate device (still connected to the wifi/cell service) go to the Duo Device Management portal and select Other options to log in then select tap Duo Mobile passcode.
    Screenshot of Duos Other options to login screen showing the Duo Mobile passcode option
    • Enter the passcode from your app and click Log In
    • Repeat steps a-d on every device you might need to use offline (e.g., devices you will have when you travel)
    • If a device has issues, see troubleshooting below.

While Traveling: Get and Use the Duo App Passcodes from your Offline Device

  1. Prior to logging into a system that requires two-step login, tap Duo App on a mobile device or tablet you set up above
    Duo App Icon
  2. In the  "Stony Brook University" account, tap Show to reveal a 6-digit number (even if you are offline). Please note that the passcode listed will change after 30 seconds.
  3. When you log into the Stony Brook system, it requires two-step login. For Device, choose the device you got the passcode from in Step 2, then tap Enter the Mobile Passcode.
  4. Enter the passcode and tap Verify.
    If you see a message that the passcode has already been used, go back in the DUO app on your device, click the refresh button refresh button to create a new passcode; refresh works even while your device is offline

Troubleshooting

If the passcodes from a device's DUO app don't work, reactivate the device on any Single Sign On (SSO) screen while your device is connected to the internet.

This Content Last Updated:
01/27/2026

Supported By


Customer Engagement and Support

Need Help? The fastest way to get support is by submitting a request through our ticketing system.

Get Help With Duo
This KB Article References:
This Information is Intended for:
Instructors, Staff, Students
Estimated Read Time:
2 minutes
This Content Last Updated:
01/27/2026