This book explains nonequilibrium statistical physics from the fundamentals to the most recent topics. It covers Brownian motion and Langevin equations, kinetic theory from gases to granular and active matter, it discusses how to model stochastic processes from data, it treats general subjects such as entropy production and fluctuations in small systems.