We study the mathematical model of thermoacoustic tomography in media with a variable speed for a fixed time interval [0, T ] so that all signals issued from the domain leave it after time T . In case of measurements on the whole boundary, we give an explicit solution in terms of a Neumann series expansion. We give almost necessary and sufficient conditions for uniqueness and stability when the measurements are taken on a part of the boundary.Â