Thermoacoustic tomography (TAT) is a technique that measures microwave-induced thermoacoustic waves at the boundary of biological tissue and generates images of internal microwave absorption distributions from the measurements. Existing reconstruction algorithms for TAT are based on the assumption that the acoustic properties in the tissue are homogeneous. Biological tissue, however, has heterogeneous acoustic properties, which lead to distortion and blurring of small buried objects in the reconstructed images. In this paper we develop a correction method based on ultrasonic transmission tomography (UTT) to improve the image quality of TAT. Numerical simulations and phantom experiments verify the effectiveness of this correction method.