A bowed rotor prevention system for a gas turbine engine is provided. The bowed rotor prevention system includes a thermoelectric generator system operable to produce electricity from waste heat of the gas turbine engine. The bowed rotor prevention system also includes a bowed rotor prevention motor operable to drive rotation of turbomachinery of the gas turbine engine using the electricity produced by the thermoelectric generator system.