Native to tropical regions of the Americas, Selenicereus undatus grows as a climbing cactus in warm, humid settings where water moves through the root zone quickly. That background explains why dragon fruit soil should be airy and well drained rather than dense or heavy.
Its roots are relatively shallow and benefit from a sandy or loose loamy texture with some organic matter. This balance gives enough moisture retention for steady growth, while keeping oxygen around the roots and preventing soggy conditions that a cactus root system does not handle well.