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

Sonos + UniFi: Best Practices & Recommended Settings

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

Contributor II
August 13, 2026

Some Unifi controller update enabled Wireless Fast Roaming (802.11r).  Sonos devices don’t support this and it causes them to fall off the network if you have multiple access points.  This needs to be disabled on the wifi network sonos is connectings to.

Local Superstar
August 14, 2026

Some Unifi controller update enabled Wireless Fast Roaming (802.11r).  Sonos devices don’t support this and it causes them to fall off the network if you have multiple access points.  This needs to be disabled on the wifi network sonos is connectings to.

Interesting. Is there specific Sonos devices that ‘fall off the network’? I’m only using WPA3 and have 802.11r, 802.11v, Band Steering & BSS Transition enabled, and haven't experienced this.

Maybe issue is if you have legacy Sonos devices and/or WPA2/WPA3 mixed mode? Mixed APs (different Unifi devices have different chipsets, Qualcomm vs MediaTek)?

Contributor I
August 21, 2026

Just wanted to say there is a LOT of misinformation in the Sonos staff guide. 

  1. You CAN run a mix of wired and wireless with Sonos on a Unifi network
  2. You CAN run Sonos in a IOT vlan with controller on a primary lan
  3. You CAN run RSTP mode

Ignore the guide. What you MUST do is the following

  • Gateway mDNS Proxy set to Audo
  • IGMP Snooping must be on and apply it to your Sonos network and your controller network
  • Most importantly as of recent versions of Unifi, the golden ticket, turn on “Auto Unknown Traffic Handling”. This is what makes everything work
  • Also...it males it easier if your IOT network and Main Network are on the same Internal Zone. Less rules to worry about
  • I have enabled Sonos TCP/UDP firewall rules between vlans just to be safe even though its on the same internal zone
Local Superstar
August 21, 2026

Just wanted to say there is a LOT of misinformation in the Sonos staff guide. 

  1. You CAN run a mix of wired and wireless with Sonos on a Unifi network
  2. You CAN run Sonos in a IOT vlan with controller on a primary lan
  3. You CAN run RSTP mode

Just because you ‘CAN’, doesn't necessarily mean its Best Practice. Having controller and devices on separate VLAN will require additional dependency on the mDNS Proxy, that may change (break) with network equipment firmware revisions. Different users will have different use cases, eg AirPlay.

If you CAN, then no need follow Best Practice, until it breaks.

controlav
Lead Maestro
August 21, 2026

Just wanted to say there is a LOT of misinformation in the Sonos staff guide. 

  1. You CAN run a mix of wired and wireless with Sonos on a Unifi network

I agree with this one: the “recommendation” to be all wired or wireless is nonsense, and impractical or impossible for many. Sadly it is also what the official guidance from Uni is, which is even more inexcusable than Sonos saying it.

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

Just wanted to say there is a LOT of misinformation in the Sonos staff guide. 

  1. You CAN run a mix of wired and wireless with Sonos on a Unifi network

I agree with this one: the “recommendation” to be all wired or wireless is nonsense, and impractical or impossible for many.

Maybe “impractical or impossible for many” to correctly configure STP, hence the recommendation(s), albeit before the disable SonosNet wizard in App?

beto1969
Lyricist I
August 21, 2026

Hey all!  I’m new to Ubiquiti and networking in general.  I’ve been using CoPilot and Claude, for the past two days, to help me set everything up (VLANs, SSIDs, Port Profiles, Network Lists, etc.)

 

Everything seems to be working fine. Had some hiccups here and there, but I’m now able to use my Sonos app, while on my Trusted VLAN (LAN and Wifi), to all my Sonos devices on my Sonos VLAN (both wired and Wifi -- not using SonosNet)

 

Hopefully I got everything here, but this is my setup...

Network

  • Gateway mDNS Proxy > Custom > Trusted and Sonos VLANs selected
  • IGMP Snooping >  Trusted and Sonos VLANs selected
  • Network Lists > I added ports to TCP and UDP as outlined here: Configure your firewall to work with Sonos | Sonos
    • I didn’t any Firewall Rules for the Domain Exceptions
  • Port Profiles for all my VLANs
    • Trusted VLAN > Tagged VLANs >Allowed All > Port Mode > Edge
    • Sonos VLAN > Tagged VLANs > Blocked > Port Mode > Edge
    • On my switch, I assigned my Sonos Port Profile to three ports for my: Sonos Arc, Sonos Sub, Sonos Amp: 

Firewall Rules

  • Simple rules
    • I have Trusted VLANs Allowed to Sonos VLAN
    • Sonos VLAN Blocked to All other VLANs
    • All VLANs Allowed to Internet
  • Advanced Rules I have these three “Before Predefined”
    • Third Rule is using TCP/UDP ports from Network Lists

 

SSIDs

  • Trusted SSID: Nothing Special here, all defaults with all Radio Frequencies selected
  • Sonos SSID
    • Radio Band: 2.4 GHz only
    • IoT Optimization: All Un-selected
    • Security Protocol: WPA2 only
    • PMF: Disabled
    • everything else is defaulted

Hope this helps..  so far so good on my setup.  I’m going to have a friend that’s a network engineer come check out my setup, just to make sure it all looks right and that I’m not opening up any of my network to the outside world.

 

Stanley_4
Grand Maestro
August 21, 2026

Sonos can also use the 5 gHz band, you might want to enable that. Most of mine use it instead of the 2.4 band.

beto1969
Lyricist I
August 21, 2026

Sonos can also use the 5 gHz band, you might want to enable that. Most of mine use it instead of the 2.4 band.

Enabled 5 gHz -- everything working great! Thank you!

controlav
Lead Maestro
August 21, 2026

Just wanted to say there is a LOT of misinformation in the Sonos staff guide. 

  1. You CAN run a mix of wired and wireless with Sonos on a Unifi network

I agree with this one: the “recommendation” to be all wired or wireless is nonsense, and impractical or impossible for many.

Maybe “impractical or impossible for many” to correctly configure STP, hence the recommendation(s), albeit before the disable SonosNet wizard in App?

The difference is that very few might be affected by the STP issue (you need a managed switch somewhere on the network), but many want to mix wired with wireless.

Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.