m365 · Exchange Online

Microsoft 365 uses 34 prefixes for Exchange Online.

Short answer

Exchange Online: mail, calendar and Outlook connections.

IPv4 prefixes16
IPv6 prefixes18
Regions in the first 100—
Fetched by peekip6 Nov 2026

Prefixes

PrefixRegion / locationService
104.47.0.0/17—Exchange Online
13.107.128.0/22—Exchange Online
13.107.18.10/31—Exchange Online
13.107.6.152/31—Exchange Online
131.253.33.215/32—Exchange Online
132.245.0.0/16—Exchange Online
150.171.32.0/22—Exchange Online
204.79.197.215/32—Exchange Online
23.103.160.0/20—Exchange Online
40.104.0.0/15—Exchange Online
40.107.0.0/16—Exchange Online
40.92.0.0/15—Exchange Online
40.96.0.0/13—Exchange Online
52.100.0.0/14—Exchange Online
52.238.78.88/32—Exchange Online
52.96.0.0/14—Exchange Online
2603:1006::/40—Exchange Online
2603:1016::/36—Exchange Online
2603:1026::/36—Exchange Online
2603:1036::/36—Exchange Online
2603:1046::/36—Exchange Online
2603:1056::/36—Exchange Online
2620:1ec:4::152/128—Exchange Online
2620:1ec:4::153/128—Exchange Online
2620:1ec:8f0::/46—Exchange Online
2620:1ec:900::/46—Exchange Online
2620:1ec:a92::152/128—Exchange Online
2620:1ec:a92::153/128—Exchange Online
2620:1ec:c::10/128—Exchange Online
2620:1ec:c::11/128—Exchange Online
2620:1ec:d::10/128—Exchange Online
2620:1ec:d::11/128—Exchange Online
2a01:111:f400::/48—Exchange Online
2a01:111:f403::/48—Exchange Online
Showing 34 of 34 prefixes All prefixes (CSV)

What changed

No prefixes added or removed since we started tracking this list. Changes appear here the day after the provider publishes them.

Allowlist formats

nginx (first 5 prefixes)
allow 104.47.0.0/17;
allow 13.107.128.0/22;
allow 13.107.18.10/31;
allow 13.107.6.152/31;
allow 131.253.33.215/32;
deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 104.47.0.0/17 -j ACCEPT
iptables -A INPUT -s 13.107.128.0/22 -j ACCEPT
iptables -A INPUT -s 13.107.18.10/31 -j ACCEPT
iptables -A INPUT -s 13.107.6.152/31 -j ACCEPT
iptables -A INPUT -s 131.253.33.215/32 -j ACCEPT

Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.

Sources

  1. Microsoft 365: published IP ranges · checked 6 Nov 2026
  2. Microsoft 365 documentation