Yucca trees prefer full sunlight but tolerate some shade as well. Yuccas are drought-resistant and can tolerate dry soil between watering. A slow-release 19-6-2 fertilizer is ideal for the plant, and gardeners should apply it every three months. Fungicide can treat leaf spot, stem rot and southern blight, which affect yucca trees. Signs of these infections include yellow or gray leaves, round red spots and small white fan-shaped marks.
With the proper light, water and nutrients, yucca trees can grow up to 25 feet tall and 8 feet wide in zones six to nine. Gardeners can also keep smaller varieties of the yucca plant indoors in pots anywhere there is bright sunlight available.
Varieties such as Yucca elephantipes are ideal for indoor containers. The plant can be top-heavy, so a heavy pot is ideal for preventing tipping. Weigh down the pot using rocks and gravel in combination with the potting soil. The plant requires water when the top layer of soil is dry to the touch.
To keep the plant from outgrowing an indoor space, prune it by removing the plant from the pot, marking the trunk above the halfway point, and cutting off the top portion of the plant using a saw or garden clippers. Early spring is the best time for pruning. Discard the top portion of the plant, or plant it in its own pot to propagate a new yucca plant.