How do I transfer the music from my phone to my iTunes on my Mac?

I recently tried to download OS X Mavericks and it totally messed up my computer. I fixed it but everything on my laptop is gone )): I really want all of my music back! The music is on my iPhone 5, how do I transfer it into my iTunes library? Not all of it was downloaded from iTunes, so only some showed up after signing into my iTunes account.

The iphone is not a backup/storage device.  It simply mirrors the selected content of your computer.  The sync is one way - computer to iphone.
The exception is itunes purchases.  File>Devices>Transfer Purchases
It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to put everything back.

Similar Messages

Maybe you are looking for