We review the nuclear physics input necessary for the study of the collapse of massive stars as precursor to supernova explosions. Recent theoretical advances for the calculation of the relevant weak-interaction processes and their influence in the collapse and postbounce dynamics are discussed. Future improvements are expected to come with the advent of radioactive ion-beam facilities.