When you get above level 40, your pokemon can be maxed up beyond what they can be powered up with regular candy, and you have to use XL candy.
What do I do with these XL candies? How do I use them? - Facebook
This summary was compiled by our editorial team from publicly available information for quick reading. For full details, refer to original reporting where available.