SharePoint Online URLs and IP Addresses

IT administrators might want to control communication to specific SharePoint Online sites through an on-premises firewall. To do this, you’ll need to know the IP address ranges used by SharePoint Online.

Outgoing IP Address Ranges

Ports in your on-premises firewall might need to be opened to accept network traffic originating from Microsoft Datacenter IP addresses. SharePoint Online accepts inbound connections through the browser using the HTTP or HTTPS protocols over ports 80 and 443 and makes outbound connections on port 25 (SMTP). The IP address ranges used by SharePoint Online are listed below. Note that because Project Online is a SharePoint Online service, these IP address ranges also apply to Project Online:

Note    If you see issues after successfully setting up firewall ports, please check for updates to the IP values in this article.

IP Address Ranges

URLs

42.159.34.0/27

*.sharepoint.com

42.159.38.0/23

*.sharepointonline.com

42.159.162.0/27

42.159.166.0/23

65.52.45.0/24

65.55.22.32/27

70.37.151.64/27

94.245.113.160/27

104.146.0.0/15

111.221.17.160/27

111.221.20.128/25

111.221.22.32/27

111.221.22.192/27

111.221.64.160/27

111.221.67.0/25

134.170.200.0/21

134.170.208.0/21

134.177.0.0/16

157.55.43.32/27

157.55.46.128/27

157.55.56.0/27

157.55.62.96/27

157.55.62.128/27

157.55.103.0/27

157.55.144.64/26

157.55.145.192/27

157.55.147.0/27

157.55.151.192/27

157.55.152.128/25

157.55.153.0/27

157.55.153.64/26

157.55.154.64/27

157.55.225.160/27

157.55.225.224/27

157.55.227.128/27

157.55.229.0/25

157.55.229.160/27

157.55.231.32/27

157.55.232.0/27

157.55.235.64/27

157.55.238.128/27

157.56.24.128/27

157.56.48.0/27

157.56.80.128/27

157.56.81.192/26

157.56.113.0/27

157.56.132.128/26

157.56.150.32/27

191.232.0.0/23

191.234.8.0/21

191.234.76.0/23

191.234.128.0/21

191.234.144.0/20

191.234.148.0/22

191.234.152.0/23

191.234.192.0/19

191.235.0.0/20

207.46.203.128/27

213.199.179.0/27

2a01:111:f402::/48

2801:80:1d0:1400::/54

Last updated

What changed?

May 24, 2013

All ranges updated. Added IPv6 addresses.

Sept. 05, 2013

All ranges updated.

Oct. 03, 2013

Correction! Extra digits removed from ranges.

April 22, 2014

All ranges updated.

July 24, 2014

IP addresses sorted into numerical order.

Oct. 9, 2014

Added four new ranges.

Oct. 28, 2014

Replaced all IP Addresses, moved change log to the page: Change notification for Office 365 URLs and IP address ranges

For information about the IP addresses used by Office 365, see Office 365 URLs and IP address ranges.

Top of Page

Applies To: SharePoint Online, SharePoint Online Website



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language