Nanomaterial-based generators are a highly promising power supply for micro/nanoscale devices, capable of directly harvesting energy from ambient sources without the need for batteries. These generators have been designed within four main types: piezoelectric, triboelectric, thermoelectric, and electret effects, and consist of ZnO-based, silicon-based, ferroelectric-material-based, polymer-based, and graphene-based examples. The representative achievements, current challenges, and future prospects of these nanogenerators are discussed.