Intensive pig (Sus scrofa domesticus) production is an important economic activity in the northeast of Spain. Pig slurry (PS) is applied annually to maize (Zea mays L.) fi elds and supplemented with mineral N fertilizer at sidedressing. Fertilization with PS at diff erent rates during four consecutive years was evaluated for its eff ects on soil salinity, water-stable aggregates (WSA), and crop response of two consecutive barley (Hordeum vulgare L.) and maize crops. We observed that the fertilization of maize with PS for four consecutive years did not increase soil salinity compared with mineral fertilization. We observed, however, an improvement in soil stability, which was measured by WSA, under PS fertilization (WSA = 16.0 ± 6.9%) compared with mineral fertilization (WSA = 5.6 ± 2.4%). Th e agronomic residual eff ect of the PS treatments on the barley crop was quantifi ed in terms of the N fertilizer replacement value (NFRV) as 77 kg N ha -1 and was not associated with PS rates applied during the previous 4 yr. For the maize crop, a signifi cant N residual eff ect was also detected; the NFRV ranged between 11 and 56 kg N ha -1 and was signifi cantly related to the PS rates applied the previous years. Th ese results indicate that the annual application of PS to sprinkler-irrigated maize at agronomic rates does not induce soil salinization, can have benefi cial eff ects on some soils by increasing aggregate stability, and can provide signifi cant amounts of N to subsequent crops. It is important to consider residual N eff ects in fertilizer planning to avoid N losses from the system.