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

Sonos + UniFi: Best Practices & Recommended Settings

  • April 8, 2026
  • 106 replies
  • 9461 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

The Ninth
Collaborator I
April 26, 2026

For what it’s worth, everything in UniFi looks like a normal disconnect of the Sonos Amp.

Activity Log
Sonos Wohnzimmer disconnected from Default on Switch Arbeitszimmer Port 9. 
Time Connected: 25m 4s. 
Data Used: 763.86 KB (up) / 1.41 MB (down).
Apr 26 at 18:09

There are also no anomalies reported by UniFi:

24h AI Anomaly Score
Cables & Power Excellent
Network Loops & Storm Control Excellent
Broadcasts & Discovery Excellent
Traffic Path Health Excellent

Airgetlam
April 26, 2026

What does Sonos Support say, when you’ve called in to discuss it?

Bruce
buzz
Grand Maestro
April 26, 2026

I’m suspecting a hardware issue with AMP. SONOS support working with diagnostics can help prove or disprove this. Submit a diagnostic when AMP is working, again immediately after you discover it is offline, then again when it comes back online. Avoid Factory Reset unless asked by support because this deletes diagnostic data.

The Ninth
Collaborator I
April 27, 2026

Thanks for the suggestion, I contacted Sonos support today.

They also believe the Sonos Amp is defective. One key observation is that when the issue occurs, the device does not respond to anything at all, not even the buttons on the front or the connect button on the back. I hadn’t checked that before, but it seems quite conclusive.

Sonos will send me a replacement.

AjTrek1
May 3, 2026

First of all great tutorial by ​@Atom P . Kudos and well done!

I understand that UniFi modules look “cute” and “high Tech” in the ceiling of one’s home. However, to have to publish a Novella 😊 for all the tweaks required to work with Sonos; I can’t see myself considering UniFi under any circumstances.

Together Everyone Achieves More = T.E.A.M.
Stanley_4
Grand Maestro
May 3, 2026

Ubiquity gear can be a real pain, I looked at and passed on using their router and switching devices but find their APs excellent and easy to use. If you have a router, not a router plus WiFi device they can be an excellent choice. Easy to expand or upgrade too.

Contributor I
June 7, 2026

Sonos recommends setting switch priorities as:

  • Core/main: 4096
  • Secondary: 8192
  • Tertiary: 12288

I am curious to know why they start with 4096 instead of 0 (zero/zed).  With Unifi, the preferred setup seems to be the following to help with the topography map:

  • Core/main: 0
  • Secondary: 4096
  • Tertiary: 8192

Is there a stability or performance penalty by starting with 0 instead?

Thanks.

Lyricist I
July 21, 2026

Thank you for creating this guide.  It seems for years Sonos has downplayed this entire topic.  As a dealer who installs Sonos daily, I can only state that network storm issues continue and are getting worse as we see new network equipment that does not support STP or the advent of better MESH systems for those households that cannot or do not want to invest in advance managed Wi-Fi systems.  It really is a joke, and this is coming from someone who actually likes Sonos and recommends it regularly.  A client should not have to hire a network technician nor should advanced settings have to be made for a product like yours to function.  When is the last time anyone has had to make advanced network settings to get an AppleTV or Amazon Alexa Product to work?  Enough said!

106rallye
July 21, 2026

Am I understanding correctly that the whole STP/RSTP/network storm problem can be resolved by turning off Sonosnet, a feature Sonos recently introduced?

Smilja
July 21, 2026

Am I understanding correctly that the whole STP/RSTP/network storm problem can be resolved by turning off Sonosnet, a feature Sonos recently introduced?

 

Yes, that is why this feature has been introduced in the first place.

»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)