Automatic differentiation in TensorFlow allows for the calculation of gradients automatically without manual computation of derivatives. This is achieved using gradient tape to monitor variables and execute backpropagation efficiently.