A XX is locally compact if every point xXx\in X has a neighborhood whose closure is . For a , this is equivalent to requiring each point to have a base of relatively compact neighborhoods.

Local compactness is weaker than compactness: Euclidean space Rn\mathbb R^n is locally compact but is not compact. The hypothesis is especially important in theory because translations carry a compact neighborhood of the identity to compact neighborhoods of every point.