Optoelectronic control of solid-state nanopores and applications thereof. Nanopores are extremely sensitive single-molecule sensors. Electron beams have been used to fabricate synthetic nanopores in thin solid-state membranes with sub-nanometer resolution. Methods for controlling the translocation speed of biopolymers through solid-state nanopores and methods for unblocking clogged pores by illuminating nanopores are described.