If you have an iPhone or iPad, there are a few ways to delete old text messages.

  1. Tap on the three lines in the top left corner of your screen and select “Delete.”
  2. Type “delete” into the text field and press Delete.
  3. Tap on the three lines in the top right corner of your screen and select “Done.”

By default, your iPhone and iPad save every iMessage and SMS text message that comes your way. As a result, you could have years of messages synced to iCloud that follow you for the rest of your life, taking up valuable space. Luckily, there’s a way to delete old text messages automatically. Here’s how.

First, open “Settings” on your iPhone or iPad.

In “Settings,” tap “Messages.”

In “Messages,” scroll down and tap “Keep Messages.”

By default, Messages is set to keep your SMS text messages and iMessages forever. Tap either “30 Days” or “1 Year” depending on how long you’d like to keep your old messages.

After tapping “30 Days” or “1 Year,” you’ll see a pop-up dialog asking whether you want to delete all messages older than the time period you chose. If you’re sure, tap “Delete.”

After that, exit Settings. From now on, Messages will automatically delete any messages once they hit the 30-day or 1-year mark, depending on which option you chose. Happy texting!

RELATED: How to Free Up Space Used By Your iPhone or iPad’s Messages App