Protect Your Privacy with the Best iOS VPN (for iPhone and iPad)


Your codespace will open once ready.

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Private Internet Access – PIA VPN for iOS



This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Switch branches/tags
Branches Tags
Could not load branches
Nothing to show
Could not load tags
Nothing to show

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Cancel Create

  • Local
  • Codespaces

Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats


Failed to load latest commit information.

Latest commit message
Commit time

Private Internet Access

Private Internet Access is the world’s leading consumer VPN service. At Private Internet Access we believe in unfettered access for all, and as a firm supporter of the open source ecosystem we have made the decision to open source our VPN clients. For more information about the PIA service, please visit our website or check out the Wiki.


With the Private Internet Access VPN app for iOS, you can access our network of VPN servers across the world from your iPhone, iPad or iPod touch (64-bit only). Choose among many available countries and connect to them easily. Features include kill switch, multiple VPN protocols, DNS/IPv6 leak protection and Safari Content Blocker for ad-blocking while browsing with Safari.

Getting started

The PIA VPN app features:

  • Plenty of countries to connect to (28 as of today)
  • IKEv2, OpenVPN and WireGuard VPN Protocols
  • Kill switch
  • Multiple VPN protocols
  • Fine-grained VPN settings
  • DNS leak protection
  • IPv6 leak protection
  • Safari Content Blocker
  • Dark theme
  • Hotspot Helper



  • iOS 11.0+ / macOS 10.11+
  • Xcode 9+ (Swift 4)
  • Git (preinstalled with Xcode Command Line Tools)
  • Ruby (preinstalled with macOS)
  • SwiftGen
  • Go

It’s highly recommended to use the Git and Ruby packages provided by Homebrew.

Hotspot Helper API

We use a special entitlement to participate in the process of joining Wi-Fi/hotspot networks (

You need to request this entitlement to Apple or remove the call to configureHotspotHelper() in AppDelegate.swift and adapt the entitlements file to your needs.


By contributing to this project you are agreeing to the terms stated in the Contributor License Agreement (CLA) here.

For more details please see CONTRIBUTING.

Issues and Pull Requests should use these templates: ISSUE and PULL REQUEST.


  • Jose Blaya – ueshiba
  • Davide De Rosa
  • Amir Malik (before 2016)


This project is licensed under the MIT (Expat) license, which can be found here.


  • SwiftyBeaver – © 2015 Sebastian Kreutzberger
  • Alamofire – © 2014-2018 Alamofire Software Foundation (
  • iRate – © 2011 Charcoal Design
  • TPKeyboardAvoiding – © 2013 Michael Tyson
  • SideMenu – © 2015 Jonathan Kent [email protected]
  • FXPageControl – © 2010 Charcoal Design
  • MBProgressHUD – © 2009-2016 Matej Bukovinski
  • GradientProgressBar – Felix Mau (me(@)
  • Popover – © 2020 corin8823 [email protected]
  • TunnelKit – © 2018 – Present Davide de Rosa ( – TunnelKit is not MIT software and remains under the terms of the GPL license (

© 2002-2018 OpenVPN Inc. – OpenVPN is a registered trademark of OpenVPN Inc.


Private Internet Access – PIA VPN for iOS

Protect Your Privacy with the Best iOS VPN (for iPhone and iPad)

Privacy is our policy. Secure your data and bypass restrictions on any network with PIA VPN for iOS.

  • Get military-grade encryption on all your apps — not just Safari
  • Enjoy buffer-free streaming in UHD
  • Unblock content on restricted networks

*Requires iOS 12.1+

Best VPN for iphone

Protection For All Your Devices

Why You Need a VPN for iOS

Apple’s Private Relay is a good step toward privacy on iOS, but it doesn’t work on all websites or networks. It also only works with Safari, leaving your data exposed on any other app. Only a VPN fully protects you.

Select Your Virtual Location

Browse without borders when you connect to one of our servers in 84 countries worldwide. Our VPN is fully compatible with any streaming service, so you can take your favorite shows with you wherever you travel.

Select Your Virtual Location

Open Source Transparency

Open Source Transparency

Transparency is a core value at PIA. Our VPN apps are 100% open-source and have publicly available source code. Anyone with the skill and time can verify or audit our VPN security. We also use the best open-source protocols, OpenVPN and WireGuard®.

How to Set Up PIA VPN on Your iPhone or iPad

Sign Up

Choose a PIA subscription plan

Download our iOS VPN

Install the app on your iPhone or iPad

Launch PIA

Connect to a server and start browsing

Download pia vpn for your iphone

Download PIA VPN for iOS

Installing PIA VPN on your iPhone or iPad is easy. Search PIA VPN in the App Store and tap to download.

PIA works with: iOS 12.1 and newer


PIA’s Top iOS VPN Features

PIA gives you all the features you need to protect your privacy, security, and freedom online. Upgrade your protection with our VPN for iPhone and iPad.

No Logs Policy

Advanced Split Tunneling

Secure VPN Protocols

No Logs Policy

You may not know what browsing data Apple is collecting on you, but you won’t have to worry about PIA tracking your online activities. Our No Logs policy guarantees we’ll never monitor or collect your VPN usage data — no matter what.

Secure VPN Protocols

Choose your VPN protocol based on your activity. OpenVPN is one of the most secure protocols available for protecting sensitive data online. WireGuard® is incredibly fast and lightweight, making it perfect for streaming apps like Apple TV+.

Advanced Split Tunneling

Bypass the VPN to get better speeds for streaming without losing your protection. PIA’s advanced split tunneling lets you specify which apps and IP addresses you want to bypass the VPN. Use apps with and without the VPN simultaneously.

NextGen Servers

Watching Ted Lasso on Apple TV+ shouldn’t be a hurry up and wait situation. Our NextGen server network is equipped with 10 Gbps network cards, which means you get seriously fast speeds for buffer-free viewing. Enjoy seamless UHD streaming 24/7!

Unlimited Bandwidth

Nothing kills an epic YouTube marathon like running out of data. PIA will never cap your data or your bandwidth, which means everyone in your family can binge-watch their favorite channels simultaneously. We’ll never try to stop you.

Prevent sites and apps from downloading junk to your device. PIA MACE blocks ads, trackers, and malware at DNS level to stop harmful software before it even reaches your device. MACE even helps save your iPhone battery power and mobile data.

NextGen Servers

Unlimited Bandwidth


Complete Protection on All Devices

PIA isn’t only for iOS — we also have native VPN apps for macOS, Windows, Android, and Linux. PIA even works on Smart TVs, gaming consoles, routers, and more. Each subscription includes unlimited simultaneous device connections.

Millions Of Users Love Private Internet Access

<"tweetsBtnText":"","userBtnText":"","influencersBtnText":"","techReviewsBtnText":"">TRUSTED AND RECOMMENDED BY:

Choose The Plan That’s Right For You

All Plans Are Covered By Our 30-Day Money-Back Guarantee

Back to School Deal: 85% OFF

3 Years + 3 Months FREE

455.91€ 70€ per 3 years

140.28€ 37.19€ per year

All amounts are shown in EUR, and any discounts reflect a reduction based on the current monthly service pricing at 11.69 € per month.


3 Years + 3 Months FREE

455.91€ 70€ per 3 years

140.28€ 37.19€ per year

All amounts are shown in EUR, and any discounts reflect a reduction based on the current monthly service pricing at 11.69 € per month.

Why Choose PIA VPN for iOS?

VPN Expertise

We have 10+ years of VPN experience and millions of happy customers worldwide.

100% Transparency

PIA’s apps are 100% open-source, and our source code is always available to the public.

24/7 Customer Support

Customer Support is available 24/7 via live chat to answer all of your questions.


Is PIA VPN compatible with all iOS devices?

Our VPN app for iOS is compatible with version 12.1 and higher, including iPads and iPhones. We also support all your Apple tech, with a dedicated Mac VPN app, and Smart DNS compatibility with Apple TV.

Our VPN isn’t just for Apple devices though; PIA also works with Windows, Android, Linux, Chromebook, gaming consoles, Smart TVs, and routers.

Will a VPN drain my iOS device battery?

To some extent, yes. Using a VPN will drain your battery more quickly, but certain PIA features can help reduce battery drain significantly. Enable WireGuard® protocol and PIA MACE in your app settings to combat battery drain and potentially save mobile data.

WireGuard® is extremely lightweight, meaning it requires fewer system resources. MACE blocks bulky ads, harmful malware, and trackers that weigh your system down, deplete your battery power, and take up valuable data. Less pausing to charge your iOS device means more time for streaming and scrolling.

Does PIA VPN track what I do online?

No, PIA has a strict No Logs policy meaning we’ll never track your online activity. When you connect to our server network, you have private, unlimited use of the VPN. PIA won’t know what you’re doing while connected to our servers and neither will anyone else.

Our server network is privately owned and operated, which means you don’t have to worry about third-party interference. All of our servers are RAM-only, so all your session data is wiped each time the server reboots.

Does PIA VPN offer a free trial?

Yes, we offer a 7-day free trial for iOS and Android. All our subscription plans come with a 30-day money-back guarantee and unlimited simultaneous connections, so you can try PIA on any compatible device.

If for any reason you decide PIA isn’t a good fit for your needs, we’ll give you a full refund anytime within the guarantee window.

Does my iPhone have a built-in VPN?

It depends on how you define VPN. Your iOS device has Private Relay, which is similar to a VPN, but it only works in Safari. It also lacks important security features such as a Kill Switch, split tunneling, and obfuscation. It also means trusting Apple and its partners with your data.

To get device-wide protection with no small print and no data logs, simply install our native iOS VPN app. It’s easy to use, with one-click activation for most features, and fast access to VPN servers in 84 countries worldwide.

Can I use a free iOS VPN?

You can, but free VPNs aren’t a good idea. Some free VPNs limit server locations or security features until you upgrade. Worse yet, many free VPNs sell your data for profit, or even contain malware.

By contrast, PIA gives you unrestricted access to our global server network and advanced security features. We’ll never collect your usage data or track your online activity. Our open-source VPN lets you inspect our app source code whenever you like, proving that we have nothing to hide. We also give you a 30-day money-back guarantee on every subscription.

Can I use PIA VPN on other devices at the same time?

Yes, you can install and use PIA on unlimited devices simultaneously per license. Simply grab your VPN downloads, connect your iPhone and iPad, and use them at the same time if you want to. We have dedicated apps for macOS, Windows, Linux, and Android. You can even use PIA on your router to protect your entire in-home network and all the devices connected to it.