This dissertation by Aaron Alexander Jones examines the relationship between microbial community structure, function, and mineral surfaces in subsurface environments. Chapter 1 introduces the motivation and questions. Chapter 2 demonstrates that biofilm growth and microbial diversity are highly dependent on the type of mineral surface in nutrient-limited systems. Chapter 3 shows that mineral type controls up to 90% of phylogenetic diversity regardless of environmental conditions, indicating mineral selection is genetically ingrained. It also reveals shifts in community structure and function that impact geochemistry. Chapter 4 provides evidence that carbon isotope fractionation can be used to infer microbial community structure and function in sulfuric acid cave ecosystems.