This book provides a comprehensive, self-contained introduction to one of the most exciting frontiers in astrophysics today: the quest to understand how the oldest and most distant galaxies in our universe first formed. Until now, most research on this question has been theoretical, but the next few years will bring about a new generation of large telescopes that promise to supply a flood of data about the infant universe during its first billion years after the big bang. This book bridges the gap between theory and observation. It is an invaluable reference for students and researchers on early galaxies. The book starts from basic physical principles before moving on to more advanced material. Topics include the gravitational growth of structure, the intergalactic medium, the formation and evolution of the first stars and black holes, feedback and galaxy evolution, reionization, 21-cm cosmology, and more.