Audacity is among the foremost sound-editing software for Windows. However, some users can’t record audio in Audacity because of error code 9999. Error code 9999 is an issue that arises for some users when they try to use their recording microphones with Audacity. The sound editor throws up a message that says, “Error opening recording device. Error code: -9999.”

Users have mostly reported error 9999 happening on Windows 10 PCs. However, that doesn’t mean that issue can’t arise in Microsoft’s latest desktop platform. This is how you can fix Audacity error code 9999 in Windows 11/10.

1. Run the Recording Audio Troubleshooter

It makes sense to run the Recording Audio troubleshooter since error code 9999 is a recording issue. Running that troubleshooter isn’t widely confirmed to fix error code 9999, but it’s worth a try as it can resolve a variety of recording issues on Windows. You can run the Recording Audio troubleshooter from the Windows 11/10 Control Panel as follows:

  1. Start the Run accessory, which is quickly accessible with the Windows logo + R hotkey.
  2. Enter Control Panel in Run’s command text box and select OK.
  3. To see all Control Panel items, click the Large icons option that’s on the View by menu.
    The Large icons option
  4. Select Troubleshooting to open up that applet.
  5. Click View all to see the full list of troubleshooting tools.
    The View all option
  6. Select Recording Audio to bring up that troubleshooter.
    The Recording Audio troubleshooter
  7. Then press Next to start the Recording Audio troubleshooting.

2. Close All Communication Apps Before Running Audacity

Error 9999 can arise because of other messaging and video conference apps, such as Skype, Teams, Google Meet, and Zoom, using the microphone. Such apps can run in the background when you’re utilizing Audacity on the taskbar. If you have other communication apps installed that can potentially conflict with Audacity, try closing them like this:

  1. To access Task Manager, press that utility’s Ctrl + Shift + Esc keyboard shortcut.
  2. Click Processes to switch to that tab if necessary.
  3. Select any messaging software listed under Apps and click End task.
  4. Then go through the Background processes section to see if there are any messaging apps there. Right-click messaging app processes there and select End task.
    The End task option
  5. Also, look in your system tray to see if that includes an icon for a messaging app like Skype or Zoom. Right-click any messaging app icon there and select a context menu option that closes the software.
    The Quit option for Teams
  6. Then open Audacity and try recording something again.

3. Enable Microphone Access for Audacity

Error 9999 often occurs because Audacity is denied microphone access. Enabling microphone access for Windows apps is among the most widely acknowledged error 9999 resolutions to work. This is how you can enable apps to access your microphone in Windows 11/10:

  1. Open Settings in Windows 11 or 10 by selecting that app’s Start menu shortcut.
  2. Click the Privacy tab or category.
  3. Select Microphone to access those app permission settings.
    The Microphone navigation option
  4. Toggle on the Microphone access option if it’s disabled. In Windows 10, turn on the Allow apps to access your microphone setting.
    The Microphone access option
  5. Then scroll through the list of apps below that setting and click Audacity’s toggle button to enable microphone access.

4. Reinstall the Microphone Driver

Another possible cause for error 9999 is a faulty microphone driver. Reinstalling your microphone‘s driver will address that potential cause. These are the steps for reinstalling a microphone driver in Windows:

  1. Bring up Device Manager by right-clicking Start and selecting a shortcut for that utility on the Power User menu.
  2. Then double-click the Audio inputs and outputs category to view sound devices.
  3. Right-click your microphone and select Uninstall device.
    The Uninstall device option
  4. Click the confirmation dialog’s Uninstall option.
    The Uninstall Device confirmation window
  5. Select Action > Scan for hardware changes to reinstall the microphone driver.
    The Action menu in Device Manager

5. Turn Off Host Intrusion Protection in Kaspersky Security Software

Audacity users have confirmed disabling Host Intrusion Protection in Kaspersky antivirus (security) software fixes error 9999. Host Intrusion Protection is a feature that regulates apps’ activities in Windows 11/10. That component is enabled by default in Kaspersky security software.

Do you have Kaspersky security software installed on your PC? If so, look for and disable a Host Intrusion Protection setting in that software. This Kaspersky online help page tells you how to disable that feature in Endpoint Security for Windows. Or move Audacity to a Trusted app group in that software.

6. Disable Third-Party Antivirus Shields

Other third-party antivirus software packages can also feasibly conflict with Audacity. If you’ve installed a third-party antivirus utility in Windows 11/10, try disabling its shield before running Audacity. You can usually do that by right-clicking an antivirus tool’s icon in the system tray and selecting a context menu option to turn off its shield.

However, some antivirus utilities have special features that monitor microphones, which can block mic access for certain apps. For example, Bitdefender has a Microphone monitor setting. Disabling your antivirus utility’s shield might not turn off such a microphone security feature. So, have a look through your security software’s tabs to see if they include any feature setting that could affect microphone access and disable it.

7. Perform a Clean Boot

Clean booting is a troubleshooting method for disabling third-party apps and services that start with Windows. Performing a clean boot is a potential error 9999 resolution because it might eliminate a background program or service interfering with Audacity. Our guide on how to clean boot on Windows tells you how to apply this potential error 9999 resolution with MSConfig and Task Manager.

The Services tab in MSConfig

When you’ve set a clean boot and restarted Windows, try recording in Audacity. If recording works thereafter, you can leave the boot configuration as it is. However, users who prefer to re-enable startup apps and services will need to identify what one is causing error 9999.

8. Reinstall Audacity

Reinstalling Audacity is the last resort if none of the potential error 9999 solutions work for you. In this case, that sound editor app could have corrupted or missing files. You can remove Audacity within the Control Panel as instructed for method one in our guide to uninstalling software in Windows.

The Programs and Features applet

To reinstall the software, open the Audacity download page. Click the Download for Windows option there. Open Windows File Explorer and double-click the audacity-win-3.2.4-x64.exe file in whatever folder includes it. Then you can go through the setup wizard to reinstall Audacity.

Record Audio in Audacity Again

Those potential fixes for error 9999 are widely confirmed to work by Audacity users who’ve resolved that issue. So, it’s likely that one of those solutions will fix Audacity’s recording on your Windows PC. Then you can record audio to your heart’s content with that sound-editing software.