Vietnam under Chinese rule or Bắc thuộc (北屬 lit. "belonging to the north") (111 BCE–939 CE, 1407–1428 CE) refers to four historical periods during which several portions of modern-day northern and central Vietnam were governed by successive Chinese dynasties. Vietnamese historiography traditionally dates the beginning of this period to 111 BCE, when the Han dynasty annexed Nanyue (Vietnamese: Nam Việt). Chinese control continued in various forms until 939 CE, when the Ngô dynasty was established, marking the end of what is usually referred to as the main phase of Chinese rule. A later period of occupation by the Ming dynasty from 1407 to 1428 is often treated as a distinct episode. Notably, parts of Vietnam were under Chinese rule for longer than several territories that now form the modern provinces of China, underlining the longevity and depth of Chinese influence in the region over many centuries.
The historiography of this period has become a subject of scholarly debate, particularly concerning how national and cultural identities have been retroactively applied. Historians such as Catherine Churchman, Jaymin Kim, and Keith W. Taylor argue that many narratives about Bắc thuộc are shaped by modern constructs, often influenced by nationalist or anti-colonial sentiment. These scholars emphasise that the idea of an unbroken narrative of resistance or subjugation simplifies a more complex historical relationship, which included periods of accommodation, syncretism and local autonomy. Recent research critiques the use of this history as a tool for contemporary nationalist and irredentist projects in Vietnam, China and elsewhere.