Mac computer running macOS 10.7 (or later).SEE: Resource and Data Recovery Policy (Tech Pro Research) Requirements There is an easy-to-execute solution that scripts the changes necessary to create the recovery partition within minutes.
If you happen to fall into the latter category and somehow lost your recovery partition, there is a way to restore it without having to reinstall macOS. While the recovery partition is created automatically when installing or upgrading your Mac, there are times when it does not get created, and this can cause some difficulty when certain administrative functions are performed.
2021 event: What you need to know (free PDF)