Yes, it is legal for shareholders to lend money to the company. As a legal person, the company itself has no property. All its property is formed by shareholders' investment in the company. Shareholders can lend money to the company after paying the registered capital in full. After the company borrows money from shareholders, it shall be recorded in the accounting books. Article 91 of the Company Law, promoters and subscribers are not allowed to withdraw the paid share capital without authorization, or to reduce the share capital with the contributed capital, and they are not allowed to withdraw their share capital, except that the shares are not raised in full on schedule, the promoters fail to convene the founding meeting on schedule or the founding meeting decides not to set up the company.