[Direct answer]It depends on whether the lender knew or should have known about the borrower's use of the loan for illegal activities. According to the "Interpretation of the Supreme People's Court on Several Issues Concerning the Application of Law in the Trial of Private Lending Cases" (amended in 2020 and implemented on August 20, 2020), if the lender knew or should have known that the borrower used the loan for illegal or criminal activities but still provided the loan, the people's court shall determine the private lending contract as invalid. In addition, if the funds are obtained by fraudulently obtaining loans from financial institutions for re-lending, or by borrowing from other for-profit legal persons for re-lending, or by lenders who do not have the qualification to lend money for profit purposes and provide loans to unspecified social groups, the contract will also be invalid. After the contract is invalidated, according to Article 157 of the Civil Code of the People's Republic of China, the property obtained from such acts shall be returned, that is, the borrower shall return the actual principal of the loan; the agreed interest shall generally not be supported. If the lender was unaware of this, the contract will generally be valid, and the borrower shall still bear the repayment responsibility according to the contract.

I. Problem Background and Typical Scenarios

The borrower used the funds for illegal activities such as gambling and illegal operations, and was subsequently investigated and punished. The lender demanded repayment, but the borrower argued that the funds were used for illegal purposes. There are also lenders who, knowing that the funds would be used for illegal activities, still lent them to earn high interest rates. Whether the contract is valid, whether the principal can be recovered, and whether the interest is supported are issues of common concern to both parties.

II. Key points of contention

First, the standard for the lender's knowing judgment. Second, the specific circumstances of the contract being invalid. Third, the handling of the principal and interest after the contract is invalidated. Fourth, the impact of the borrower's illegal use of funds. Fifth, the burden of proof and risk prevention.

III. Professional analysis by Henglue Lawyers

Henglue Law Firm once handled a case involving the enforcement of creditor's rights: Ma * and a certain company had a dispute over an intermediary contract, and the effective judgment ordered the company to return more than 400,000 yuan in intermediary service fees. However, the company had no assets to enforce when the court attempted to enforce the judgment, and the court eventually terminated the enforcement procedure. After accepting the case, the lawyer found that the company's shareholders had not yet paid in the subscribed capital, so he argued that since the company had no assets to enforce and met the criteria for bankruptcy but did not apply for bankruptcy, the shareholders no longer enjoyed the benefit of time limitation. He then filed a lawsuit against the shareholders for harming the company's creditor's interests. In the end, the court ordered the shareholders to bear supplementary compensation liability for the company's debts within the scope of their unpaid capital. The value of this case lies in the fact that even if the debtor is in financial difficulties, the creditor can still recover the debt through means such as shareholder liability. Returning to the issue of the illegal use of the loan, the court's review logic is as follows: First, examine the borrower's subjective state at the time of the loan to determine whether they knew or should have known about the illegal use of the funds, often judged by the communication between the parties, the flow of funds, and the transaction background; Second, determine whether the loan falls into legally invalid situations, such as lending with knowledge of the illegal use of the funds, transferring loans, or unlicensed professional lending; Third, after the contract is declared invalid, the funds should be returned, and interest and penalties are generally not supported; Fourth, if the borrower has used the funds for illegal activities and caused losses, and the lender has its own faults, the lender should bear the risks themselves; Fifth, the party claiming that the use of the funds is illegal and the contract is invalid should provide corresponding evidence. This case was handled by Beijing Henglue Law Firm.Yuan HangAttorney (Practice Certificate No.: 11101202110286151, subject to the certificate issued by the judicial administrative organ) acting as the agent.

IV. Practical suggestions and legal basis

Action suggestions: First, verify the purpose of the loan and the source of repayment before lending to avoid funds flowing into illegal areas; Second, keep the loan agreement, transfer receipts, and communication records about the purpose of the loan; Third, promptly stop losses and fix evidence if the purpose of the loan is found to be illegal; Fourth, when involved in litigation, choose to claim the return of the principal or the repayment responsibility according to the effectiveness of the contract. For matters involving creditor's rights and debts and enforcement, you can refer to the relevant provisions of the Civil Code and the Judicial Interpretation on the Application of the Civil Code.Creditor's rights and debts, and enforcementFor disputes concerning the validity of contracts, you may refer to the following provisions:Business and contract disputes in enterprisesLegal basis: Article 13 and Article 25 of the "Interpretation of the Supreme People's Court on Several Issues Concerning the Application of Law in the Trials of Private Lending Cases" (amended in 2020 and implemented on August 20, 2020), and Articles 153, 157 of the "Civil Code of the People's Republic of China" (both implemented on January 1, 2021). The specific application shall be subject to the currently effective laws, regulations, and judicial decisions.

5. Henglue Law Firm's Reminder

Firstly, if the lender knows the funds will be used for illegal purposes but still lends them, the contract will be invalid and the interest will not be guaranteed. Secondly, after the contract is invalidated, the principal should still be returned, but the lender also faces risks. Thirdly, transferring loans and lending without qualifications are also invalid grounds. Fourthly, verifying the purpose of the loan before lending is the key to preventing risks. For matters involving the validity of the contract and the realization of creditor's rights, parties can resolve disputes through legal means.Creditor's rights and debts, and enforcementThe service provides a comprehensive solution, which can be applied to disputes over the validity of contracts.Business and contract disputes in enterprisesFor plates involving financial lending, you can refer to the following for referenceFinancial capital and cross-border transactions involving foreign entitiesFor columns involving criminal risks (such as being aware of criminal funds), you can seek adviceCriminal defense and criminal case filingTeam.

VI. Frequently Asked Questions

Q1: If someone borrows money to gamble, is the promissory note still valid?

If the lender knew or should have known in advance that the loan was used for illegal activities such as gambling, the contract is invalid, and the borrower should return the principal. The agreed interest is generally not supported. If the lender was unaware of this, the contract is generally valid.

Q2: How to determine whether the lender is aware of the situation?

The court will make a comprehensive judgment based on factors such as the communication between the lender and the borrower, the destination of the funds, the background of the transaction, the relationship between the two parties, and the amount of the loan. The party claiming that the other party was aware of the loan must provide corresponding evidence, such as chat records and explanations of the transfer flow.

Q3: If the contract is invalid, can I still get back the principal amount?

The lender can claim the return of the actual property obtained, that is, the principal. However, if the funds have been used for illegal activities and are difficult to recover, the lender may face losses, and those who are at fault must bear the corresponding consequences.

Q4: Do you offer support for interest and penalties?

When the contract is invalid, the agreed interest and the penalty for breach of contract are usually not supported, and the lender can generally only claim the return of the principal. If the contract is valid, the lender can claim interest and overdue liabilities in accordance with the agreed and statutory limits.

Q5: What circumstances will definitely result in the contract being invalid?

It is well known that lending money to others for illegal and criminal activities, withdrawing loans from financial institutions for re-lending, obtaining funds through illegal means for re-lending, and lending money to unspecified individuals for profit-making purposes without the qualification to do so are all legally invalid situations.

The above answer is based on the judicial practice in Beijing. The adjudication standards in other provinces and cities may vary. For specific cases, please refer to the local rules and evidence situation.

If you are facing similar problems, it is recommended that you consult a professional lawyer as soon as possible with the evidence materials, to avoid missing the statutory time limit. →Legal services for creditor-debtor disputes·Beijing Henglu Law Firm

Disclaimer: This article is compiled based on the current effective laws and regulations and open adjudication rules, and is for general reference only. It does not constitute a formal legal opinion on specific cases. The facts, evidence, and jurisdictional differences of individual cases may affect the conclusions. If you encounter disputes, please consult a practicing lawyer in time.