Last week I wanted a single question answered: if a 30-day Chinese tourist visa was used on 31 December, what is the last legal day in the country? The obvious answer, "31 December", is wrong. The correct one is 30 January, and finding out why took four documents, one of which is a 2021 reply to a stranger's question on a government website.

This is a write-up of the search, because the shape of it repeats: the statute gives a number, the regulation gives a definition, and the actual grading sits one layer further down, where no one looks.

Layer 1: the statute gives the outer penalty

The Exit and Entry Administration Law (in force since July 2013) says this about overstaying, in article 78:

A foreigner who illegally resides shall be given a warning; where the circumstances are serious, a fine of 500 yuan per day of illegal residence, with the total not exceeding 10,000 yuan, or detention of not less than five days and not more than fifteen days.

Two things are missing from that sentence. It does not define what counts as a day of illegal residence, and it does not say when "the circumstances are serious". Both matter: the difference between a warning and detention is the difference between a stamp in a passport and a stay in a cell.

Layer 2: the regulation defines the clock, in the wrong place

The State Council regulation underneath the law (Order No. 637 of 2013, revised in 2025 by Order No. 814) contains the counting rule. It is not in the chapter on stay management. It is in article 36, the definitions article at the very end:

The stay period stated in the visa means the time the holder is permitted to stay after each entry, counted from the day after entry.

That one clause produced the 30 January answer. Entry on 31 December means day one is 1 January, and thirty days from there is 30 January. The arrival day is not a day of your stay. Nothing in the visa sticker says this.

The same article also settles a second trap. Article 13 gives the police counter a receipt "valid for no more than 7 days", which reads as a calendar week. The last paragraph of article 36 says every approval period and receipt period in the regulation is counted in working days, excluding public holidays. A seven-day receipt is therefore up to nine or ten calendar days around a holiday.

Layer 3: the tiers are in a Q&A reply

Article 78 sets 500 yuan per day, capped at 10,000 yuan, for "serious" cases. The National Immigration Administration's published answer to a 2021 question fills in the tiers:

  • 10 days or less past the visa: warning.
  • 10 to 60 days past the visa: 500 yuan per day, counted from day 11, capped at 10,000 yuan, or five days' detention.
  • 60 days or more, or a repeat overstay of 20 days or more: 10,000 yuan, or five to fifteen days' detention.
  • A visa-free overstay of up to 20 days: 500 yuan per day, with no grace period mentioned.

The "counted from day 11" parenthetical is doing a lot of work. It means a 12-day overstay costs 500 yuan, not 6,000. It also means the cap arrives at day 30, and every day from 31 to 60 is free at the margin, because the total cannot exceed 10,000 yuan.

I found no other official document that prints those brackets. The statute does not, the regulation does not, and the city-level service guides I read only reproduce the statute's sentence.

The code I used to check my own arithmetic

Dates and money are where I make mistakes, so I wrote both calculations as assertions rather than trusting a mental count:

from datetime import date, timedelta def last_legal_day(entry: date, stay_days: int) -> date: # art. 36(3): the stay is counted from the day after entry return entry + timedelta(days=stay_days) def overstay_fine(days: int, visa_free: bool = False) -> tuple[int, str]: """Published grading: returns (fine, sanction).""" if days <= 10 and not visa_free: return 0, "warning" if visa_free: if days <= 20: return min(days * 500, 10_000), "fine or 5 days detention" return 10_000, "10,000 or 5-15 days detention" if days <= 60: return min(max(days - 10, 0) * 500, 10_000), "fine or 5 days detention" return 10_000, "10,000 or 5-15 days detention" assert last_legal_day(date(2026, 12, 31), 30) == date(2027, 1, 30) assert overstay_fine(10) == (0, "warning") assert overstay_fine(11)[0] == 500 assert overstay_fine(30)[0] == 10_000 assert overstay_fine(45)[0] == 10_000 # cap, not 17,500 assert overstay_fine(20, visa_free=True)[0] == 10_000 

The last two asserts are where the published text and intuition part company. In the visa band the fine is capped from day one, so 20 days hits the ceiling. In the visa-free band there is no ten-day grace written in, so the ceiling arrives earlier.

What the documents could not answer

Three questions stayed open, and I left them open in the write-up rather than filling them with a plausible guess:

  1. Applying late. The law says apply at least seven days before the stay ends. It does not say what a counter does with an application filed with three days left.
  2. Whether the ceilings are granted. The service guide lists a maximum extension per visa category, 30 days for tourist visas and 180 for several business and family categories. Nothing published says how often the maximum is granted.
  3. How the grading lands in practice. No public statistics on warnings, fines and detention exist, so the tiers describe a standard, not outcomes.

What I would tell the next person doing this

Read the definitions article first. In Chinese administrative texts the definitions sit at the end of the regulation, and they carry the rules that change the arithmetic: what a day is, which days count, whether "7 days" means working days. The operative articles assume you have already read them.

Also check the revision date before citing an article number. The regulation was revised in 2025, and the 2025 amendment added one visa category and renumbered items. A blog post citing the 2013 numbering will look right and be wrong.

The full write-up, with the tables and the article-by-article citations, is at notebookfield.com.

Drafted with an AI assistant from my own reading of the primary documents; every clause number and link here was checked against the source.