Put on gloves and protective eyewear, and if the yucca is large, clothing to protect your skin. Cut off any side branches to the main trunk.
Measure the yucca with a measuring tape. Divide the total height into 3- or 4-foot sections if the yucca is over 6 feet tall for easy handling of cut pieces. Mark approximate cutting locations on leaves using a marking pen. Remove the top in one piece for smaller plants.
Cut the yucca plant at the marked locations with a pruning saw, beginning from the top of the plant. Use a ladder to reach the top and a long-handled pruning saw if necessary. Remove leaves with the pruning shears or pruning saw if they interfere with making the initial cuts.
Remove the cut pieces of yucca for discard or for propagation. Clean up any debris, especially old leaves with sharp tips. Don't discard leaves in compost piles because the leaf tips remain sharp for a long time.
Continue to care for the plant base as normal.