The development of the theory of thermal radiation is important for studies of many physical phenomena (see, e.g., [1]). The derivation of exact relations between the characteristics of equilibrium radiation and the electromagnetic properties of matter is of great significance. In this work, we calculate the spectral distribution of the energy of equilibrium radiation in the presence of matter, which obviously differs from the well known Planck formula corresponding to the blackbody model (see, e.g., [2]). This is topical because the Planck distribution corresponds to an equilibrium ideal photon gas, whereas the presence of at least a small amount of matter is necessary for the possibility of obtaining equilibrium radiation, because the direct interaction between photons is absent in nonrelativistic theory [2]. In fact, it is implicitly accepted that the equilibrium properties of an ideal photon gas are limiting properties of a real system of the electromagnetic field and matter in thermody namic equilibrium.To solve the formulated problem, we consider a sys tem of nonrelativistic particles and photons in the vol ume V. The Hamiltonian of such a system in the sec ond quantization representation has the form [3] (1)and are the field creation and annihilation operators, respectively, for charged parti cles of type a, which have the mass m a , charge z a e, and operator of the intrinsic magnetic moment ; andis the Hamiltonian of the free field of radiation:,where the creation ( ) and annihilation ( ) operators for photons with momentum បk and polar ization λ = 1, 2 satisfy the commutation relations [ , ] = δ k, k' δ λ,λ' ; is the vector potential corresponding to the quantized electromagnetic field:(3)where are the polarization vectors of photons sat isfying the conditions ,and is the Hamiltonian of the Coulomb interac tion between charged particles:An exact relation has been obtained for the spectral distribution of the energy of radiation in thermodynamic equilibrium with a system of charged nonrelativistic particles. The difference from the Planck formula is unambiguously determined by the transverse permittivity of a medium, which takes into account not only fre quency dispersion but also spatial dispersion.