Encapsulation of hygroscopic, toxic, flammable chemicals in 3D-printed capsules accelerated reaction optimization by a factor of 60 while improving the operator safety. The capsules were compatible with organic transformations and provided good yields.