Skip to main content
Atom P
Sonos Staff
April 8, 2026
Tutorial

Sonos + UniFi: Best Practices & Recommended Settings

  • April 8, 2026
  • 106 replies
  • 9460 views

Hello, everyone! I want to share some insights regarding Sonos setups in Ubiquiti UniFi environments. We see common questions and suggestions around how best to use Sonos with UniFi networks, and I wanted to give you the inside scoop on how we approach this troubleshooting. Unifi already has a solid guide on Sonos that we recommend checking out here, but we wanted to expand upon this.

We know that UniFi gear is incredibly popular among our power users (and many of us internally!). While Sonos is designed to work on standard home networks out of the box, managed networks like UniFi offer a level of control that can sometimes inadvertently block the communication Sonos needs to keep your system in sync.

To be clear, home networking is complex and every environment is unique. However, based on our internal documentation and successful troubleshooting sessions, here are the configurations we recommend to keep your music playing without interruption.

 

Disclaimer. This article is up to date through April 2026. Some settings might have changed since we first made this article.

June 2026 Update: The Sonos app now gives users the ability to disable SonosNet across their entire Sonos system. Take a look at ​@Liz P.’s update post for more info!

 

 

 

The "Golden Rule": Wired vs. Wireless

 

One of the most common causes of network storms/loops is a mixed environment where some Sonos players are wired and others are wireless, combined with conflicting Spanning Tree Protocol (STP) settings.

For the most stability, we generally recommend one of two approaches:

  • Fully Wireless: All Sonos products connect directly to your UniFi WiFi. 
    • This is often the easiest setup for modern Sonos products like Era 100/300, Move, and Roam.
  • Fully Wired: All capable Sonos products are Ethernet-wired.
    • WiFi is manually disabled on each player via the Sonos app.

If you are using a "Mixed" setup (some wired, some wireless using SonosNet), you must configure your STP settings correctly on your switches to avoid packet storms. (See the "Spanning Tree" section below).

 

Troubleshooting: "Missing Rooms" or Grouping Issues

 

If you are seeing speakers disappear from the Sonos app, or if you group rooms but audio only plays from one speaker, check that Multicast traffic is not being blocked or filtered and IGMP snooping is enabled.

Here are the settings we recommend checking in your UniFi Network Controller. Note: Menus may vary slightly depending on your Controller version.

  1. Check the basics: Ensure the controller (your phone) and the system are on the same subnet/VLAN.
  2. Verify the "Disable" list: Go back to the WiFi settings above and triple-check that Multicast and Broadcast Control and Multicast Enhancement are turned off. 
  3. Re-Provision: After changing these settings, allow a minute for the Access Points to re-provision. It is often helpful to reboot the Sonos players after the network settings have been applied to clear any stale connection states.

Unifi WiFi & Network Settings for Sonos

 

TL;DR: Disable Multicast Enhancement, Broadcast Control, and Client Isolation

Go to Settings > WiFi and select your WiFi name. Change Advanced Configuration to Manual to verify the following:

  • Hotspot 2.0: Set to Off. 
  • Multicast to Unicast (previously called “Multicast Enhancement”): Disabled (unchecked). Note: While this sounds like something you’d want on, it converts multicast to unicast, which can cause issues with Sonos grouping.
  • Multicast and Broadcast Control: Disabled (unchecked). This blocks multicast traffic for non-listed devices and is a common culprit for missing players.
  • Client Device Isolation: Disabled (unchecked). This prevents devices on the same AP from talking to each other.
  • Proxy ARP: Disabled (unchecked).

Global Network Settings

 

TL;DR: mDNS: Enabled, IGMP Snooping: Enabled

Go to Settings > Networks and select the network Sonos uses:

  • IGMP Snooping: Enabled. This helps reduce unnecessary multicast traffic while ensuring the right packets get to your speakers.
  • mDNS: Enabled. Technically speaking, this helps with device discovery. However, if you are running a complex setup with separate Sonos systems on different VLANs, mDNS might actually need to be disabled—but for 99% of home users, keep this ON.

Spanning Tree Protocol (STP) Settings

 

If you have any Sonos devices wired to your network (without disabling WiFi), you must configure STP on your UniFi switches to prevent network loops. Sonos uses STP (802.1d) to figure out the best path for data.

 

Global Switch Settings

 

TL;DR: STP switch priority 4096/8192/12288.

  • Spanning Tree: Select STP (not RSTP).
  • Priority: Set your core/main switch to 4096.
    • If you have secondary switches daisy-chained, set them to 8192.
    • Tertiary switches should be set to 12288.

Port Specific Settings: For the specific ports where a Sonos device is plugged in:

  • STP: Enabled
  • Edge Port: Auto or Enabled
  • BPDU Guard: Disabled
  • Root Guard: Disabled
  • Path Cost: 10
  • Port Priority: 128

Final Thoughts

 

I hope this helps clarify the best way to harmonize Sonos with UniFi gear. We know some of you have sophisticated home networks, and we want to ensure our products play nicely with them.

I'm happy to answer questions about these specific settings to the best of my ability. If you have a specific topology that defies these rules, let us know in the comments—we love seeing how you all set things up!

106 replies

Lyricist III
April 13, 2026

My switch settings look different. Can someone tell me if these are correct?

Your screenshot shows the port settings, not switch settings. Review the STP section in the Tutorial for Global switch settings if you have 1 or more Sonos devices connected to switch(es), and ensure STP priority is set correctly.

Ok. Do the port settings look correct? Screen of switch settings below.

 

Smilja
April 13, 2026

​@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

»And the world is like an apple whirling silently in space, Like the circles that you find in the windmills of your mind.« (›Windmills Of Your Mind‹ [1967]. Music by Michel Legrand ; English lyrics written by Alan & Marilyn Bergman)
Lyricist III
April 13, 2026

​@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

Thanks, I’m having trouble finding some of the settings. I’m def not a network expert, but I’ve gone through (I think) every menu in the Unifi pages and can’t find these. Maybe they’re called something else or are included in others?
 

 

Local Superstar
April 14, 2026

 

​@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

Thanks, I’m having trouble finding some of the settings. I’m def not a network expert, but I’ve gone through (I think) every menu in the Unifi pages and can’t find these. Maybe they’re called something else or are included in others?
 

 

Lets rewind a little ​@Supercat82 

You only need to mess with STP if you have a mixed (wireless & wired) environment, re-read the ‘golden rule’ at the top. The link that was posted above with regard to STP, is generic, for enterprise switches. Not all settings are configurable on all vendors switches.

My advise if you are not a networking expert is not to mess with STP in a mixed environment, just use wireless, as per golden rule in first post.

Smilja
April 14, 2026

​@Supercat82, The red-rimmed settings are the Individual Port settings. You have to look at the Global Switch settings.

»And the world is like an apple whirling silently in space, Like the circles that you find in the windmills of your mind.« (›Windmills Of Your Mind‹ [1967]. Music by Michel Legrand ; English lyrics written by Alan & Marilyn Bergman)
Lyricist III
April 14, 2026

 

​@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

Thanks, I’m having trouble finding some of the settings. I’m def not a network expert, but I’ve gone through (I think) every menu in the Unifi pages and can’t find these. Maybe they’re called something else or are included in others?
 

 

Lets rewind a little ​@Supercat82 

You only need to mess with STP if you have a mixed (wireless & wired) environment, re-read the ‘golden rule’ at the top. The link that was posted above with regard to STP, is generic, for enterprise switches. Not all settings are configurable on all vendors switches.

My advise if you are not a networking expert is not to mess with STP in a mixed environment, just use wireless, as per golden rule in first post.

Ok. Will work on switching to all WiFi. Was holding on to “wired is always best when possible”, but getting the config right is prob not worth it. I’ll update here after I switch to WiFi if that doesn’t fix my problem. 

Lyricist III
April 15, 2026

All WiFi seems to have resolved my problem. 

controlav
Lead Maestro
April 16, 2026

 

Lets rewind a little ​@Supercat82 

You only need to mess with STP if you have a mixed (wireless & wired) environment, re-read the ‘golden rule’ at the top. The link that was posted above with regard to STP, is generic, for enterprise switches. Not all settings are configurable on all vendors switches.

Not even. All five of my Sonos systems are mixed wireless & wired on Ubiquiti, and I have never needed to mess with STP. So the docs from both Uni and now Sonos to go all one way or the other are just wrong, as well as impractical for so many.

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.

Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.
Local Superstar
April 16, 2026

All five of my Sonos systems are mixed wireless & wired on Ubiquiti, and I have never needed to mess with STP.

Curious, what UniFi switch(es) are you using? Maybe STP is disabled.

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.

Sonos have fixed the problem, as modern, post-Era products do not use STP.

Stanley_4
Grand Maestro
April 16, 2026

 

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.

Sonos have fixed the problem, as modern, post-Era products do not use STP.

Is this still correct if the Ethernet USB connector is used? That would be good, seeing it gone everywhere would be better.

 

https://www.kernel.org/doc/Documentation/networking/bridge.rst

 

STP is a Layer 2 protocol that operates at the Data Link Layer of the OSI

model. It was originally developed as IEEE 802.1D and has since evolved into

multiple versions, including Rapid Spanning Tree Protocol (RSTP) and

`Multiple Spanning Tree Protocol (MSTP)

<https://lore.kernel.org/netdev/20220316150857.2442916-1-tobias@waldekranz.com/>`_.

The 802.1D-2004 removed the original Spanning Tree Protocol, instead

incorporating the Rapid Spanning Tree Protocol (RSTP). By 2014, all the

functionality defined by IEEE 802.1D has been incorporated into either

IEEE 802.1Q (Bridges and Bridged Networks) or IEEE 802.1AC (MAC Service

Definition). 802.1D has been officially withdrawn in 2022.