The spin state of molecular qubits can be made more stable by changing the chemical environment in which the qubits sit.