This book introduces the theory and formalism of electroweak baryogenesis. The expanded second edition includes an overview of novel calculation techniques, as well as an updated discussion of gravitational waves, collider signatures and electric dipole moments.