To any essentially small tensor-triangulated category K and Thomason subset Y⊆Spc(K) we associate a ringed space (Spf(K,Y),OSpf(K,Y)), called the formal spectrum of (K,Y). We establish basic properties of this construction and compute it in several examples from algebraic geometry, chromatic homotopy theory, equivariant homotopy theory, and modular representation theory.