This tree is grown for its fruit, which is high in vitamin A and C. The leaves are used to treat colds, fever, diarrhea, muscular strains and skin wounds. The bark is used to treat diarrhea and ulcers. The tree is often planted to form living fences in Costa Rica.