In mathematical analysis, a **domain** or **region** is a non-empty connected open set in a topological space, in particular any non-empty connected open subset of the real coordinate space **R**^{n} or the complex coordinate space **C**^{n}. This is a different concept than the domain of a function, though it is often used for that purpose, for example in partial differential equations and Sobolev spaces.

The basic idea of a connected subset of a space dates from the 19th century, but precise definitions vary slightly from generation to generation, author to author, and edition to edition, as concepts developed and terms were translated between German, French, and English works. In English, some authors use the term *domain*,^{[1]} some use the term *region*,^{[2]} some use both terms interchangeably,^{[3]} and some define the two terms slightly differently;^{[4]} some avoid ambiguity by sticking with a phrase such as *non-empty connected open subset*.^{[5]} One common convention is to define a *domain* as a connected open set but a *region* as the union of a domain with none, some, or all of its limit points.^{[6]} A **closed region** or **closed domain** is the union of a domain and all of its limit points.

Various degrees of smoothness of the boundary of the domain are required for various properties of functions defined on the domain to hold, such as integral theorems (Green's theorem, Stokes theorem), properties of Sobolev spaces, and to define measures on the boundary and spaces of traces (generalized functions defined on the boundary). Commonly considered types of domains are domains with continuous boundary, Lipschitz boundary, *C*^{1} boundary, and so forth.

A **bounded domain** is a domain which is a bounded set, while an **exterior** or **external domain** is the interior of the complement of a bounded domain.

In complex analysis, a **complex domain** (or simply **domain**) is any connected open subset of the complex plane **C**. For example, the entire complex plane is a domain, as is the open unit disk, the open upper half-plane, and so forth. Often, a complex domain serves as the domain of definition for a holomorphic function. In the study of several complex variables, the definition of a domain is extended to include any connected open subset of **C**^{n}.

Definition. Eine offene Punktmenge heißt zusammenhängend, wenn man sie nicht als Summe von zwei offenen Punktmengen darstellen kann. Eine offene zusammenhängende Punktmenge heißt ein Gebiet.^{[7]}— Constantin Carathéodory, (Carathéodory 1918, p. 222)

According to Hans Hahn,^{[8]} the concept of a domain as an open connected set was introduced by Constantin Carathéodory in his famous book (Carathéodory 1918). Hahn also remarks that the word "*Gebiet*" ("*Domain*") was occasionally previously used as a synonym of open set.^{[9]} The rough concept is older. In the 19th and early 20th century, the terms *domain* and *region* were often used informally (sometimes interchangeably) without explicit definition.^{[10]}

However, the term "domain" was occasionally used to identify closely related but slightly different concepts. For example, in his influential monographs on elliptic partial differential equations, Carlo Miranda uses the term "region" to identify an open connected set,^{[11]}^{[12]} and reserves the term "domain" to identify an internally connected,^{[13]} perfect set, each point of which is an accumulation point of interior points,^{[11]} following his former master Mauro Picone:^{[14]} according to this convention, if a set *A* is a region then its closure *A* is a domain.^{[11]}