We compute perturbative QCD corrections to the lifetime splitting between the charged and neutral B meson in the framework of the heavy quark expansion. These next-to-leading logarithmic corrections are necessary for a meaningful use of hadronic matrix elements of local operators from lattice gauge theory. We find the uncertainties associated with the choices of renormalization scale and scheme significantly reduced compared to the leading-order result. We include the full dependence on the charm-quark mass mc without any approximations. Using hadronic matrix elements estimated in the literature with lattice QCD we obtain τ(B+)/τ(B0d)=1.053±0.016±0.017, where the effects of unquenching and 1/mb corrections are not yet included. The lifetime...