[Direct answer]It's illegal. Beijing explicitly prohibits altering the internal structure of houses to divide them for renting, or dividing them for renting in disguised forms such as by beds. The per capita living area of rented houses must not be lower than the prescribed standard, and the number of people living in each room must not exceed two. The "N+1" rooms with partitions and dormitory-style rentals where beds are located in the living room all fall under the scope of rectification. Tenants living in group-rented houses not only face uncertain living quality, but also may face risks of being evicted and rectified, and it's more difficult to recover the lost rent.

1. Problem background and typical scenarios

The typical characteristics of shared housing: a three-bedroom apartment with five or six partitions, four bunk beds in the living room, and kitchens and balconies converted into bedrooms; overloaded electrical wiring, blocked fire escape routes, and a complex tenant mix. Tenants move in for the low price, but the hidden dangers accumulate from day one: fire risks, property risks, and surprise inspections triggered by neighbor complaints — once the inspections start, tenants are given three days to move out, and disputes over the return of security deposits and prepaid rent immediately erupt.

II. Key points of dispute

First, the definition of illegal group renting. The three key factors for identification include partitioned renting, over-occupancy, and insufficient per-person living area. Illegal forms such as "living in the living room" and "converting balconies into bedrooms" are prohibited, while ordinary shared renting (each tenant occupies a separate room and the structure remains unchanged) is not illegal. Second, contract validity and compensation for eviction losses. Illegal group renting contracts violate regulatory provisions. Key disputes focus on how to apportion the costs of rent refunds, deposit returns, and removal of renovations after tenants are evicted. Third, the responsibilities of secondary landlords. Many group renting properties involve secondary landlords. The property owners who permit partitioned renting also bear legal responsibility, and there are often disputes over who should compensate for the costs after eviction.

III. Professional analysis by Henglue Lawyers

The handling of subletting disputes involves both tenants and landlords. On the tenants' side, there are three steps to address the issue: 1. **Identify risk signals**: When viewing the property, pay attention to factors such as the thickness of the door panels and locks, whether the room has windows, and whether the living room contains beds or partition walls. Before signing the contract, require the landlord to present the property ownership certificate and the identity of the property owner. For sublets, also request to see the original lease contract and the consent to sublet terms. 2. **Document the agreement**: Ensure the contract clearly states the current condition of the property, rental payments, deposit arrangements, and utilities apportionment. Prefer monthly payments to avoid annual payments that may lead to financial burdens. When transferring funds, note the transaction as "XX rent". 3. **Seek legal protection during evictions**: If the property is subject to regulatory evictions due to violations, tenants who are not at fault can demand the landlord (including sublandlords) to refund prepaid rent and deposits, compensate for moving costs, and file lawsuits based on the contract, payment records, and eviction notices, with a high success rate. Tenants can also claim compensation from the landlord based on safety obligations and fault liability if their personal safety or property are damaged due to subletting risks. On the landlord's side, there are clear regulatory redlines: - Property owners who transfer their property to sublandlords are not exempt from liability simply by "abdicating responsibility" after the transfer. Those who knowingly or negligently allow subletting may face administrative penalties and civil compensation. - Compliant practices include explicitly prohibiting subletting in contracts, regularly inspecting property usage, and promptly requiring the removal of partition walls. Policy-level reminders: - Beijing has normalized subletting regulations, with mandatory per-capita living area and room occupancy standards incorporated into the Housing Lease Ordinance. - "Low prices" are the sole selling point of subletting, but also carry all associated risks. - For existing tenants, the most cost-effective self-protection measure is to relocate before regulatory evictions rather than waiting for notifications—by then, their negotiating leverage will have vanished.

IV. Practical suggestions and legal basis

First, verification before signing the contract: checking the property ownership certificate, the identity of the property owner, and the original contract (in the case of a subletting). Second, leaving a record of payments: prioritize monthly payments, and specify the purpose of the transfer in the payment notes. Refuse cash payments without receipts. Third, seeking redress and protecting rights: collect the eviction notice and contract evidence, claim refunds and compensation for losses, and file a lawsuit if necessary. Fourth, ensuring personal safety: report fire safety hazards to local authorities, and seek medical treatment and preserve evidence in cases of personal injury. Main legal basis: - The "Beijing Municipal Housing Lease Regulations" (implemented in 2022) regarding rental conditions and prohibited behaviors; - The original notice from the Municipal Commission of Housing and Urban-Rural Development and other departments on the per capita living area standards for rental housing; - The "Civil Code of the People's Republic of China" (implemented in 2021) related provisions on contracts and tort liability; - Specific standards shall be subject to the currently effective regulations in Beijing.

5. Henglu Law Firm's Reminder

The price advantage of shared housing is achieved at the expense of safety and compliance: evictions can happen at any time, and recovering losses requires litigation. When viewing the property, take a closer look at its structure if the price seems too good to be true. When signing the contract, request a copy of the property ownership documents. These are the lowest-cost ways to protect yourself. For disputes involving shared housing, you can seek resolution through legal channels.Real estate transactions and construction projectsFor a comprehensive solution to the service, regarding the validity of the subletting by the second landlord, you can refer to the subletting special topic in this batch. For compensation for personal and property damage during the eviction, you can pay attention to itPersonal injury and medical disputesFor disputes related to lease contracts, the parties may seek resolution through mediation or arbitration.Special legal servicesFor reference, you can check the relevant information about plateform, which involves house management and operation, as well as the compliance of long-term rental agenciesBusiness and contract disputes in enterprises板块。

VI. Frequently Asked Questions

Q1: Is it illegal to install a partition in the living room to accommodate people?

This is illegal. Changing the structure of the house to subdivide it for renting or renting out living room beds are prohibited. In the event of losses due to rectification and eviction, the lessee can seek compensation from the lessor.

Q2: If I'm evicted from a shared apartment, can I get a refund for the rent?

Yes. If the house violates regulations and the contract cannot be fulfilled, the tenant is not at fault. The prepaid rent and deposit should be refunded, and the tenant can also claim compensation for the moving losses.

Q3: Is sharing an apartment with strangers considered illegal group renting?

No. It's legal to share an apartment if everyone stays in the rooms they originally designed, the structure is not changed, and the number of people and the area meet the standards. The key points for judgment are the structure and the number of people, not the sheer number of people.

Q4: If the landlord doesn't know that the sublandlord is building partition walls, does the landlord have any responsibility in this case?

Those who know or should know but choose to ignore it should be held accountable; if they fulfill their obligation to verify and stop it in time, the main responsible party should be the sublandlord who carried out the partition.

Q5: If there's a fire in a shared apartment, who will compensate for the losses?

According to the determination of the cause of the fire and the faults of all parties involved, the lessor who illegally partitioned the building and the fire department that failed to meet the fire safety standards should bear corresponding responsibilities, while the perpetrator should bear direct responsibility. Compensation can be claimed concurrently.

The above answer is based on the judicial practice in the Beijing area. The judicial interpretation 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 relevant evidence materials, to avoid missing the statutory time limit. →Legal services for the purchase and sale of real estate·Beijing Henglue 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. In case of disputes, please consult a practicing lawyer in time.