You can choose to automatically delete your iMessages from your device after 30 days or a year, or to keep them on your device forever. For your convenience, iMessages are backed up in iCloud and encrypted if you have enabled either iCloud Backup or Messages in iCloud.
How far back do iphones keep messages?
Does Apple keep copies of text messages?
Apple iOS software stores every text message ever made on your phone. You may think you’ve deleted them but there still there.
How long does Apple keep deleted iMessages?
Recover deleted messages in a conversation You can restore messages you deleted for up to 30 days.