We show that weakly bound He-containing van der Waals molecules can be produced and magnetically trapped in buffer-gas cooling experiments, and provide a general model for the formation and dynamics of these molecules. Our analysis shows that, at typical experimental parameters, thermodynamics favors the formation of van der Waals complexes composed of a helium atom bound to most open-shell atoms and molecules, and that complex formation occurs quickly enough to ensure chemical equilibrium. For molecular pairs composed of a He atom and an S-state atom, the molecular spin is stable during formation, dissociation, and collisions, and thus these molecules can be magnetically trapped. Collisional spin relaxations are too slow to affect trap lifetimes. However, 3 He-containing complexes can change spin due to adiabatic crossings between trapped and untrapped Zeeman states, mediated by the anisotropic hyperfine interaction, causing trap loss. We provide a detailed model for Ag 3 He molecules, using ab initio calculation of Ag-He interaction potentials and spin interactions, quantum scattering theory, and direct Monte Carlo simulations to describe formation and spin relaxation in this system. The calculated rate of spin-change agrees quantitatively with experimental observations, providing indirect evidence for molecular formation in buffer-gas-cooled magnetic traps.The ability to cool and trap molecules holds great promise for new discoveries in chemistry and physics [1][2][3][4] . Cooled and trapped molecules yield long interaction times, allowing for precision measurements of molecular structure and interactions, tests of fundamental physics 5,6 , and applications in quantum information science 7 . Chemistry shows fundamentally different behavior for cold molecules 8 , and can be highly controlled based on the kinetic energy, external fields 9 , and quantum states 10 of the reactants.Experiments with cold molecules have thus far involved two classes of molecules: Feshbach molecules and deeply bound ground-state molecules. Feshbach molecules are highly vibrationally excited molecules, bound near dissociation, which interact only weakly at long range, due to small dipole moments. They are created by binding pairs of ultracold atoms using laser light (photoassociation), ac magnetic fields (rf as- . By contrast, ground-state heteronuclear molecules often have substantial dipole moments and are immune to spontaneous decay and vibrational relaxation, making these molecules more promising for applications in quantum information processing 7 and quantum simulation 11 . These molecules are either cooled from high temperatures using techniques such as buffer-gas cooling or Stark deceleration, or are created via coherent deexcitation of Feshbach molecules.This article introduces a third family to the hierarchy of trappable molecules -van der Waals (vdW) complexes. VdW molecules are bound solely by long-range dispersion interactions, leading to the weakest binding energies of any groundstate molecules, on the order of a wavenum...