In order to better understand and analyze the unsaturated stability of loess fillings, it is necessary to study the changes in suction stress before and after the drying-wetting cycles. In this study, the soil-water characteristic curve (SWCC) of compacted loess before and after drying-wetting cycles was tested using the filter paper method. Then, the suction stress was calculated and the microstructure of the loess sample was determined by the scanning electron microscope(SEM)and nuclear magnetic resonance (NMR). The results showed that the drying-wetting cycles had an important influence on the suction stress characteristic curve (SSCC) and microstructure of compacted loess. The change in suction stress before and after the drying-wetting cycles can be explained by the loess microstructure. The drying-wetting cycles did not significantly change the basic trend of the compacted loess's suction stress, but it increased the porosity and the diameter of the dominant pore (i.e., the inter-aggregate pore) of the sample, and reduced the suction stress when the same matrix suction was applied. The main significant change in suction stress with matrix suction occurred within the range of the dominant soil pores. The larger the diameter of the dominant pore, the smaller the suction stress under the same matrix suction. In addition, this study also proposes a new method for calculating suction stress based on the pore size distribution(PSD) parameters, which is more convenient than traditional calculation methods based on SWCC parameters.