Basis Light-front Quantization has been proposed as a nonperturbative framework for solving quantum field theory. We apply this approach to Quantum Electrodynamics and explicitly solve for the light-front wave function of a physical electron. Based on the resulting light-front wave function, we evaluate the electron anomalous magnetic moment. Nonperturbative mass renormalization is performed. Upon extrapolation to the infinite basis limit our numerical results agree with the Schwinger result obtained in perturbation theory to an accuracy of 0.06%