Invasive fungal infections are associated with high mortality, which is exacerbated by the limited antifungal drug armamentarium and increasing antifungal drug resistance. Echinocandins are a frontline antifungal drug class targeting β-glucan synthase (GS), a fungal cell wall biosynthetic enzyme. Echinocandin resistance is generally low but increasing in species like Candida glabrata, an opportunistic yeast pathogen colonizing human mucosal surfaces. Mutations in GS-encoding genes (FKS1 and FKS2 in C. glabrata) are strongly associated with clinical echinocandin failure, but epidemiological studies show that other, as yet unidentified factors also influence echinocandin susceptibility. Furthermore, although the gut is known to be an important reservoir for emergence of drug-resistant strains, the evolution of resistance is not well understood. Here, we studied the evolutionary dynamics of C. glabrata colonizing the gut of immunocompetent mice during treatment with caspofungin, a widely-used echinocandin. Whole genome and amplicon sequencing revealed rapid genetic diversification of this C. glabrata population during treatment and the emergence of both drug target (FKS2) and non-drug target mutations, the latter predominantly in the FEN1 gene encoding a fatty acid elongase functioning in sphingolipid biosynthesis. The fen1 mutants displayed high fitness in the gut specifically during caspofungin treatment and contained high levels of phytosphingosine, whereas genetic depletion of phytosphingosine by deletion of YPC1 gene hypersensitized the wild type strain to caspofungin and was epistatic to fen1Δ. Furthermore, high resolution imaging and mass spectrometry showed that reduced caspofungin susceptibility in fen1Δ cells was associated with reduced caspofungin binding to the plasma membrane. Finally, we identified several different fen1 mutations in clinical C. glabrata isolates, which phenocopied the fen1Δ mutant, causing reduced caspofungin susceptibility. These studies reveal new genetic and molecular determinants of clinical caspofungin susceptibility and illuminate the dynamic evolution of drug target and non-drug target mutations reducing echinocandin efficacy in patients colonized with C. glabrata.