We consider Joule heat release in a quantum wire joining two classical reservoirs under the action of a nonstationary periodic electric field. The rate of heat generation and its spatial distribution is discussed. The heat is spread over the lengths of electron mean free paths in the reservoirs. We find that the total rates of heat generation in both reservoirs that are joined by the nanostructure are the same.