A major threat to the siamang is habitat loss due to plantation, forest fire, illegal logging, encroachment, and human development. Firstly, palm-oil plantations have removed large areas of the siamang's habitat in the last four decades. Since 2002, 107,000 km2 of oil palm have been planted,[20] which has replaced much rainforest in Indonesia and Malaysia, where the siamang originally lived.