In a medium saucepan, whisk together the unsweetened cocoa powder and sugar until well combined.
In a separate small bowl, dissolve the cornstarch in the water to create a slurry, then pour it into the saucepan.
Stir everything together until you have a smooth, thick paste.
Place the saucepan over medium-low heat.
While whisking constantly, slowly and gradually pour in the milk.
Continue whisking to ensure the paste fully dissolves into the milk without any lumps.
Increase the heat to medium and bring the mixture to a gentle simmer, whisking frequently to prevent it from scorching on the bottom.
Let it simmer for 8-10 minutes, stirring often, until the hot chocolate has thickened to a glossy, pudding-like consistency.
Serve immediately while steaming hot.