This is an in-depth look at baryon number violation in the Standard Model including the necessary background in finite temperature field theory, plasma dynamics and how to calculate the out of equilibrium evolution of particle number densities throughout a phase transition. It is a self-contained pedagogical review of the theoretical background to electroweak baryogenesis as well as a summary of the other prevailing mechanisms for producing the asymmetry between matter and antimatter using the Minimal Supersymmetric Standard Model as a pedagogical tool whenever appropriate.