Hard drives that have become non-functional through normal use, and have had data recovery performed on them by third-party companies specializing in data recovery services can be returned to Apple for warranty service. This includes products covered by the AppleCare Protection Plan. The cost of any data recovery attempts is not covered by the Apple Limited Warranty.
Typically, if the factory seal on the hard drive is broken or removed, the hard drive will be excluded from coverage, however, if a label from third-party companies specializing in data recovery is on such a hard drive, Apple will not exclude coverage on that basis.
Drives that are no longer functional due to an issue beyond normal usage—such as damage from an impact, being dropped, exposure to moisture or other circumstances outside of normal usage—are not acceptable for warranty exchange regardless of whether data recovery is performed.
Use of third-party companies specializing in data recovery is at the sole discretion of the customer. They are not Apple Authorized Service Providers, nor does Apple warrant any services performed by these companies.
Learn how to back up your data on a regular basis.