Lightly grease an 8×8-inch baking pan or line it with parchment paper for easy removal.
In a saucepan, combine the sugar, milk, and butter over medium heat.
Bring the mixture to a boil, stirring frequently. Once boiling, cook for 3 minutes.
Remove the saucepan from the heat.
Stir in the peanut butter and vanilla extract until the mixture is smooth, creamy, and fully combined.
Immediately pour the fudge into the prepared pan and spread it evenly.
Let it cool completely at room temperature until firm.
Cut into small squares and serve. Store leftovers in an airtight container.