Apple of Sodom is native to parts of Africa, the Middle East, South Asia, and the Arabian Peninsula, flourishing in semi-arid conditions. It has been introduced to the Americas, Southeast Asia, and the Caribbean, where in certain areas, it may be considered to have an impact on native ecosystems due to its robust growth and adaptability. As an introduced species, apple of Sodom is sometimes thought to be a competitive presence, potentially affecting local flora.