Abstract. Agpaitic nepheline syenites have complex, Na-Ca-Zr-Ti minerals as the main hosts for zirconium and titanium, rather than zircon and titanite, which are characteristic for miaskitic rocks. The transition from a miaskitic to an agpaitic crystallization regime in silica-undersaturated magma has traditionally been related to increasing peralkalinity of the magma, but halogen and water contents are also important parameters. The Larvik Plutonic Complex (LPC) in the Permian Oslo Rift, Norway consists of intrusions of hypersolvus monzonite (larvikite), nepheline monzonite (lardalite) and nepheline syenite. Pegmatites ranging in composition from miaskitic syenite with or without nepheline to mildly agpaitic nepheline syenite are the latest products of magmatic differentiation in the complex. The pegmatites can be grouped in (at least) four distinct suites from their magmatic Ti and Zr silicate mineral assemblages. Semiquantitative petrogenetic grids for pegmatites in log aNa2SiO5 -log aH2O -log aHF space can be constructed using information on the composition and distribution of minerals in the pegmatites, including the Zr-rich minerals zircon, parakeldyshite, eudialyte, låvenite, wöhlerite, rosenbuschite, hiortdahlite and catapleiite, and the Ti-dominated minerals aenigmatite, zirconolite (polymignite), astrophyllite, lorenzenite, titanite, mosandrite and rinkite. The chemographic analysis indicates that although increasing peralkalinity of the residual magma (given by the activity of the Na2Si2O5 or Nds component) is an important driving force for the miaskitic to agpaitic transition, water, fluoride (HF) and chloride (HCl) activity controls the actual mineral assemblages forming during crystallization of the residual magmas. The most distinctive mineral in the miaskitic pegmatites is zirconolite. At low fluoride activity, parakeldyshite, lorenzenite and wöhlerite are stable in mildly agpaitic systems. High fluorine (or HF) activity favours minerals such as låvenite, hiortdahlite, Unauthenticated Download Date | 5/12/18 1:08 PM 62 rosenbuschite and rinkite, and elevated water activity mosandrite and catapleiite. Astrophyllite and aenigmatite are stable over large ranges of Nds activity, at intermediate and low water activities, respectively.