Set Audacity’s audio host to Windows WASAPI and select the “(loopback)” version of the device currently playing YouTube audio as the recording device.^1^
- In Windows 11, open Settings → System → Sound.
- Under Output, note the device currently playing YouTube—for example, Speakers (Realtek Audio), a headset, or an HDMI monitor.
- Open Audacity and choose Audio Setup:
- Host:
Windows WASAPI
- Recording device: the same playback device followed by
(loopback)
- Recording channels:
2 (Stereo)
- Playback device: the same speakers or headphones
- Start the YouTube video so audio is playing.
- Click Record in Audacity. Do not enable input monitoring for desktop-audio capture.^2^
If Windows changed from speakers to headphones, Bluetooth, USB, or HDMI since this previously worked, select that new device’s matching loopback entry. A loopback entry for unused speakers can produce silence.
If the loopback device is missing or remains silent
- In Audacity, select Transport → Rescan Audio Devices.
- Reopen Audio Setup and select the matching
(loopback) device again.
- Check that Windows has not disabled the playback device:
- Settings → System → Sound → More sound settings → Playback
- Select the device → Properties
- Set Device usage to Use this device (enable)
- Play ordinary system audio and verify that the device’s level meter moves. Audacity’s recording troubleshooting guidance recommends checking the selected device and whether Windows recognizes it correctly.^3^
USB, HDMI, and Bluetooth caveat
Windows WASAPI can fail when capture and playback involve different audio hardware—for example, a USB device combined with onboard Realtek playback. If that describes the setup:
- Use the same device for playback and loopback capture, or
- Try MME or Windows DirectSound with an available Stereo Mix or equivalent recording source.^4^
Only if Windows audio itself is malfunctioning
If YouTube cannot be heard normally, or its Windows volume meter does not move, the problem is broader than Audacity:
- Open Settings → System → Troubleshoot → Other troubleshooters.
- Run the Audio troubleshooter.
- If necessary, open Services and restart:
- Windows Audio
- Windows Audio Endpoint Builder
- Remote Procedure Call (RPC)
- If audio still fails across applications, update or reinstall the audio device under Device Manager → Sound, video and game controllers.^5^
Recording copyrighted material may be restricted by copyright law or YouTube’s terms; capture only audio you are authorized to use.
References
- Recording Computer Playback on Windows - Audacity Manual
- Recording desktop audio | Audacity Support
- FAQ:Recording - Troubleshooting - Audacity Manual
- Common troubleshooting steps | Audacity 3.x | Audacity Support
- [Windows 11](https://support.microsoft.com/windows/hardware/audio/fix-sound-or-audio-problems-in-windows)