Chocolate is one of the more difficult stains to remove from any surface, including a white shirt, because of the milk proteins that stain the fabric along with the chocolate. This double-staining action tends to resist more traditional cleansing methods and requires a little more creativity. However, with the right ingredients, you can remove chocolate from any fabric, including a white shirt.
Remove as much excess chocolate as you can by scraping it off the fabric. Attempt to scrape off the excess without expanding the size of the stain.
Apply a laundry stain remover that is designed for prewash treatment of stains. Follow the instructions on the container to ensure that you treat the stain correctly.
Wash the shirt in hot water, along with chlorine bleach. Check the shirt before your dry it. If the stain remains, the heat from the dryer will set it, making it more difficult to remove. If the stain persists, follow the procedures again until it is gone.