Conditional random field (CRF) has been widely used in optical image and remote sensing image segmentation because of the advantage of directly modeling the posterior distribution and capturing arbitrary dependencies among observations. However, for nonstationary SAR images, applications of CRF often fail because of their nonstationary property. The triplet Markov field (TMF) model is well appropriate for nonstationary SAR image processing, owing to the introduction of an auxiliary field which reflects the nonstationarity. Therefore, we introduce an auxiliary field to describe the nonstationarity of the posterior distribution and propose an unsupervised SAR image segmentation algorithm based on a conditional TMF (CTMF) framework which combines the advantages of both CRF and TMF. The proposed CTMF framework explicitly takes into account the nonstationary property of SAR images, directly models the posterior distribution, and considers the interactions among the observed data. Experimental results on real SAR images validate the effectiveness of the algorithm proposed in this letter.