Abstract The advantages of wavelet packet transform and Trellis-Coded Quantization (TCQ) are introduced and compression algorithm for SAR raw data based on wavelet packet transform and TCQ is given. Compression performance of the algorithm on simulated and real raw data analysis is presented and compared with other techniques by different quality parameters, which shows that the algorithm is suit for compression of SAR raw data.