Add vanilla and nuts: Once the fudge mixture has cooled slightly, stir in the vanilla extract and chopped nuts (if using). The vanilla enhances the flavor, and the nuts add a delightful crunch that contrasts the smooth fudge.
Beat the mixture: Using a wooden spoon, beat the mixture vigorously for about 5–10 minutes. You’ll notice it thickens and begins to lose some of its glossy shine. This step is key to creating the classic fudge texture that is both creamy and firm once set.
Pour into the pan: Quickly pour the fudge into the prepared baking dish, spreading it evenly across the surface. Be sure to work quickly as the fudge will start to set as it cools.
Cool and set: Allow the fudge to cool at room temperature for about 2 hours, or until it has completely set. If you want to speed up the process, you can refrigerate the fudge to help it firm up faster.
Cut and serve: Once the fudge has set, lift it out of the pan using the parchment paper. Cut it into squares, and your delicious homemade Hershey cocoa fudge is ready to serve! Enjoy!