Most machine-learning force fields dismiss long-range interactions. Here the authors demonstrate the BIGDML approach for building materials’ potential energy surfaces that enables a broad range of materials simulations within accuracies better than 1 meV/atom using just 10–200 structures for training.