This study discusses soil fertility under perennial cash crop farming (para rubber, Hevea brasiliensis ; black pepper, Piper nigrum ; oil palm, Elaeis guineensis ) conducted by local farmers and an oil palm estate in an upland area of Sarawak, Malaysia, in comparison with the surrounding secondary forests. In the farmlands of the local farmers, rubber farming was conducted without fertilizer application, while 2–5 t ha −1 of NPK compounds were applied annually on pepper farms. Soils under rubber farming were acidic with poor nutrient contents, resembling soils in secondary forests. In pepper farms, soils were less acidic and showed high nutrient contents, especially with respect to available P and exchangeable Ca. This trend became stronger with increasing farming duration. Fertilizers applied around pepper vines appeared to migrate and spread across the fields. Bulk density and hardness of surface soils were higher in pepper farms than in secondary forests, indicating soil compaction due to field works. In the oil palm estate, annual fertilizer application rates were moderate at 0.4–0.8 t ha −1 of NPK compound fertilizers. However, the soil properties in the oil palm estate were similar to those of the small-scale pepper farms. Close to the bases of the palms where fertilizers usually are applied, the contents of exchangeable Ca and available P were high. Nutrient uptake by the dense root systems of the palms seemed to prevent excessive loss of nutrients through leaching. Loss of soil organic matter and deterioration of soil physical properties were brought about by terrace bench construction, but the soils seemed to recover to some extent over time. In conclusion, technologies such as intercropping and the appropriate allocation of different crops to specific locations as well as the proper selection and dosage of fertilizers should be developed and adopted to improve fertilizer efficiency and prevent water pollution due to fertilizer wash-off from farmlands. Keywords Para rubber Black pepper Oil palm Soil fertility Sarawak Upland farming 1 Introduction In the upland of Sarawak, Malaysia, local farmers grow para rubber ( Hevea brasiliensis ) and black pepper ( Piper nigrum ) as perennial cash crops in addition to upland rice as their staple food by shifting cultivation practices. According to Crumb (2007) , rubber farming was introduced at the beginning of the 20th century. It was adopted preferentially by farmers applying shifting cultivation, as it could easily be incorporated into cropping/fallow systems by planting its seedlings simultaneously or in sequence with upland rice. On the other hand, pepper farming began in the 1870s but became widespread only after the Second World War because of the high requirements for labor and agrochemical input. One characteristic of rubber and pepper production in Sarawak is that it has been conducted mainly by smallholders supported by the government's agricultural policies. Recently, with increasing need for cash income in a monetary economy, the significance of cash crop farming has increased. As a result, the shifting cultivation for rice production, formerly the most important agricultural activity and consequently, the central element of traditional local farming societies ( Jensen, 1965; Freeman, 1970 ), changed into a mere component of a more diverse upland farming system ( Crumb, 1993 ). This tendency toward commercialization was strengthened by various kinds of subsidy schemes provided by the Department of Agriculture of the state since the 1970s. Meanwhile, since the 1970s and 1980s, large-scale oil palm ( Elaeis guineensis ) plantations have been developed rapidly by public agencies of the federal and state governments as well as by private companies ( Ngidang, 2002; Crumb, 2007 ). Some local farmers possess their own small-scale oil palm farm, sometimes supported by subsidies. The total areas under perennial cash crops in Sarawak were estimated to be 156,731 ha for rubber, 12,930 ha for pepper, and 508,307 ha for oil palm in 2004, which accounted for 16.8, 1.4, and 54.5% of the total agricultural land, respectively (Department of Statistics, Malaysia). The areas covered by rice (excluding fallow land) amounted to 60,354 ha for lowland and 66,065 ha for upland varieties. The area used for oil palm farming expanded from 116,036 ha in 1995 to 508,307 ha in 2004 while those of other crops stagnated or declined slightly. The farmlands utilized for rice and cash crops as well as oil palm farming tend to be located along roadsides or rivers because of easy access and transportation ( Hansen and Mertz, 2006 ), resulting in an increasing intensity of land use at such favorable sites. In the traditional shifting cultivation, upland rice was grown only once after slashing and burning of secondary forest that was more than 10–15 years old; afterwards, the field was turned to fallow. Nowadays, the fallow period is around 5 years and upland rice is cultivated two to three times in a row ( Kendawang et al., 2005 ). Chemical fertilizers are widely used, especially in pepper and oil palm farming. This transformation from traditional shifting cultivation with low external input toward more sedentary farming practices with high input may affect soil fertility and, in consequence, the sustainability of the upland agricultural system. The transformation and present situation of upland agriculture in Sarawak have been studied mostly from socioeconomic viewpoints ( Best, 1988; Cooke, 2002; Ngidang, 2002; Hansen, 2005; Crumb, 2007; Ichikawa, 2007 ). Regarding crop production, numerous field trials have been carried out in peninsular Malaysia and Sarawak to optimize land management practices including fertilizer application (see, for example, Broughthon, 1977 for rubber, Raj, 1972 for pepper, Agamuthu and Broughton, 1985 and Khalid et al., 2000 for oil palm). The impacts of soil erosion were examined in the context of...