Is it legal for a mobile phone rental company to collect a copy of personal ID card?

Legal.

According to the relevant information of Baidu Wang Lin, the leasing company collects copies of personal ID cards for reasonable purposes such as verifying the identity of customers, fulfilling contractual obligations and managing risks, and has clearly informed and obtained the consent of customers before collection, then it is legal to collect copies of personal ID cards.

The act of collecting copies of personal identity cards must comply with the provisions of laws and regulations and cannot violate the relevant laws and regulations on the protection of personal information.