[Direct answer]Whether the deposit can be offset against the last month's rent depends on the contractual provisions. The law does not grant tenants the right to unilaterally deduct the deposit. The function of the deposit is to guarantee that the house will be returned as agreed, that the facilities will be intact, and that the water and electricity arrears will be settled. If the contract stipulates that the deposit cannot be used to offset the rent, tenants who deduct the deposit without authorization may be deemed to be in arrears with the rent, and the landlord may, in accordance with Article 722 of the Civil Code of the People's Republic of China (effective January 1, 2021), urge the tenant to pay the rent or even terminate the contract. It is safer to obtain the landlord's written consent before moving out, list the condition of the house and the settlement of expenses, keep a record of the consent to deduct the deposit, and then proceed with the handover and settlement procedures.

1. Problem background and typical scenarios

In the rental market, the common payment methods are "one month's deposit and three months' rent" and "two months' deposit and one month's rent". The deposit often equals one to three months' rent. Before the lease expires, many tenants consider using the deposit to offset the last month's rent to save the trouble of transferring money back and forth; while landlords often insist that the deposit can only be used as a guarantee, requiring the tenant to pay the rent as usual and returning the deposit after the inspection. With both parties holding different opinions, disputes are likely to break out on the day of the lease termination, and even lead to a stalemate where the landlord refuses to accept the last month's rent and the tenant refuses to pay it.

Typical scenarios include: the contract does not mention the purpose of the deposit at all, and both parties have different interpretations of the deduction; the contract explicitly prohibits deduction, but the tenant has already deducted it. The landlord claims breach of contract on the grounds of arrears in rent; the walls and furniture of the house have been damaged, and the landlord wants to deduct the repair costs from the deposit, but the tenant claims to deduct it together with the last month's rent; the unpaid water, electricity and property management fees lead to repeated calculations of the deposit amount. Behind these disputes, there is one common issue—what is the legal nature of the deposit, and whether it can be used for offsetting expenses.

The increase in deposit disputes is related to the rental transaction practices: many landlords do not issue receipts when collecting deposits, relying solely on the transfer notes; when tenants move out, they negotiate based on their memory, and the amount deducted and refunded depends entirely on the on-site bargaining. Although some long-term rental platforms have standardized the deposit clauses, direct rental transactions between individual landlords are still mainly conducted orally and with non-standardized texts. There is a lack of a unified process for settlement when tenants move out, and disputes naturally erupt at the point of handover. It is also much more difficult to provide evidence retrospectively than to record it on the spot.

II. Key points of contention

Firstly, the deposit and the rent are two different types of payments. The rent is the consideration for the use of the house, while the deposit is a sum of money to guarantee the performance of the debt. There are no specific provisions on the deposit in current laws. Its purpose and refund conditions are mainly governed by the contract. If the contract is unclear, it shall be dealt with in accordance with the usual interpretation of the guarantee function.

Secondly, does unilateral offsetting constitute a breach of the lease agreement? If the contract prohibits offsetting or the lessor explicitly disagrees with it, the tenant may be deemed to have failed to pay the rent according to the agreement by using the security deposit to offset the last month's rent; according to Article 722 of the Civil Code of the People's Republic of China (effective from January 1, 2021), if the lessee fails to pay the rent without a valid reason and still does not pay it within a reasonable period after being reminded, the lessor has the right to terminate the contract and claim breach of contract liability.

Thirdly, the reasonable scope of the landlord's withholding of the security deposit. The deduction of the security deposit shall be limited to the actual losses, including unpaid rent, repair costs for damage to the house, and arrears in water and electricity bills. The excess amount shall be refunded, and the landlord shall also bear the corresponding burden of proof regarding the facts of the damage and the amount of the expenses.

Fourthly, the timing of claiming deductions is also important. If the tenant requests a deduction and leaves a record before the expiration of the last month's rent, it is considered a pre-negotiation; if the tenant requests a deduction after the completion of the inspection and the settlement of accounts, it is considered a post-settlement. The legitimacy of the two methods is not the same. If the security deposit indeed exceeds the possible range of losses, the tenant is more likely to get support if he proposes to offset the rent with the excess amount during the settlement negotiation, provided that the proposal is made in advance and the record is complete.

III. Professional analysis by Hengluo Law Firm

When handling disputes over rental settlement, Hengluo Lawyers found that most conflicts stem from a misunderstanding of the nature of the deposit. Tenants often regard the deposit as pre-paid rent and believe it should be automatically deducted when they move out; landlords, on the other hand, tend to treat the deposit as an unlimited penalty fund, deducting damages, unpaid fees, and cleaning fees from it. Both interpretations lack contractual and legal support. The basic logic of judicial handling is: where there is an agreement, the deposit shall be governed by the agreement; where there is no agreement, the deposit shall be interpreted as a guarantee for damages, and the landlord may deduct it within the scope of the losses. The balance shall be returned to the tenant, and the last month's rent shall still be paid separately.

From the perspective of evidence, the handover process is the most prone to pitfalls. Henglu Law Firm usually recommends making the settlement a visible process: putting forward the intention to offset the deposit in writing before the tenant moves out and waiting for the other party's reply; jointly checking and taking photos and videos on the day of the inspection; recording the meter readings for water, electricity and gas in the handover document; and matching the deduction items with the repair invoices one by one. By doing these steps, even if the case goes to court in the future, the amount of the deposit that should be refunded and whether the rent should be offset will be backed by evidence. For further handling of disputes related to lease settlements, please refer to our firm's guidelines.Legal services for property sale and purchase disputes.

In practice, there is another common variable: tenants terminating the lease early. In this case, the deposit is often used to offset the penalty fee or vacancy losses, leaving even less room for offsetting the final month's rent. The contract's provisions on how to calculate liability for early termination directly determine the settlement outcome. Hengluo Lawyers suggest including the maximum penalty fee and the return period of the deposit in the contract, for example, stipulating that the deposit will be refunded within seven working days after the inspection. Such clauses can eliminate most disputes before they arise. Conversely, if the contract only stipulates the collection of the deposit but not the refund rules, there will be no strict constraints on the landlord's delay in refunding the deposit, and tenants will only be able to rely on reminders and litigation to protect their rights.

IV. Practical Suggestions and Legal Basis

In terms of operation, it is recommended to proceed in five steps in order: First, review the contract deposit clauses to confirm whether there are provisions prohibiting offsetting or settlement methods; Second, notify the landlord in writing 30 days in advance of the intention to terminate the lease and propose a plan for handling the last month's rent; Third, invite the landlord to jointly inspect the property, taking photos of the walls, floors, and furniture one by one and recording the readings of the water and electricity meters; Fourth, require the landlord to provide repair invoices or arrears notices for the deducted items, and write the balance and refund time into a written settlement confirmation; Fifth, if the landlord refuses to attend or refuses to refund the deposit, send a reminder letter via WeChat and keep the records for possible litigation.

The legal basis can be summarized as follows: Article 722 of the Civil Code of the People's Republic of China (effective January 1, 2021) regarding the provisions on the reminder and termination of arrears in rent; Article 733 stipulating that the lessee shall return the leased property in accordance with the agreement; and the statute of limitations for claiming the return of the deposit is three years, in accordance with Article 188 of the same law. The litigation fees shall be paid in accordance with the "Measures for the Payment of Litigation Fees" (effective April 1, 2007) in a graduated manner based on the amount of the claim, and shall be borne by the losing party or shared in proportion to the outcome of the case.

During the negotiation stage, you can enlist the help of third-party organizations: calling 12345 to report the situation, requesting the intervention of community mediation organizations, or filing a complaint with the housing and construction department against the unscrupulous intermediaries are all low-cost ways to apply pressure. After entering the litigation stage, small-amount deposit cases can apply for the small-claims litigation procedure, with a first-instance trial as the final judgment and a shorter trial period. If you claim the interest on the overdue refunds when filing the case, it can effectively prompt the other party to complete the settlement as soon as possible and avoid prolonged delays in resolving the issue.

5. Henglu Law Firm's Advice

It's not that it's not allowed to use the security deposit to offset the rent, but it's not allowed to do it without prior notice. If the contract allows it or the landlord agrees in writing, it's perfectly acceptable to deduct it; if it's deducted without consent, the tenant may be urged to make up the shortfall, or even be held liable for breach of contract and have the contract terminated, which would be counterproductive. Similarly, a reminder to landlords: when deducting the security deposit, it's necessary to itemize the actual losses and keep the receipts. Excessive deductions won't be supported in litigation. If the two parties have already had a confrontation at the handover site, don't immediately break off communication and refuse to return or pay the deposit. Instead, convert the communication into written form and consult a professional. Our firm can provide legal advice in this regard.Real estate and construction law teamWe can assist in drafting reminder letters and settlement proposals, and most disputes can be resolved at this stage.

There's one more thing to note: WeChat's consent to offset debts is equivalent to written consent, but the other party must express their consent explicitly, for example, replying with "I agree to offset the last month's rent" instead of just sending an emoji or remaining silent. Vague silence is difficult to interpret as consent in litigation, and the party claiming to offset debts must bear the burden of proof to obtain explicit permission.

VI. Frequently Asked Questions

Q1: If the landlord refuses to return the security deposit when the tenant moves out, how can the tenant protect their rights?

First, negotiate and then litigate. The first step is to check the contract's deposit clause and the condition of the house handover to confirm whether the deduction items are justified. The second step is to send a written reminder to the landlord, requiring them to return the remaining deposit within a specified time limit. If the negotiation fails, the tenant may file a lawsuit with the people's court in the area where the house is located to request the return of the deposit and interest. According to Article 188 of the Civil Code of the People's Republic of China (effective January 1, 2021), this request is subject to a three-year statute of limitations, which begins from the date the rights are infringed. In the litigation, the landlord must provide evidence of the deduction items, while the tenant should prepare transfer receipts, inspection photos, and reminder records. Cases with complete evidence can usually recover the deposit through mediation or judgment.

Q2: If the landlord refuses to apply the deposit towards the rent, does it count as rent arrears?

There is a risk of being deemed in arrears. The deposit and rent are different in nature. If the contract does not allow offsetting and the landlord explicitly refuses, the tenant unilaterally offsetting the last month's rent is considered a failure to pay the rent according to the contract. According to Article 722 of the Civil Code of the People's Republic of China (effective January 1, 2021), if the tenant still fails to pay within a reasonable period after being reminded by the landlord, the landlord may terminate the contract and pursue breach of contract liability. If the contract itself stipulates that the deposit cannot be offset against the rent, the defense space is even smaller. The safest approach is to first obtain the landlord's written or WeChat confirmation of consent to offsetting before offsetting; if the deposit has already been offset and the landlord seeks recovery, the tenant should promptly make up the rent and convert the dispute into a refund of the deposit for separate resolution to avoid further losses.

Q3: What is a reasonable amount for a landlord to withhold as a security deposit?

The law does not set a fixed percentage. Whether the deduction is reasonable shall be measured by the actual losses and the contractual basis. The deductible items are usually limited to unpaid rent, repair costs for damage to the house and facilities, unpaid utility bills, and the contractual penalties that should be borne by the tenant. Each of these items should be supported by invoices, payment receipts, and other evidence. Natural wear and tear from normal use is not included in the deduction, and the depreciation of the decoration cannot be fully attributed to the tenant. After the deduction, the remaining balance must be refunded. If the landlord fails to provide evidence of the losses and withholds the full amount, the tenant can sue for a full refund and claim interest losses. The tenant does not need to bear the cost of the landlord's failure to provide evidence.

Q4: What materials are needed to file a lawsuit for a deposit dispute?

It is recommended to prepare the following six items according to the checklist: the original lease contract or WeChat records proving the lease relationship, transfer receipts for the rent and deposit, photos or videos of the condition of the house upon check-in and check-out, payment receipts for utilities and property management fees, chat records and call recordings of communicating with the landlord to urge payment, and a written letter of demand and proof of delivery. When suing, you also need to prepare a lawsuit, identity proof, and the landlord's contact information, and file a case with the court where the house is located. The more complete the materials are, the faster the court will determine the amount of the deposit and the reasonableness of the deduction. Most such cases apply the simplified procedure, and the trial period will be shortened accordingly.

Q5: How long does it usually take to recover the deposit through litigation?

The disputes over rental deposits are usually of relatively small value and with clear facts, so most of them are subject to summary procedures. According to the Civil Procedure Law of the People's Republic of China (amended in 2023), summary procedures shall be concluded within three months from the date of acceptance of the case, and ordinary procedures within six months; if the other party appeals, the second-instance trial shall generally be concluded within three months. It usually takes two to four months from the filing of the case to obtaining the effective judgment, and if the other party refuses to perform the obligation, the plaintiff can apply for compulsory enforcement. During the trial, the court often organizes mediation. If the evidence is sufficient and the amount is clear, it is not uncommon to reach a mediation agreement and refund the money on the spot before or during the trial, and the overall cost of protecting rights can be controlled.

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

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

Disclaimer: This article is compiled based on the current effective laws and regulations and public 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.