The boron isotopic composition of tourmaline and hambergite (Be2BO3[OH,F]) from peraluminous (n = 12), peralkaline (n = 1), and peralkaline nepheline syenite (n = 16) pegmatites has been measured by secondary ion mass spectrometry, for which a new hambergite reference material was developed. The focus of this study is on nepheline syenite pegmatites from the Larvik Plutonic Complex (Norway) and one peralkaline pegmatite related to the nearby Eikeren-Skrim Complex (Norway), where we investigate the source of boron as being from magmatic vs. external fluids. Tourmaline-hambergite mineral pairs were also analysed from peraluminous pegmatite localities (Russia, Tajikistan, and Pakistan) to test for systematic B-isotope fractionation between these two minerals. Tourmaline and hambergite from peraluminous granitic pegmatites have light boron ratios (δ11B = −12.9to −1.0‰) associated with S-type granites, whereas peralkaline granitic and nepheline syenite pegmatites have boron ratios (δ11B = −1.7 to 11.8‰), which we interpret is a result of heavy‑boron enrichment from external fluids. Our data show that hambergite tracks isotope variations of its geochemical setting and could therefore be used as a proxy mineral in place of tourmaline when geochemical stability favours hambergite. The results suggest a slight but consistent partitioning of B-isotopes between tourmaline and hambergite, with Δ11B = δ11Btourmaline−δ11Bhambergite in the range of approximately −3‰ to −5‰. Boron is in trigonal coordination with oxygen in both of these mineral phases as verified by NMR. Single crystal XRD analyses of tourmaline and hambergite reveal consistent longer distances of tourmaline relative to hambergite. We attribute the boron isotopic fractionation to the longer bond-lengths in tourmaline compared with hambergite.