You must not retain personal data for 'longer than is necessary'
This is one of the 7 principles of the UK General Data Protection Regulation (UK GDPR).
You’ll need to work out what ‘necessary’ means for the personal data you hold – this will depend on your purposes for holding the data. Consider why you need to keep any pieces of personal data, and make sure you’re able to justify the decision you take.
To help you decide, read more about how to identify the 'lawful basis' for processing personal data.
Statutory retention periods
Pupil records Document type Retention period Action at end of retention period Guidance/legislation Primary school pupil records Until the pupil leaves the school. You should keep the pupil’s data on your MIS for 2 terms after the pupil leaves