Every foreign visitor in mainland China must have their accommodation registered with police within 24 hours of arrival. Hotels do this automatically at check-in. What almost nothing explains is that the registration is tied to the specific address — not the city. Move to a second address, even within Shanghai, and the clock resets.
This matters more than it sounds. A visitor staying three nights with one friend in Jing’an and two nights with another in Pudong has, technically, two separate registration events to complete. So does someone who checks out of a hotel and moves into a short-term rental ten minutes away. The rule follows the address, not the trip.
What the rule actually says
The requirement comes from China’s regulations on the administration of entry and exit of foreigners, which place a registration duty on both the visitor and whoever hosts them. Hotels, guesthouses and licensed short-term rentals are wired into the system — the registration happens as part of check-in, usually through the same desk that scans your passport. You do not do anything extra.
Staying in a private home or an unlicensed rental removes that layer. There is no front desk to do it for you. The host, or the visitor, must go in person to the local police station — the paichusuo (派出所) covering that address — within 24 hours.
For the current wording and any recent amendments, the Shanghai Public Security Bureau’s exit-entry pages are the primary source, and China’s Ministry of Public Security publishes the national regulation itself.
Why “within 24 hours” is not the whole rule
The 24-hour window is the part every guide repeats. The part they drop is that it applies per address, every time the address changes. Shanghai is large. A visitor can cross from Puxi to Pudong, or from one friend’s apartment to another’s, without ever leaving the city — and still trigger a fresh registration requirement each time.
This catches two groups in particular:
- Visitors staying with family or friends at more than one home during a single trip
- Longer-stay visitors or residents who move flats within Shanghai and assume the first registration still covers them
Neither group is doing anything unusual. Neither is covered by “hotels handle it automatically,” because neither is in a hotel.

The penalty most pages leave out
Failure to register is not a formality with no consequence. China’s exit-entry law sets a fine band for unregistered accommodation, and the published figure is RMB 500 to RMB 2,000 per lapse, as stated in the national regulation (figures correct as of 2024 — confirm current amounts on the Ministry of Public Security’s own site before relying on them, since penalty schedules can be revised).
The fine is levied on the individual who failed to register, though in practice a host who fails to report a guest can also be held responsible. It is enforced unevenly — many visitors never encounter it — but it exists, it is checkable, and it is the reason the address-specific nature of the rule is worth stating plainly rather than folding into one line about hotels.

A simple way to see the difference
| Situation | Who registers | When |
|---|---|---|
| Hotel or licensed guesthouse | Hotel, automatically at check-in | Built into check-in |
| Private home, one address, whole trip | Visitor or host, in person | Within 24 hours of arrival |
| Private home, then a second private home in the same city | Visitor or host, in person, again | Within 24 hours of the move |
| Short-term rental not licensed as accommodation | Visitor, at the local paichusuo | Within 24 hours of arrival |
The pattern is simple once it’s stated: the obligation attaches to the bed, not the itinerary.
What this means in practice
Anyone moving between private addresses in Shanghai should know, in advance, which police station covers each one — Amap or Baidu Maps will show the nearest paichusuo, since Google Maps does not function in mainland China at all. Carrying a passport at all times is standard practice anyway, and it is the document the station will ask for.
None of this is advice on visa eligibility or entry requirements — those questions belong to the reader’s own government and to China’s own embassy or consulate, and our Visas & Entry archive covers the adjacent, frequently confused topic of transit-without-visa geography in more detail. This article covers one narrow mechanical fact: where you sleep, and how often that changes, is what the registration clock actually tracks.

Where this fits with everything else
Registration is one small piece of a bigger pattern in Shanghai: the city runs smoothly once a visitor’s documentation and phone setup are in order, and badly otherwise. The same logic applies to paying for the metro, to booking free museums, and to getting money moving through Alipay or WeChat Pay before relying on them for anything. None of it is expensive or complicated in itself. All of it needs doing before, not after, arrival.
For the related mechanics, see how Alipay or WeChat Pay works with a foreign card, what else does not work in China including two-factor logins tied to blocked apps, and how the 144-hour transit rule’s geography trap catches travelers who assume a stopover counts as entry. The Getting Around archive and Money & Your Phone archive cover the rest of the preparation this city rewards.
Access Shanghai does not advise on individual visa or registration cases. For how this site sources and checks what it publishes, see About.
Access Shanghai is an independent guide written from published, checkable sources. We have not visited the places described here and we do not publish personal recommendations or invented ‘local favorites’ — where something is singled out as notable, we say who says so. Opening times, fares, closures and prices change at short notice, so treat everything here as a starting point and confirm with the museum, operator or venue directly before building a day around it. We give no advice on visas, insurance, health or safety; use your own government’s official guidance for those.