If you stay in a Shanghai hotel, the hotel normally registers you. If you stay in a rented apartment, private home or dormitory, you or your host must register the address within 24 hours of check-in. Shanghai lets you file online; if the filing fails, use a public-security service window.
The official name is 境外人员住宿登记 (jìngwài rényuán zhùsù dēngjì — overseas personnel accommodation registration). People still call the result a “temporary residence registration form”, but this process does not give you a visa or residence permit. It records where you are staying.
Watch out
The 24 hours run from check-in, not from the day you sign a lease. If you sleep at a new non-hotel address, treat that as the accommodation event and complete the registration promptly.
Who registers my Shanghai address?
Start with the place that is actually accommodating you, not the name used in its marketing.
| Where you stay | Who normally registers it | What you should do |
|---|---|---|
| Shanghai hotel | The hotel | Present your valid travel document at check-in and ask for a printed registration record if you need proof |
| Apartment-style hotel or serviced residence operating as hospitality accommodation | The operator | Confirm at check-in that it registers overseas guests; do not assume from the words “serviced apartment” alone |
| Ordinary rented apartment | You or the host/landlord acting for you | File through Shanghai's official online system or use a public-security service window within 24 hours |
| Private home | You or your host | Use the same non-hotel route within 24 hours |
| School or university dormitory | The accommodation operator may coordinate it | Ask the dormitory what it files and request proof; if it does not register you, use the non-hotel route |
| A new address after moving | You or the new host | Register the new place; the old record does not describe where you now stay |
Shanghai Public Security states that all hotels in the city can register overseas guests. A hotel should not refuse you merely because you are foreign. If the front desk seems unsure, ask it to confirm the overseas-guest registration procedure rather than sending you to register a hotel stay as a private residence.

A serviced apartment needs one extra question: Is this property operating as hotel-style accommodation and registering guests at check-in, or is it an ordinary residential lease? The brand name, booking channel and presence of a reception desk do not answer that question. Get a clear answer before arrival, especially if you will need the registration record for another application.
How do I register online in Shanghai?
Use Shanghai's official English self-declaration system.
There is also a separate national pilot. Since March 20, 2026, foreigners staying in homes or other accommodation outside hotels in Hebei, Liaoning, Zhejiang, Hubei, Guangxi, Chongqing and Sichuan can register online through the NIA Government Service Platform, the NIA 12367 app, or its WeChat and Alipay mini programs. The online record has the same legal effect as an on-site registration. Shanghai is not one of the seven pilot regions, so use Shanghai's own system or a Shanghai public-security window while the national service is being expanded.
The current Shanghai route is:
- Sign up or log in to the Shanghai system.
- Select your identity-document type and upload the requested document page.
- Check the extracted personal information and correct any error.
- Enter the accommodation information requested by the form.
- Read and accept the declaration, then submit.
- After approval, open the result in your history and download the registration form. The system may also send a result link by email or SMS.

Use the address for the place where you are actually staying. Copying an English building nickname from a listing can create a mismatch if the official property address is different. Ask the landlord, operator or school for the complete address before you start, ideally in Chinese as it appears in the lease, property record or accommodation system.
The official guidance does not promise that every submission will be approved immediately. Do not make a same-day visa, bank or employer appointment depend on an untested online filing.
What if the online review is unsuccessful?
For an ordinary, accurately completed registration, this is a routine administrative filing. Shanghai does not publish a rejection rate, so there is no evidence that unsuccessful reviews are common. This section exists because Shanghai's official online guide includes a recovery route for the cases that do fail system review.
The official instruction is simple: check the submitted information for omissions or errors, correct it and try again. An unsuccessful online review should not be described as a refusal of your right to stay at the address; it means the system has not approved the submission as entered.
If the problem remains, take your valid identity document to the nearest public-security service window or police station that handles accommodation registration. Shanghai's current procedure lists the foreign national's valid identity document for a personal public-window application. If a host or representative applies for you, that person also presents their own valid identity document.
If the submitted material does not yet meet the requirements, the window can make a preliminary registration and tell you what must be supplemented. That is a better recovery route than repeatedly submitting the same incorrect form while the 24-hour period passes.
Do I need to register again after moving or re-entering China?
Register after moving to a new non-hotel address. The legal trigger is accommodation at that address; a registration for your previous apartment cannot serve as the record for your new home.
Re-entry has a narrower Shanghai exception. The Shanghai Public Security FAQ says you do not need to repeat the registration after re-entering China when all of these are true:
- you hold a valid foreigner's residence permit or Foreign Permanent Resident ID card;
- you were already registered at the same Shanghai address;
- that document remains valid; and
- your address has not changed.
Do not generalise that exception to a visa-free visit, a different address or an expired/replaced residence document. Visa-free entry does not remove the accommodation-registration requirement.
If you spend a night in a hotel during a trip, the hotel registers that hotel stay. When you later return home, use the same test above: unchanged address plus a still-valid qualifying residence document can avoid a repeat Shanghai filing; otherwise register the home stay again.
What changes after I move to a new Shanghai apartment?
For some residents, moving creates two separate clocks.
| Task | Who it affects | Deadline | What it changes |
|---|---|---|---|
| Accommodation registration | A foreign national checking into a new non-hotel address | Within 24 hours | Public security's record of where you are staying |
| Residence-permit information update | A holder whose address on the foreigner's residence permit record has changed | Within 10 days of the change | The address information attached to the residence permit |
Completing one does not automatically prove that the other was completed. Shanghai Public Security's official address-change instructions explain the two steps directly: register the new accommodation within 24 hours, then update the residence-permit information within 10 days if you hold one.
The housing lease filing is different again. It records the rental transaction with the housing authority. When you rent, agree who will complete it and when; our Shanghai apartment checklist explains how to verify that plan before paying.
How do I get proof of registration?
Keep the result rather than assuming the database record will be enough for every later counter.
- Online filing: open the approved item in the system history and download the form.
- Public window: ask for the printed registration form.
- Hotel: ask the hotel to print the overseas-guest accommodation registration record if another process requires it.
Save a clear PDF or scan. A screenshot saying “submitted” is not the same as an approved registration form. Check your name, identity-document number and address before leaving the window or relying on the file.
You may be asked for this proof during another immigration or administrative process. That does not turn it into the residence permit itself; it remains evidence of the registered place of stay.
Is this the same as a residence permit or Shanghai Residence Permit?
No. Several documents use similar English words but solve different problems.
| Process | Purpose | Main authority |
|---|---|---|
| Overseas personnel accommodation registration | Records where an overseas person is staying | Public security |
| Foreigner's residence permit | Immigration permission for a qualifying foreign national to reside in China | Exit-entry administration |
| Housing lease filing | Records the rental transaction | Housing authority |
| Shanghai Residence Permit | A domestic residence-card system, mainly discussed in the context of eligible non-local Chinese residents | Shanghai public services |
When asking an agent, landlord or counter for help, use the Chinese name 境外人员住宿登记. Saying only “temporary residence permit” can send the conversation toward the wrong document.
What happens if I register late?
National law requires the non-hotel registration within 24 hours. Failure can lead to a warning and may also carry a fine of up to RMB 2,000. A fine is not automatic in every late case, but the deadline is a real legal requirement rather than an optional administrative tip.
If you are already late, register now. Use the official online route if it works; otherwise go to the public-security window with your valid identity document. Do not invent an address or alter a check-in date to make the filing look timely.
The practical downside is not only a possible penalty. A missing or incorrect record can surface when you need proof for another application, after you have moved again, or when the person helping you no longer has the correct address details.
Where does this fit in my first month in Shanghai?
Accommodation registration is one early dependency, not the whole arrival plan. After you have a real address, other tasks may depend on your lease, phone number, employer documents or bank requirements. Use our first 30 days in Shanghai sequence to put those dependencies in order, or start with the complete moving-to-Shanghai guide if your housing decision is not yet settled.
If the online system rejects a correct application, your host is unavailable, or an address change is colliding with a residence-permit deadline, a Shanghai local fixer can help identify the right counter and prepare the information. Straightforward online filings usually do not need paid help.
Common questions
Shanghai accommodation registration: common questions
Does a foreigner need accommodation registration during a visa-free stay in Shanghai?
Yes. Visa-free entry does not remove the accommodation-registration requirement. A hotel registers its guest; at a non-hotel address, the foreign national or host must register within 24 hours after check-in.
Can my landlord or host register the address for me?
Yes. Shanghai's procedure allows a host or representative to apply. For a public-window application, that person presents their own valid identity document as well as the information required for the foreign guest.
Can every Shanghai hotel register foreign guests?
Shanghai Public Security states that all hotels in the city can register overseas guests. Present your valid travel document at check-in and ask for a printed record if you need proof.
Does a serviced apartment register me automatically?
Not necessarily. If it operates as hotel-style accommodation, the operator should handle guest registration. If it is an ordinary residential lease marketed as a serviced apartment, use the non-hotel route. Ask the operator which structure applies before arrival.
How long does Shanghai's online accommodation registration take?
Current official guidance explains submission, review and recovery after rejection but does not promise a universal processing time. Submit promptly and use a public-security service window if an unresolved online problem puts the 24-hour deadline at risk.
Must I register again every time I re-enter China?
Not always in Shanghai. A person with a still-valid foreigner's residence permit or Foreign Permanent Resident ID card, already registered at the same unchanged Shanghai address, does not need to repeat it after re-entry. If those conditions are not all met, register again.
Sources & last verified (August 2026):
- 24-hour hotel and non-hotel duty, and warning or fine up to RMB 2,000 — National Immigration Administration: nia.gov.cn
- Current Shanghai public-window and online procedure, effective April 1, 2025 — Shanghai Public Security Bureau: gaj.sh.gov.cn
- English online filing steps, rejection recovery and proof download — Shanghai Municipal Government: english.shanghai.gov.cn
- Hotel capability, private-residence routes, proof and same-address re-entry exception — Shanghai Public Security Bureau: gaj.sh.gov.cn
- Hotel and apartment-style hospitality definitions and equal guest access — Shanghai Municipal Government: english.shanghai.gov.cn
- Visa-free visitors and accommodation registration — Shanghai Municipal Government: english.shanghai.gov.cn
- Residence-permit address changes within 10 days — Shanghai Municipal Government: english.shanghai.gov.cn
- March 2026 national online-registration pilot locations — State Council of the People's Republic of China: english.www.gov.cn
Keep reading
- GuideYour first 30 days in Shanghai, in orderA practical Shanghai arrival hub for employees, students, families and short stays: what to prepare, what to do first and where each route splits.→
- GuideBefore you pay for a Shanghai apartmentBefore paying for a Shanghai rental, verify the owner, agent, contract, deposit, payment route, lease filing and 24-hour registration.→
- GuideMoving to Shanghai in 2026: The Complete GuidePlanning a move to Shanghai in 2026? An honest, no-commission guide to the decisions that matter before you come — cost, the right order, schools, visas, and daily life.→
helloChina weekly
Get the weekly Shanghai intel
One email a week — visa changes, housing, international schools and culture. Timely, practical, no fluff.
