The aerobic granular biomass technology was optimized for treating nitrate-polluted groundwater based on the biological denitrification processes in order to provide drinking water. Reactors inoculated with granular biomass were operated at progressively lower C/N rate using acetate and methanol to encourage heterotrophic denitrification, in order to meet the recommended requirements described by European Drinking Water Framework Directive. The granulation and long-term stability of granular biomass under low C/N were successful for all stages, demonstrated compactness of granules and absence of filamentous microorganisms. The nitrate removal was similar in methanol- and acetate-fed reactors, occurring in both cases nitrate removal ratios > 80%, and fact allows the selection of one of both depending groundwater polluted case. Also, feeding reactors with 2 C/N ratio showed nitrate removal values of ≥ 95%, treating highly polluted groundwater (100 mg·L−1). The microbial diversity was higher in the methanol-fed reactor with representative phylotypes as Flavobacterium, Cytophagaceae, NS9 marine group, while species richness was higher in the acetate-fed reactor, which was mainly represented by Flavobacterium genus. Statistical analyses revealed the higher resilience of bacterial population on granules fed with acetate, showing more resistance under drop C/N ratio. Oscillating pollution in groundwater during seasonal periods should be treated using acetate as carbon source for denitrification carried out by granular biomass, while stable pollution concentrations over time allow the use of methanol as a carbon source since the greater microbial diversity allows the elimination of other contaminants present in groundwater.