We explored the background of differences in long-term stability between two parts in an undisturbed mire system (Rospuda fen, NE Poland). We re-constructed the Holocene history of the mire and compared it with current vegetation, water level dynamics, water chemistry and nutrient availability in two basins: A, where the mire terrestrialised a deep gyttja-filled lake, and B, where peatland developed directly on fluvial sands. The current vegetation of sedgemoss fens was described in 10 relevés from each basin, groundwater was sampled from piezometers and analysed for major ions, while its relative water level was recorded during three years. N and P content was measured in above ground vascular plant samples collected within the relevés. Fens in basin A were stable in the past, whereas fens in basin B switched between open and wooded or reed-dominated phases. In basin B, where trees are more abundant, we found higher water fluctuations, occurrence of river floods and a higher N:P ratio than in basin A. Our interpretation follows that the subsurface geology of fen basin may govern mire stability by determining its hydrological-buffering capacity, which may affect N:P ratios. Our results suggest that Plimited fens are more vulnerable for changes in water level.