The fastest way to connect your iPhone to a PC
Plug your iPhone into your computer using the USB cable that came with it, or any certified Lightning or USB-C cable. Your iPhone will ask you to trust this computer — tap Trust on your phone screen. That's the connection itself. What happens next depends on what you want to do: transfer photos, back up your data, sync music, or just charge the phone while using it.
On Windows, your phone will appear in File Explorer as a device. On Mac, it opens in the Finder sidebar. Both systems recognize your iPhone immediately, though the first time you connect to a new computer, you'll see that trust prompt. Dismiss it once and the computer remembers it for future connections.
Key Takeaways
- Your iPhone connects to any PC or Mac with a Lightning or USB-C cable, and you must tap Trust on the phone the first time you connect to that computer.
- Windows shows your iPhone in File Explorer; Mac shows it in Finder, and both let you browse and copy photos and videos directly.
- To back up your iPhone data, use iCloud on the phone itself, or connect to iTunes on Windows or Finder on Mac and click Back Up.
- If your iPhone doesn't appear after plugging in, restart both the phone and computer, then try a different USB port or cable.
- Wireless connection via Wi-Fi is possible on Mac but requires the phone and computer to be on the same network and previously connected with a cable first.
Connecting on Windows with a USB cable
Plug the Lightning or USB-C end into your iPhone and the USB end into any available port on your Windows computer. Wait a few seconds for Windows to recognize the device. Your iPhone screen will show a prompt asking whether to trust this computer — tap Trust, then enter your iPhone passcode if prompted. Windows will not ask for a password; the trust prompt on your phone is the only security step.
Open File Explorer (the folder icon on your taskbar). Your iPhone appears in the left sidebar under "This PC" or in the main window as a device. Click it to see your phone's storage. You can now copy photos, videos, and files to your computer by dragging them into a folder, or by right-clicking and selecting Copy. Do not unplug the phone while files are transferring — wait for the copy operation to finish.
If you want to back up your entire iPhone through Windows, you need iTunes. Download iTunes from the Microsoft Store or Apple's website. Connect your phone, open iTunes, click the iPhone icon at the top, and select Back Up Now. This creates a full backup of your settings, messages, and app data on your computer.
Connecting on Mac with a USB cable
Plug the Lightning or USB-C cable into your iPhone and the USB end into your Mac. Your iPhone will display a trust prompt — tap Trust and enter your passcode if asked. Your Mac does not require any additional password. The iPhone appears in the Finder sidebar under "Locations" within a few seconds.
Click your iPhone's name in the Finder sidebar to open it. You'll see folders for Photos, Videos, and other content. Drag photos or videos to your Mac's desktop or a folder to copy them. You can also use the Finder to browse your phone's file storage if you have apps that save documents there. Close the Finder window when you're done — your phone stays connected until you unplug it.
To back up your iPhone on Mac, open Finder, click your iPhone in the sidebar, and select the General tab. Under "Backups," click Back Up Now. Your Mac creates a full backup that includes all your settings, messages, and app data. This backup is stored on your Mac's hard drive, separate from iCloud.
What to do if your iPhone doesn't appear
If you plug in your iPhone and it doesn't show up in File Explorer or Finder, the cable or port may be the problem. Try a different USB port on your computer — avoid ports on the back of a desktop tower if you're using a front-panel port, or vice versa. If that doesn't work, try a different cable. Original Apple cables and certified third-party Lightning or USB-C cables work; cheap or damaged cables often fail silently.
Restart both your iPhone and your computer. On iPhone, hold the power button and slide to power off, wait 10 seconds, then turn it back on. On Windows, click the Start menu and select Restart. On Mac, click the Apple menu and select Restart. After both devices restart, plug in the cable again and wait 15 seconds before checking File Explorer or Finder.
If your iPhone still doesn't appear, check that your phone's screen is unlocked. Some computers won't recognize a locked iPhone. Unlock it and try again. If you see a trust prompt on your phone but the device still doesn't appear on your computer, tap Trust again and enter your passcode. On Windows, you may need to install or update iTunes from the Microsoft Store for full recognition.
Transferring photos and videos from your iPhone
The simplest way to move photos from your iPhone to your computer is through the file browser. Connect your phone, open File Explorer (Windows) or Finder (Mac), and click your iPhone. Navigate to the DCIM folder — this is where your camera roll photos are stored. Select the photos you want by clicking one, then holding Ctrl (Windows) or Command (Mac) and clicking others. Right-click and select Copy, then navigate to a folder on your computer and paste them.
On Windows, you can also use the Photos app. Connect your iPhone, open the Photos app from your Start menu, and click the Import button in the top right. Select the photos you want to import and choose where to save them. The Photos app organizes them by date automatically. On Mac, the Photos app works the same way — connect your phone, open Photos, and click Import in the top menu.
If you want to back up every photo and video on your iPhone automatically, use iCloud instead of a cable. On your iPhone, go to Settings, tap your name at the top, select iCloud, then Photos, and turn on iCloud Photos. Your photos sync to iCloud.com and can be downloaded to your computer through a web browser. This method doesn't require a cable and works over Wi-Fi.
Wireless connection via Wi-Fi on Mac
You can connect your iPhone to a Mac over Wi-Fi without a cable, but you must set it up with a cable first. Plug your iPhone into your Mac with a USB cable and open Finder. Click your iPhone in the sidebar, select the General tab, and check the box next to Show this iPhone when on Wi-Fi. Click Apply, then unplug the cable.
From now on, when your iPhone and Mac are on the same Wi-Fi network, your iPhone appears in the Finder sidebar automatically. You can transfer files, back up, and sync without plugging in a cable. The connection is slower than USB, so large photo transfers take longer. If your iPhone doesn't appear after enabling Wi-Fi sync, make sure both devices are connected to the same Wi-Fi network and restart the Finder on your Mac.
Windows does not support wireless iPhone connection through File Explorer or iTunes. If you want to transfer files wirelessly on Windows, use iCloud.com in a web browser, or use a third-party app like OneDrive or Google Drive on both your phone and computer.
Charging your iPhone while connected
Your iPhone charges while plugged into a computer, though the charging speed is slower than with a wall adapter. A standard USB port on a desktop computer provides 500 milliamps of power; a USB 3.0 port provides more. If you want faster charging, use a wall charger instead. Leaving your iPhone plugged into a computer for hours while it's fully charged does not damage the battery — modern iPhones stop charging once they reach 100 percent.
If your computer goes to sleep while your iPhone is plugged in, the phone may stop charging. On Windows, go to Settings, select System, then Power & Sleep, and set the sleep timer to Never or a longer duration if you plan to charge overnight. On Mac, go to System Settings, select Energy Saver, and adjust the sleep settings. Alternatively, just plug your phone into a wall charger — it's faster and more convenient for overnight charging.
Frequently Asked Questions
Do I need iTunes to connect my iPhone to a PC?
No. You can plug in your iPhone and browse files in File Explorer without iTunes. You only need iTunes if you want to back up your entire phone, sync music, or manage apps through your computer. iTunes is free from the Microsoft Store or Apple's website.
Why does my iPhone ask me to trust the computer every time I plug it in?
This usually means you tapped Don't Trust instead of Trust the first time you connected. Tap Trust this time and your computer will remember it. If you keep seeing the prompt, try restarting both devices, or try a different USB cable — a faulty cable sometimes causes this.
Can I connect my iPhone to multiple computers?
Yes. Your iPhone can connect to as many computers as you want. Each computer will ask you to trust it the first time. Keep in mind that if you back up to multiple computers, each one stores a separate backup — they don't sync with each other.
What's the difference between backing up to my computer and backing up to iCloud?
A computer backup stores everything on your hard drive and requires a cable or Wi-Fi connection to your Mac. iCloud backup stores everything on Apple's servers and syncs automatically over Wi-Fi. You can use both at the same time — they're independent backups.
My iPhone shows as connected but I can't see any files. What's wrong?
On Windows, make sure you've tapped Trust on your phone. On Mac, click the iPhone in the Finder sidebar and check that you're on the General tab. If files still don't appear, try unlocking your iPhone screen — some computers won't show file access while the phone is locked.