The width of the depletion layer in a p-n junction diode increases in reverse bias as charge carriers are swept into battery terminals, holes from the p-type into the negative terminal, and electrons from the n-type into the positive terminal.