How to Fix Ubuntu Playing No Sound After Unplugging Headphones

Pulling your 3.5mm wired headphones out of your Ubuntu laptop jack — or disconnecting a USB-C dock — only to press play on a video and hear dead silence from your built-in laptop speakers happens whenever Ubuntu’s audio mixer stays locked onto the unplugged device or forgets to unmute the internal speaker channel. Rather than rebooting your whole computer mid-task, two quick steps bring speaker audio right back.

Fix 1: Switch Output Device and Profile Back to Laptop Speakers in Settings

Ubuntu occasionally leaves audio routed to a phantom Headphones or unplugged HDMI / DisplayPort sink instead of handing sound back to internal speakers:

  1. Click the top-right System Menu and click Settings.
  2. Click Sound in the left sidebar.
  3. Under Output Device, click the dropdown and explicitly select Speakers – Built-in Audio (or Analog Output) rather than Headphones or HDMI.
  4. Right beneath Output Device, check the Configuration dropdown (e.g., Analog Stereo Duplex) and drag the main volume slider upward slightly — verify the small mute icon beside the slider is not switched on.

Fix 2: Restart PipeWire / PulseAudio Instantly Without Rebooting

If Ubuntu Sound Settings only shows Dummy Output or refuses to list Speakers at all after unplugging headphones:

  1. Open Terminal (Ctrl + Alt + T).
  2. Restart Ubuntu’s audio services cleanly in one line (on Ubuntu 22.10+ / 24.04 using PipeWire):
    systemctl --user restart pipewire pipewire-pulse wireplumber
  3. On older Ubuntu 20.04 / 22.04 using PulseAudio directly, run:
    pulseaudio -k && pulseaudio --start

Wait two seconds — your speaker output device refreshes cleanly in the top-right tray and laptop speakers immediately play sound again.

Fix 3: Unmute Hidden ALSA ‘Speaker’ Channels With alsamixer

On laptops whose physical 3.5mm jack sensor occasionally sticks slightly after unplugging, Ubuntu leaves the internal speaker hardware switch muted even while volume says 100%. Run alsamixer in Terminal, press F6 to highlight your main sound card if needed, use the Right Arrow key to reach Speaker (or Headphone), and press the letter M if MM (Muted) appears underneath it until it switches back to 00, then press Esc to exit.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.