<p><em>Last Updated: Nov. 2011</em></p><p>The <a href="https://www.lifewire.com/first-generation-iphone-review-2000196" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">first-generation iPhone</a> topped out at just 8 GB of storage, while even the iPhone 4 offers only 32 GB. This is supposed to hold all your data – including music. Most people have iTunes music and video libraries of much more than 32 GB. So, you’re forced to choose just part of your iTunes library to include on the iPhone. This can take time and a lot of sorting.</p><p>But, iTunes can automatically create an iPhone-optimized playlist that you’ll be sure to love using Smart Playlists.</p><p><a href="https://www.lifewire.com/creating-smart-playlists-itunes-1999279" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">Smart Playlists</a> are a feature of iTunes in which iTunes can create customized playlists for you from your library based on criteria you enter. For instance, you can create a smart playlist that automatically includes every song from a given year. Or, for our purposes here, every song with a certain rating. We’re going to use Smart Playlists to automatically make a collection of your favorite songs from your iPhone.</p><p>To do this, you need to have <a href="https://www.lifewire.com/why-rate-songs-itunes-iphone-2000447" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">rated the songs in your iTunes library</a> – not all of them, but enough so that a decent percentage have ratings.</p>To create the Smart Playlist, go to the File menu and choose New Smart Playlist.<p>This will pop up the Smart Playlist window. In the first row, choose My Rating from the first drop-down menu. In the second menu, choose is or is greater than, depending on how many songs you have and how many you <a href="https://www.lifewire.com/why-rate-songs-itunes-iphone-2000447" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">have rated</a>. In the box at the end, choose 4 or 5 stars, whichever you prefer. Then click the plus icon.</p><p>This will create a second row in the window. In that row, choose size from the first drop down and “is” from the second. In the box at the end of the row, select the amount of disc space you want to use on the iPhone. It can’t be more than about 7 GB, or 7,000 MB. Choose some smaller number and you’ll be fine.</p><p>Click OK to create the playlist.</p>Name the playlist in the tray on the left. Make it something descriptive, like iPhone Smart Playlist or iPhone Top Rated.<p>Then, to sync the playlist to your iPhone, dock the iPhone.</p><p>In the iPhone management screen, click the “Music” tab at the top.</p>Check the “selected playlists” option at the top and then the iPhone playlist you just created below it. Don’t select anything else. Click the “Apply” button at the bottom right and resync the iPhone.Now, each time you sync the iPhone with iTunes, it will only sync your Smart Playlist. And because the playlist is smart, every time you rate a new song 4 or 5 stars, it will automatically be added to the playlist — and your iPhone, the next time you sync it.