You can transfer music, photos, and other files between your phone's storage and computer (in either direction). Use a USB cable that's capable of data transfer and isn't for charging only.
When you connect the phone and computer with the USB cable, the phone’s USB connection type is set to charging mode, which charges your battery but prevents your computer from seeing files on your phone. Before transferring files, change the USB connection type to allow transfer of:
With the phone and computer turned on, connect the phone and computer with a USB cable.
Change the USB connection type to allow file transfers:
Swipe down from the top of your home screen and touch the USB for charging notification.

To transfer any type of file, touch Transfer files (MTP).
Or, to transfer only photos and videos, touch Transfer photos (PTP).
On a Windows computer:
Ensure the phone is properly connected to the computer using the steps above.
If you don't unlock the phone and change the USB connection to allow file transfers, you won't see any files on your phone.
When connected, the “Windows device options” screen opens on your computer.
Select Open device to view files.
File Explorer opens, showing your phone’s storage
On a Mac:
Ensure the phone is properly connected to the computer using the steps above.
If you don't unlock the phone and change the USB connection to allow file transfers, you won't see any files on your phone.
Files are stored in these folders on your phone:
If you’re having problems, try these troubleshooting steps.